#05142C

Closest named color: Rich Black (#0D1B2A). oklch(19.4% 0.053 258.5), rgb(5, 20, 44).

Aa

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

About this color

#05142C is a very dark, muted blue. In OKLCH its lightness is 19%, its chroma 0.053 and its hue 258°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.030 away. White text reads best on it, at 18.37:1.

Hue familyBlues
Lightnessvery dark (19%)
Chromamuted (0.053)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.14:1
White text18.37:1

Values

HEX#05142C
RGBrgb(5, 20, 44)
HSLhsl(217, 80%, 10%)
OKLCHoklch(19.4% 0.053 258.5)

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 #05142C 18.37:1 AAA Lc -107.0 Preferred for body text
Black text on #05142C 1.14:1 Fails Lc 0.0 Not readable
#05142C text on white 18.37:1 AAA Lc 104.9 Preferred for body text
#05142C text on black 1.14: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

    #F2F6FB

    oklch(97.2% 0.008 253.9)

  2. Step 100

    100

    #E3EAF6

    oklch(93.5% 0.018 261.3)

  3. Step 200

    200

    #CBDAF1

    oklch(88.4% 0.036 258.9)

  4. Step 300

    300

    #A8C2EA

    oklch(80.8% 0.064 258.9)

  5. Step 400

    400

    #7AA2DF

    oklch(70.7% 0.1 258.6)

  6. Step 500

    500

    #578AD6

    oklch(63.2% 0.128 258.2)

  7. Step 600

    600

    #3C72C4

    oklch(55.6% 0.14 258.6)

  8. Step 700

    700

    #2E5FA9

    oklch(49.1% 0.13 258.6)

  9. Step 800

    800

    #274E89

    oklch(42.7% 0.108 258.5)

  10. Step 900

    900

    #24416D

    oklch(37.6% 0.084 258.5)

  11. Step 950

    950 (this color)

    #05142C

    oklch(19.4% 0.053 258.5)

Export this scale for Tailwind in the Tailwind colors tool

#05142C 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)#08162D0.009
Deuteranopia (no green cones)#03132C0.005
Tritanopia (no blue cones)#001A1D0.043
Achromatopsia (no color)#1414140.053

Harmonies

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

Complementary

The opposite hue (180°).

  • #05142C

    #05142C

    oklch(19.4% 0.053 258.5)

  • #1E1200

    #1E1200

    oklch(19.3% 0.04 79.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #05142C

    #05142C

    oklch(19.4% 0.053 258.5)

  • #001822

    #001822

    oklch(19.5% 0.038 227.2)

  • #140F2B

    #140F2B

    oklch(19.3% 0.055 288.4)

Open the analogous palette in the generator

Split complementary

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

  • #05142C

    #05142C

    oklch(19.4% 0.053 258.5)

  • #270C00

    #270C00

    oklch(19.6% 0.052 49)

  • #161600

    #161600

    oklch(19.4% 0.042 109.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #05142C

    #05142C

    oklch(19.4% 0.053 258.5)

  • #28080B

    #28080B

    oklch(19.3% 0.054 18)

  • #071A02

    #071A02

    oklch(19.4% 0.054 138.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #05142C

    #05142C

    oklch(19.4% 0.053 258.5)

  • #250919

    #250919

    oklch(19.4% 0.053 347.7)

  • #1E1200

    #1E1200

    oklch(19.3% 0.04 79.3)

  • #001A11

    #001A11

    oklch(19.3% 0.039 167.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #05142C 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.