#052240

Closest named color: Oxford Blue (#1B263B). oklch(25% 0.066 252.4), rgb(5, 34, 64).

Aa

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

About this color

#052240 is a very dark, muted blue. In OKLCH its lightness is 25%, its chroma 0.066 and its hue 252°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.032 away. White text reads best on it, at 16.03:1.

Hue familyBlues
Lightnessvery dark (25%)
Chromamuted (0.066)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.30:1
White text16.03:1

Values

HEX#052240
RGBrgb(5, 34, 64)
HSLhsl(211, 86%, 14%)
OKLCHoklch(25% 0.066 252.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 #052240 16.03:1 AAA Lc -105.4 Preferred for body text
Black text on #052240 1.30:1 Fails Lc 0.0 Not readable
#052240 text on white 16.03:1 AAA Lc 102.7 Preferred for body text
#052240 text on black 1.30: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

    #F1F6FD

    oklch(97.1% 0.011 256.7)

  2. Step 100

    100

    #DFEBF9

    oklch(93.5% 0.023 252.2)

  3. Step 200

    200

    #C5DCF6

    oklch(88.6% 0.044 251.5)

  4. Step 300

    300

    #9CC4F3

    oklch(80.8% 0.079 252.8)

  5. Step 400

    400

    #64A4ED

    oklch(70.7% 0.126 252.8)

  6. Step 500

    500

    #328BE7

    oklch(63% 0.162 252.6)

  7. Step 600

    600

    #0074D2

    oklch(55.7% 0.168 252.4)

  8. Step 700

    700

    #0061B1

    oklch(49.1% 0.148 252.3)

  9. Step 800

    800

    #004F93

    oklch(42.7% 0.13 252.6)

  10. Step 900

    900

    #0B4277

    oklch(37.6% 0.105 252.5)

  11. Step 950

    950 (this color)

    #052240

    oklch(25% 0.066 252.4)

Export this scale for Tailwind in the Tailwind colors tool

#052240 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)#1324410.017
Deuteranopia (no green cones)#091F3F0.010
Tritanopia (no blue cones)#00292D0.050
Achromatopsia (no color)#2121210.066

Harmonies

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

Complementary

The opposite hue (180°).

  • #052240

    #052240

    oklch(25% 0.066 252.4)

  • #311D00

    #311D00

    oklch(25.1% 0.053 73.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #052240

    #052240

    oklch(25% 0.066 252.4)

  • #002631

    #002631

    oklch(24.9% 0.046 221.9)

  • #1D1C40

    #1D1C40

    oklch(24.9% 0.066 281.7)

Open the analogous palette in the generator

Split complementary

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

  • #052240

    #052240

    oklch(25% 0.066 252.4)

  • #3B1404

    #3B1404

    oklch(25% 0.067 42)

  • #262200

    #262200

    oklch(24.9% 0.052 103)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #052240

    #052240

    oklch(25% 0.066 252.4)

  • #3B1119

    #3B1119

    oklch(24.9% 0.067 11.8)

  • #142802

    #142802

    oklch(25% 0.067 133)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #052240

    #052240

    oklch(25% 0.066 252.4)

  • #36122A

    #36122A

    oklch(24.9% 0.067 342.4)

  • #311D00

    #311D00

    oklch(25.1% 0.053 73.1)

  • #002919

    #002919

    oklch(24.8% 0.054 162)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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