# #2a387c color: Surf the Web

#2a387c is rgb(42, 56, 124) in RGB and oklch(36.951% 0.11624 270.914) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/2a387c

## Formats

| Format | Value |
| --- | --- |
| HEX | #2a387c |
| RGB | rgb(42, 56, 124) |
| HSL | hsl(229.76, 49.4%, 32.55%) |
| HSB / HSV | hsv(229.76 66.13% 48.63%) |
| HWB | hwb(229.76 16.47% 51.37%) |
| CMYK | cmyk(66% 55% 0% 51%) |
| Lab | lab(25.48 12.7 -41.3) |
| LCH | lch(25.48 43.21 287.09) |
| OKLab | oklab(36.951% 0.00185 -0.11622) |
| OKLCH | oklch(36.951% 0.11624 270.914) |
| Display P3 | color(display-p3 0.17582 0.21803 0.46937) |
| Rec. 2020 | color(rec2020 0.14785 0.15969 0.41437) |
| Adobe RGB | color(a98-rgb 0.19618 0.23019 0.4754) |
| ProPhoto RGB | color(prophoto-rgb 0.19687 0.17297 0.3851) |
| Linear sRGB | color(srgb-linear 0.02315 0.03955 0.20156) |
| XYZ D65 | color(xyz-d65 0.06007 0.04776 0.19675) |
| XYZ D50 | color(xyz-d50 0.05417 0.04572 0.14809) |
| SwiftUI | Color(red: 0.165, green: 0.22, blue: 0.486) |
| UIKit | UIColor(red: 0.165, green: 0.22, blue: 0.486, alpha: 1) |
| Flutter / Compose | Color(0xFF2A387C) |
| Android XML | #2A387C |

## Facts

- Closest name: Surf the Web
- Hue family: Indigo, soft dark indigo
- Closest Tailwind class: blue-900
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 10.74:1
- Contrast with black: 1.96:1

## Tints

#2a387c, #3c4b8a, #4e5e97, #6271a4, #7785b1, #8c98bf, #a2accc, #b9c1d8, #d0d5e5, #e7eaf2

## Shades

#2a387c, #232f6b, #1c275a, #161f4a, #10173b, #0a0f2c, #05081e, #020411, #010105, #000001

## Tones

#2a387c, #2c3a76, #2e3b70, #303c6a, #323d64, #343e5f, #363e59, #393f52, #3b3f4c, #3d3f46

## Harmonies

- Complementary: #2a387c, #523c00
- Split: #2a387c, #662e00, #384700
- Analogous: #2a387c, #004475, #4b2d72
- Triadic: #2a387c, #701f14, #004f1b
- Tetradic: #2a387c, #60235b, #523c00, #004f1b
- Square: #2a387c, #6d1d3c, #523c00, #004e42
- Monochromatic: #2a387c, #030031, #101658, #485aa2, #697ec9

## Questions about #2a387c

### What color is #2a387c?

#2a387c is soft dark indigo. The closest named color is Surf the Web. In RGB it is rgb(42, 56, 124), in HSL hsl(229.76, 49.4%, 32.55%) and in OKLCH oklch(36.951% 0.11624 270.914).

### What colors go well with #2a387c?

The complementary color of #2a387c is #523c00. For a calmer combination use the analogous colors #004475 and #4b2d72. The triadic partners are #701f14 and #004f1b.

### Is white or black text more readable on #2a387c?

White text reads better on #2a387c: white gives a contrast ratio of 10.74:1 and black gives 1.96:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #2a387c a warm or cool color?

#2a387c is a cool color. In OKLCH its hue is 271 degrees, its lightness 37% and its chroma 0.116.
