#051027

Closest named color: Rich Navy (#001219). oklch(17.8% 0.05 261.9), rgb(5, 16, 39).

Aa

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

About this color

#051027 is a very dark, muted blue. In OKLCH its lightness is 18%, its chroma 0.050 and its hue 262°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Navy (#001219), ΔE 0.034 away. White text reads best on it, at 18.92:1.

Hue familyBlues
Lightnessvery dark (18%)
Chromamuted (0.050)
Temperaturecool
Nearest nameRich Navy (#001219)
Black text1.10:1
White text18.92:1

Values

HEX#051027
RGBrgb(5, 16, 39)
HSLhsl(221, 77%, 9%)
OKLCHoklch(17.8% 0.05 261.9)

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 #051027 18.92:1 AAA Lc -107.3 Preferred for body text
Black text on #051027 1.10:1 Fails Lc 0.0 Not readable
#051027 text on white 18.92:1 AAA Lc 105.3 Preferred for body text
#051027 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

    #F2F6FB

    oklch(97.2% 0.008 253.9)

  2. Step 100

    100

    #E4EAF6

    oklch(93.6% 0.017 264.5)

  3. Step 200

    200

    #CDDAF0

    oklch(88.5% 0.033 261)

  4. Step 300

    300

    #ACC1E8

    oklch(80.8% 0.06 262.8)

  5. Step 400

    400

    #80A1DD

    oklch(70.8% 0.096 262)

  6. Step 500

    500

    #6088D3

    oklch(63.1% 0.122 262.1)

  7. Step 600

    600

    #4671C0

    oklch(55.6% 0.132 261.5)

  8. Step 700

    700

    #385EA6

    oklch(49.1% 0.123 261.9)

  9. Step 800

    800

    #2F4D86

    oklch(42.7% 0.101 262)

  10. Step 900

    900

    #29416C

    oklch(37.8% 0.08 261.3)

  11. Step 950

    950 (this color)

    #051027

    oklch(17.8% 0.05 261.9)

Export this scale for Tailwind in the Tailwind colors tool

#051027 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)#0512280.007
Deuteranopia (no green cones)#010F270.009
Tritanopia (no blue cones)#0015190.040
Achromatopsia (no color)#1111110.050

Harmonies

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

Complementary

The opposite hue (180°).

  • #051027

    #051027

    oklch(17.8% 0.05 261.9)

  • #190F00

    #190F00

    oklch(17.7% 0.037 81.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #051027

    #051027

    oklch(17.8% 0.05 261.9)

  • #00141E

    #00141E

    oklch(17.9% 0.036 230)

  • #120C25

    #120C25

    oklch(17.8% 0.05 291.6)

Open the analogous palette in the generator

Split complementary

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

  • #051027

    #051027

    oklch(17.8% 0.05 261.9)

  • #200A00

    #200A00

    oklch(17.8% 0.045 52.3)

  • #121300

    #121300

    oklch(18% 0.04 112.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #051027

    #051027

    oklch(17.8% 0.05 261.9)

  • #230607

    #230607

    oklch(17.7% 0.051 21.4)

  • #031602

    #031602

    oklch(17.7% 0.051 141.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #051027

    #051027

    oklch(17.8% 0.05 261.9)

  • #210613

    #210613

    oklch(17.8% 0.051 353)

  • #190F00

    #190F00

    oklch(17.7% 0.037 81.6)

  • #00160F

    #00160F

    oklch(17.8% 0.035 170.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #051027 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.