#052A42

Closest named color: Oxford Blue (#1B263B). oklch(27.4% 0.06 242.5), rgb(5, 42, 66).

Aa

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

About this color

#052A42 is a dark, muted blue. In OKLCH its lightness is 27%, its chroma 0.060 and its hue 243°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.025 away. White text reads best on it, at 14.82:1.

Hue familyBlues
Lightnessdark (27%)
Chromamuted (0.060)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.41:1
White text14.82:1

Values

HEX#052A42
RGBrgb(5, 42, 66)
HSLhsl(204, 86%, 14%)
OKLCHoklch(27.4% 0.06 242.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 #052A42 14.82:1 AAA Lc -104.3 Preferred for body text
Black text on #052A42 1.41:1 Fails Lc 0.0 Not readable
#052A42 text on white 14.82:1 AAA Lc 101.4 Preferred for body text
#052A42 text on black 1.41: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

    #F0F6FB

    oklch(97% 0.009 242.8)

  2. Step 100

    100

    #DFECF7

    oklch(93.7% 0.02 243.4)

  3. Step 200

    200

    #C3DDF2

    oklch(88.5% 0.04 242.4)

  4. Step 300

    300

    #99C7EB

    oklch(81% 0.07 242.3)

  5. Step 400

    400

    #5BA8E1

    oklch(70.6% 0.113 242.7)

  6. Step 500

    500

    #1791D9

    oklch(63% 0.145 242.6)

  7. Step 600

    600

    #007ABA

    oklch(55.6% 0.133 242.5)

  8. Step 700

    700

    #00669D

    oklch(49% 0.118 242.7)

  9. Step 800

    800

    #005482

    oklch(42.8% 0.102 242.4)

  10. Step 900

    900

    #00466D

    oklch(37.8% 0.09 242.2)

  11. Step 950

    950 (this color)

    #052A42

    oklch(27.4% 0.06 242.5)

Export this scale for Tailwind in the Tailwind colors tool

#052A42 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)#1F2B430.029
Deuteranopia (no green cones)#1625420.021
Tritanopia (no blue cones)#0030330.040
Achromatopsia (no color)#2828280.060

Harmonies

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

Complementary

The opposite hue (180°).

  • #052A42

    #052A42

    oklch(27.4% 0.06 242.5)

  • #3C2002

    #3C2002

    oklch(27.5% 0.06 63)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #052A42

    #052A42

    oklch(27.4% 0.06 242.5)

  • #002D35

    #002D35

    oklch(27.3% 0.048 212.9)

  • #1E2544

    #1E2544

    oklch(27.5% 0.058 272.4)

Open the analogous palette in the generator

Split complementary

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

  • #052A42

    #052A42

    oklch(27.4% 0.06 242.5)

  • #401B13

    #401B13

    oklch(27.4% 0.06 33.5)

  • #312600

    #312600

    oklch(27.3% 0.056 92.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #052A42

    #052A42

    oklch(27.4% 0.06 242.5)

  • #3F1925

    #3F1925

    oklch(27.4% 0.061 2)

  • #222C05

    #222C05

    oklch(27.4% 0.061 122.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #052A42

    #052A42

    oklch(27.4% 0.06 242.5)

  • #381B34

    #381B34

    oklch(27.3% 0.06 332.4)

  • #3C2002

    #3C2002

    oklch(27.5% 0.06 63)

  • #0A2F18

    #0A2F18

    oklch(27.2% 0.06 152.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #052A42 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.