#052147

Closest named color: Oxford Blue (#1B263B). oklch(25.3% 0.079 257.2), rgb(5, 33, 71).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (25%)
Chromamoderately saturated (0.079)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.31:1
White text15.96:1

Values

HEX#052147
RGBrgb(5, 33, 71)
HSLhsl(215, 87%, 15%)
OKLCHoklch(25.3% 0.079 257.2)

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 #052147 15.96:1 AAA Lc -105.3 Preferred for body text
Black text on #052147 1.31:1 Fails Lc 0.0 Not readable
#052147 text on white 15.96:1 AAA Lc 102.6 Preferred for body text
#052147 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

    #F0F6FE

    oklch(97.1% 0.012 255.5)

  2. Step 100

    100

    #DFEBFC

    oklch(93.6% 0.026 257)

  3. Step 200

    200

    #C4DBFC

    oklch(88.5% 0.052 257.4)

  4. Step 300

    300

    #9AC3FD

    oklch(80.9% 0.094 257.1)

  5. Step 400

    400

    #61A1FC

    oklch(70.7% 0.149 257.4)

  6. Step 500

    500

    #2F86FA

    oklch(63.1% 0.192 257.3)

  7. Step 600

    600

    #006DE4

    oklch(55.5% 0.199 257.3)

  8. Step 700

    700

    #005CC1

    oklch(49.2% 0.175 257.1)

  9. Step 800

    800

    #004BA0

    oklch(42.8% 0.152 257.1)

  10. Step 900

    900

    #0A3F82

    oklch(37.7% 0.125 257.3)

  11. Step 950

    950 (this color)

    #052147

    oklch(25.3% 0.079 257.2)

Export this scale for Tailwind in the Tailwind colors tool

#052147 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)#0B25480.015
Deuteranopia (no green cones)#001F460.009
Tritanopia (no blue cones)#002A300.060
Achromatopsia (no color)#2222220.079

Harmonies

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

Complementary

The opposite hue (180°).

  • #052147

    #052147

    oklch(25.3% 0.079 257.2)

  • #301E00

    #301E00

    oklch(25.2% 0.053 76.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #052147

    #052147

    oklch(25.3% 0.079 257.2)

  • #002734

    #002734

    oklch(25.4% 0.048 225.4)

  • #211A45

    #211A45

    oklch(25.3% 0.078 286.9)

Open the analogous palette in the generator

Split complementary

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

  • #052147

    #052147

    oklch(25.3% 0.079 257.2)

  • #3C1500

    #3C1500

    oklch(25.3% 0.07 47.3)

  • #252400

    #252400

    oklch(25.3% 0.055 108.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #052147

    #052147

    oklch(25.3% 0.079 257.2)

  • #400D14

    #400D14

    oklch(25.2% 0.078 17.1)

  • #0D2A00

    #0D2A00

    oklch(25.3% 0.077 137.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #052147

    #052147

    oklch(25.3% 0.079 257.2)

  • #3B0E29

    #3B0E29

    oklch(25.2% 0.078 347.2)

  • #301E00

    #301E00

    oklch(25.2% 0.053 76.9)

  • #002A1D

    #002A1D

    oklch(25.3% 0.052 167.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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