#050C31

Closest named color: Dark Navy (#000435). oklch(17.8% 0.074 268.2), rgb(5, 12, 49).

Aa

White text reads best on this color (19.03:1).

About this color

#050C31 is a very dark, moderately saturated blue. In OKLCH its lightness is 18%, its chroma 0.074 and its hue 268°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Navy (#000435), ΔE 0.029 away. White text reads best on it, at 19.03:1.

Hue familyBlues
Lightnessvery dark (18%)
Chromamoderately saturated (0.074)
Temperaturecool
Nearest nameDark Navy (#000435)
Black text1.10:1
White text19.03:1

Values

HEX#050C31
RGBrgb(5, 12, 49)
HSLhsl(230, 81%, 11%)
OKLCHoklch(17.8% 0.074 268.2)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #050C31 19.03:1 AAA Lc -107.3 Preferred for body text
Black text on #050C31 1.10:1 Fails Lc 0.0 Not readable
#050C31 text on white 19.03:1 AAA Lc 105.2 Preferred for body text
#050C31 text on black 1.10:1 Fails Lc 0.0 Not readable

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 950.

  1. Step 50

    50

    #F2F5FE

    oklch(97% 0.012 271.3)

  2. Step 100

    100

    #E2EAFC

    oklch(93.6% 0.026 266.6)

  3. Step 200

    200

    #CBD9FA

    oklch(88.5% 0.048 267.2)

  4. Step 300

    300

    #A8BFFA

    oklch(80.9% 0.088 267.9)

  5. Step 400

    400

    #7B9CF8

    oklch(70.8% 0.14 267.8)

  6. Step 500

    500

    #5C7FF5

    oklch(63% 0.18 268.4)

  7. Step 600

    600

    #4465E3

    oklch(55.5% 0.195 268.2)

  8. Step 700

    700

    #3653C6

    oklch(49.1% 0.182 268.1)

  9. Step 800

    800

    #2D45A0

    oklch(42.8% 0.15 268.2)

  10. Step 900

    900

    #273B7F

    oklch(37.7% 0.118 268)

  11. Step 950

    950 (this color)

    #050C31

    oklch(17.8% 0.074 268.2)

Export this scale for Tailwind in the Tailwind colors tool

#050C31 with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#0012320.018
Deuteranopia (no green cones)#000E300.011
Tritanopia (no blue cones)#00161C0.060
Achromatopsia (no color)#1010100.074

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #050C31

    #050C31

    oklch(17.8% 0.074 268.2)

  • #181000

    #181000

    oklch(17.9% 0.037 87.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #050C31

    #050C31

    oklch(17.8% 0.074 268.2)

  • #001320

    #001320

    oklch(17.7% 0.039 237.8)

  • #16062C

    #16062C

    oklch(17.8% 0.073 298.2)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #050C31

    #050C31

    oklch(17.8% 0.074 268.2)

  • #1F0B00

    #1F0B00

    oklch(17.8% 0.043 56.2)

  • #101300

    #101300

    oklch(17.7% 0.041 116.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #050C31

    #050C31

    oklch(17.8% 0.074 268.2)

  • #2A0000

    #2A0000

    oklch(17.9% 0.073 29.2)

  • #001704

    #001704

    oklch(17.8% 0.052 148)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #050C31

    #050C31

    oklch(17.8% 0.074 268.2)

  • #270011

    #270011

    oklch(17.7% 0.072 357.7)

  • #181000

    #181000

    oklch(17.9% 0.037 87.7)

  • #001611

    #001611

    oklch(17.9% 0.033 176.9)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #050C31, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #050C31 in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.