#051028

Closest named color: Rich Navy (#001219). oklch(17.9% 0.052 262.4), rgb(5, 16, 40).

Aa

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

About this color

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

Hue familyBlues
Lightnessvery dark (18%)
Chromamuted (0.052)
Temperaturecool
Nearest nameRich Navy (#001219)
Black text1.11:1
White text18.89:1

Values

HEX#051028
RGBrgb(5, 16, 40)
HSLhsl(221, 78%, 9%)
OKLCHoklch(17.9% 0.052 262.4)

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 #051028 18.89:1 AAA Lc -107.3 Preferred for body text
Black text on #051028 1.11:1 Fails Lc 0.0 Not readable
#051028 text on white 18.89:1 AAA Lc 105.2 Preferred for body text
#051028 text on black 1.11: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

    #CDDAF1

    oklch(88.6% 0.035 262)

  4. Step 300

    300

    #ABC1E9

    oklch(80.8% 0.062 262.3)

  5. Step 400

    400

    #7FA0DF

    oklch(70.6% 0.1 262.8)

  6. Step 500

    500

    #5F88D6

    oklch(63.2% 0.127 262.3)

  7. Step 600

    600

    #4670C3

    oklch(55.6% 0.137 262.6)

  8. Step 700

    700

    #375DA8

    oklch(49% 0.128 262.4)

  9. Step 800

    800

    #2E4D88

    oklch(42.8% 0.105 262)

  10. Step 900

    900

    #29406D

    oklch(37.6% 0.083 262.6)

  11. Step 950

    950 (this color)

    #051028

    oklch(17.9% 0.052 262.4)

Export this scale for Tailwind in the Tailwind colors tool

#051028 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)#0413290.010
Deuteranopia (no green cones)#010F280.009
Tritanopia (no blue cones)#00161A0.042
Achromatopsia (no color)#1111110.052

Harmonies

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

Complementary

The opposite hue (180°).

  • #051028

    #051028

    oklch(17.9% 0.052 262.4)

  • #190F00

    #190F00

    oklch(17.7% 0.037 81.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #051028

    #051028

    oklch(17.9% 0.052 262.4)

  • #00141F

    #00141F

    oklch(18% 0.037 232.6)

  • #130C26

    #130C26

    oklch(18% 0.052 292.9)

Open the analogous palette in the generator

Split complementary

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

  • #051028

    #051028

    oklch(17.9% 0.052 262.4)

  • #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.

  • #051028

    #051028

    oklch(17.9% 0.052 262.4)

  • #240607

    #240607

    oklch(18% 0.052 21.7)

  • #031702

    #031702

    oklch(18% 0.052 141.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #051028

    #051028

    oklch(17.9% 0.052 262.4)

  • #220614

    #220614

    oklch(18% 0.053 352.1)

  • #190F00

    #190F00

    oklch(17.7% 0.037 81.6)

  • #001610

    #001610

    oklch(17.9% 0.034 173.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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