#04527E

Closest named color: Deep Sea Blue (#015482). oklch(42.1% 0.099 242.4), rgb(4, 82, 126).

Aa

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

About this color

#04527E is a dark, moderately saturated blue. In OKLCH its lightness is 42%, its chroma 0.099 and its hue 242°. Its hue sits on the cool side of the wheel. The nearest named color is Deep Sea Blue (#015482), ΔE 0.008 away. White text reads best on it, at 8.35:1.

Hue familyBlues
Lightnessdark (42%)
Chromamoderately saturated (0.099)
Temperaturecool
Nearest nameDeep Sea Blue (#015482)
Black text2.51:1
White text8.35:1

Values

HEX#04527E
RGBrgb(4, 82, 126)
HSLhsl(202, 94%, 25%)
OKLCHoklch(42.1% 0.099 242.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 #04527E 8.35:1 AAA Lc -92.9 Preferred for body text
Black text on #04527E 2.51:1 Fails Lc 15.7 Dividers and decoration only
#04527E text on white 8.35:1 AAA Lc 88.3 Fine for body text
#04527E text on black 2.51:1 Fails Lc -13.9 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 800.

  1. Step 50

    50

    #F1F6FA

    oklch(97.1% 0.008 241.7)

  2. Step 100

    100

    #E1EBF4

    oklch(93.5% 0.016 245.1)

  3. Step 200

    200

    #C8DCED

    oklch(88.5% 0.032 243.7)

  4. Step 300

    300

    #A1C6E3

    oklch(80.9% 0.057 242)

  5. Step 400

    400

    #6BA8D5

    oklch(70.8% 0.092 241.7)

  6. Step 500

    500

    #3E91CA

    oklch(63.1% 0.117 242)

  7. Step 600

    600

    #107AB7

    oklch(55.6% 0.128 242.3)

  8. Step 700

    700

    #00669D

    oklch(49% 0.118 242.7)

  9. Step 800

    800 (this color)

    #04527E

    oklch(42.1% 0.099 242.4)

  10. Step 900

    900

    #144667

    oklch(37.8% 0.077 242.2)

  11. Step 950

    950

    #0E293C

    oklch(27% 0.048 242.2)

Export this scale for Tailwind in the Tailwind colors tool

#04527E 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)#3D53800.045
Deuteranopia (no green cones)#2C497D0.034
Tritanopia (no blue cones)#005D620.066
Achromatopsia (no color)#4E4E4E0.099

Harmonies

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

Complementary

The opposite hue (180°).

  • #04527E

    #04527E

    oklch(42.1% 0.099 242.4)

  • #713F00

    #713F00

    oklch(42% 0.096 62.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #04527E

    #04527E

    oklch(42.1% 0.099 242.4)

  • #005765

    #005765

    oklch(42% 0.074 213.3)

  • #3B4883

    #3B4883

    oklch(42.1% 0.099 272.2)

Open the analogous palette in the generator

Split complementary

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

  • #04527E

    #04527E

    oklch(42.1% 0.099 242.4)

  • #7A3629

    #7A3629

    oklch(42.2% 0.098 32.4)

  • #5E4B00

    #5E4B00

    oklch(42% 0.086 92.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #04527E

    #04527E

    oklch(42.1% 0.099 242.4)

  • #773349

    #773349

    oklch(42% 0.098 1.9)

  • #445507

    #445507

    oklch(42% 0.098 122.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #04527E

    #04527E

    oklch(42.1% 0.099 242.4)

  • #6C3765

    #6C3765

    oklch(42.2% 0.098 332.3)

  • #713F00

    #713F00

    oklch(42% 0.096 62.6)

  • #145C31

    #145C31

    oklch(42% 0.099 152.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #04527E 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.