#050C2A

Closest named color: Dark Navy (#000435). oklch(17% 0.062 267.8), rgb(5, 12, 42).

Aa

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

About this color

#050C2A is a very dark, muted blue. In OKLCH its lightness is 17%, its chroma 0.062 and its hue 268°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Navy (#000435), ΔE 0.035 away. White text reads best on it, at 19.22:1.

Hue familyBlues
Lightnessvery dark (17%)
Chromamuted (0.062)
Temperaturecool
Nearest nameDark Navy (#000435)
Black text1.09:1
White text19.22:1

Values

HEX#050C2A
RGBrgb(5, 12, 42)
HSLhsl(229, 79%, 9%)
OKLCHoklch(17% 0.062 267.8)

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 #050C2A 19.22:1 AAA Lc -107.4 Preferred for body text
Black text on #050C2A 1.09:1 Fails Lc 0.0 Not readable
#050C2A text on white 19.22:1 AAA Lc 105.4 Preferred for body text
#050C2A text on black 1.09: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

    #F2F5FC

    oklch(97% 0.01 267.4)

  2. Step 100

    100

    #E4EAF9

    oklch(93.7% 0.021 268.4)

  3. Step 200

    200

    #CDD9F5

    oklch(88.5% 0.041 267.1)

  4. Step 300

    300

    #ACC0F1

    oklch(81% 0.073 267.4)

  5. Step 400

    400

    #819DEA

    oklch(70.6% 0.118 268.1)

  6. Step 500

    500

    #6283E4

    oklch(63.1% 0.151 267.8)

  7. Step 600

    600

    #4A6AD2

    oklch(55.5% 0.164 267.9)

  8. Step 700

    700

    #3C58B6

    oklch(49.1% 0.152 267.9)

  9. Step 800

    800

    #314893

    oklch(42.6% 0.126 267.9)

  10. Step 900

    900

    #2B3D75

    oklch(37.6% 0.098 268)

  11. Step 950

    950 (this color)

    #050C2A

    oklch(17% 0.062 267.8)

Export this scale for Tailwind in the Tailwind colors tool

#050C2A 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)#00102B0.015
Deuteranopia (no green cones)#000D290.011
Tritanopia (no blue cones)#0013190.048
Achromatopsia (no color)#0F0F0F0.062

Harmonies

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

Complementary

The opposite hue (180°).

  • #050C2A

    #050C2A

    oklch(17% 0.062 267.8)

  • #160E00

    #160E00

    oklch(17% 0.035 86.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #050C2A

    #050C2A

    oklch(17% 0.062 267.8)

  • #00111E

    #00111E

    oklch(16.9% 0.038 239.5)

  • #130726

    #130726

    oklch(16.9% 0.062 297.5)

Open the analogous palette in the generator

Split complementary

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

  • #050C2A

    #050C2A

    oklch(17% 0.062 267.8)

  • #1C0A00

    #1C0A00

    oklch(17% 0.041 58.2)

  • #0E1200

    #0E1200

    oklch(17.2% 0.04 118.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #050C2A

    #050C2A

    oklch(17% 0.062 267.8)

  • #240202

    #240202

    oklch(16.9% 0.061 26.9)

  • #001503

    #001503

    oklch(17.1% 0.05 147.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #050C2A

    #050C2A

    oklch(17% 0.062 267.8)

  • #23020F

    #23020F

    oklch(17.1% 0.062 359.1)

  • #160E00

    #160E00

    oklch(17% 0.035 86.2)

  • #00140F

    #00140F

    oklch(17.1% 0.032 175.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #050C2A 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.