#052242

Closest named color: Oxford Blue (#1B263B). oklch(25.1% 0.069 253.7), rgb(5, 34, 66).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (25%)
Chromamuted (0.069)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.31:1
White text15.98:1

Values

HEX#052242
RGBrgb(5, 34, 66)
HSLhsl(211, 86%, 14%)
OKLCHoklch(25.1% 0.069 253.7)

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 #052242 15.98:1 AAA Lc -105.3 Preferred for body text
Black text on #052242 1.31:1 Fails Lc 0.0 Not readable
#052242 text on white 15.98:1 AAA Lc 102.7 Preferred for body text
#052242 text on black 1.31: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

    #F0F6FD

    oklch(97.1% 0.011 252.1)

  2. Step 100

    100

    #DFEBFA

    oklch(93.6% 0.024 254)

  3. Step 200

    200

    #C5DBF7

    oklch(88.4% 0.045 254.5)

  4. Step 300

    300

    #9CC4F5

    oklch(80.9% 0.082 253.8)

  5. Step 400

    400

    #63A4F1

    oklch(70.8% 0.132 253.7)

  6. Step 500

    500

    #318AEC

    oklch(63.1% 0.169 253.9)

  7. Step 600

    600

    #0072D6

    oklch(55.6% 0.176 253.8)

  8. Step 700

    700

    #0060B5

    oklch(49.2% 0.155 253.6)

  9. Step 800

    800

    #004E96

    oklch(42.7% 0.135 253.8)

  10. Step 900

    900

    #0A417A

    oklch(37.6% 0.111 254)

  11. Step 950

    950 (this color)

    #052242

    oklch(25.1% 0.069 253.7)

Export this scale for Tailwind in the Tailwind colors tool

#052242 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)#1225430.018
Deuteranopia (no green cones)#061F410.010
Tritanopia (no blue cones)#002A2E0.053
Achromatopsia (no color)#2222220.070

Harmonies

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

Complementary

The opposite hue (180°).

  • #052242

    #052242

    oklch(25.1% 0.069 253.7)

  • #311D00

    #311D00

    oklch(25.1% 0.053 73.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #052242

    #052242

    oklch(25.1% 0.069 253.7)

  • #002632

    #002632

    oklch(25% 0.047 223.9)

  • #1F1C42

    #1F1C42

    oklch(25.3% 0.07 283.8)

Open the analogous palette in the generator

Split complementary

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

  • #052242

    #052242

    oklch(25.1% 0.069 253.7)

  • #3C1402

    #3C1402

    oklch(25.2% 0.069 43.8)

  • #262300

    #262300

    oklch(25.1% 0.053 104.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #052242

    #052242

    oklch(25.1% 0.069 253.7)

  • #3D1018

    #3D1018

    oklch(25.2% 0.071 13.2)

  • #132901

    #132901

    oklch(25.3% 0.07 133.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #052242

    #052242

    oklch(25.1% 0.069 253.7)

  • #38122A

    #38122A

    oklch(25.2% 0.069 344.4)

  • #311D00

    #311D00

    oklch(25.1% 0.053 73.1)

  • #002A1B

    #002A1B

    oklch(25.2% 0.054 163.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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