# #2a387d color: Surf the Web

#2a387d is rgb(42, 56, 125) in RGB and oklch(37.031% 0.11774 270.94) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #2a387d |
| RGB | rgb(42, 56, 125) |
| HSL | hsl(229.88, 49.7%, 32.75%) |
| HSB / HSV | hsv(229.88 66.4% 49.02%) |
| HWB | hwb(229.88 16.47% 50.98%) |
| CMYK | cmyk(66% 55% 0% 51%) |
| Lab | lab(25.54 13.01 -41.82) |
| LCH | lch(25.54 43.8 287.28) |
| OKLab | oklab(37.031% 0.00193 -0.11772) |
| OKLCH | oklch(37.031% 0.11774 270.94) |
| Display P3 | color(display-p3 0.17582 0.21803 0.47311) |
| Rec. 2020 | color(rec2020 0.14832 0.15981 0.4183) |
| Adobe RGB | color(a98-rgb 0.19618 0.23019 0.47913) |
| ProPhoto RGB | color(prophoto-rgb 0.19788 0.1732 0.38872) |
| Linear sRGB | color(srgb-linear 0.02315 0.03955 0.20508) |
| XYZ D65 | color(xyz-d65 0.0607 0.04801 0.2001) |
| XYZ D50 | color(xyz-d50 0.05467 0.04593 0.15061) |
| SwiftUI | Color(red: 0.165, green: 0.22, blue: 0.49) |
| UIKit | UIColor(red: 0.165, green: 0.22, blue: 0.49, alpha: 1) |
| Flutter / Compose | Color(0xFF2A387D) |
| Android XML | #2A387D |

## 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.71:1
- Contrast with black: 1.96:1

## Tints

#2a387d, #3c4b8a, #4e5e98, #6271a5, #7785b2, #8c98bf, #a2accc, #b9c1d9, #d0d5e6, #e7eaf2

## Shades

#2a387d, #232f6c, #1c275b, #161f4b, #10173b, #0a0f2c, #05081e, #020411, #010105, #000001

## Tones

#2a387d, #2c3a77, #2e3b71, #303c6b, #323d65, #343e5f, #363f59, #393f53, #3b3f4d, #3d4046

## Harmonies

- Complementary: #2a387d, #523c00
- Split: #2a387d, #662e00, #384700
- Analogous: #2a387d, #004475, #4b2c73
- Triadic: #2a387d, #711f13, #00501b
- Tetradic: #2a387d, #61235c, #523c00, #00501b
- Square: #2a387d, #6e1c3c, #523c00, #004e42
- Monochromatic: #2a387d, #040031, #101659, #485aa3, #697eca

## Questions about #2a387d

### What color is #2a387d?

#2a387d is soft dark indigo. The closest named color is Surf the Web. In RGB it is rgb(42, 56, 125), in HSL hsl(229.88, 49.7%, 32.75%) and in OKLCH oklch(37.031% 0.11774 270.94).

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

The complementary color of #2a387d is #523c00. For a calmer combination use the analogous colors #004475 and #4b2c73. The triadic partners are #711f13 and #00501b.

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

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

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

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