#052045

Closest named color: Oxford Blue (#1B263B). oklch(24.8% 0.077 257.3), rgb(5, 32, 69).

Aa

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

About this color

#052045 is a very dark, moderately saturated blue. In OKLCH its lightness is 25%, its chroma 0.077 and its hue 257°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.041 away. White text reads best on it, at 16.16:1.

Hue familyBlues
Lightnessvery dark (25%)
Chromamoderately saturated (0.077)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.29:1
White text16.16:1

Values

HEX#052045
RGBrgb(5, 32, 69)
HSLhsl(215, 86%, 15%)
OKLCHoklch(24.8% 0.077 257.3)

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 #052045 16.16:1 AAA Lc -105.4 Preferred for body text
Black text on #052045 1.29:1 Fails Lc 0.0 Not readable
#052045 text on white 16.16:1 AAA Lc 102.8 Preferred for body text
#052045 text on black 1.29: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

    #F0F6FE

    oklch(97.1% 0.012 255.5)

  2. Step 100

    100

    #DFEBFC

    oklch(93.6% 0.026 257)

  3. Step 200

    200

    #C4DBFB

    oklch(88.5% 0.051 256.7)

  4. Step 300

    300

    #9BC3FC

    oklch(80.9% 0.092 257.2)

  5. Step 400

    400

    #63A1FA

    oklch(70.7% 0.146 257.5)

  6. Step 500

    500

    #3387F7

    oklch(63.2% 0.186 257.1)

  7. Step 600

    600

    #006DE4

    oklch(55.5% 0.199 257.3)

  8. Step 700

    700

    #005BC1

    oklch(49% 0.176 257.3)

  9. Step 800

    800

    #004BA0

    oklch(42.8% 0.152 257.1)

  10. Step 900

    900

    #0D3F80

    oklch(37.6% 0.121 257.3)

  11. Step 950

    950 (this color)

    #052045

    oklch(24.8% 0.077 257.3)

Export this scale for Tailwind in the Tailwind colors tool

#052045 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)#0B24460.015
Deuteranopia (no green cones)#001E440.009
Tritanopia (no blue cones)#00292F0.058
Achromatopsia (no color)#2121210.077

Harmonies

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

Complementary

The opposite hue (180°).

  • #052045

    #052045

    oklch(24.8% 0.077 257.3)

  • #2F1D00

    #2F1D00

    oklch(24.8% 0.052 76.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #052045

    #052045

    oklch(24.8% 0.077 257.3)

  • #002533

    #002533

    oklch(24.7% 0.048 228.3)

  • #201943

    #201943

    oklch(24.8% 0.076 287.1)

Open the analogous palette in the generator

Split complementary

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

  • #052045

    #052045

    oklch(24.8% 0.077 257.3)

  • #3A1400

    #3A1400

    oklch(24.8% 0.068 47.2)

  • #242300

    #242300

    oklch(24.9% 0.054 108.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #052045

    #052045

    oklch(24.8% 0.077 257.3)

  • #3E0C13

    #3E0C13

    oklch(24.7% 0.077 17.1)

  • #0C2900

    #0C2900

    oklch(24.9% 0.076 137.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #052045

    #052045

    oklch(24.8% 0.077 257.3)

  • #3A0E28

    #3A0E28

    oklch(24.9% 0.077 347.6)

  • #2F1D00

    #2F1D00

    oklch(24.8% 0.052 76.2)

  • #00291C

    #00291C

    oklch(24.9% 0.051 166.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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