#045882

Closest named color: Deep Sea Blue (#015482). oklch(43.9% 0.098 239.5), rgb(4, 88, 130).

Aa

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

About this color

#045882 is a dark, moderately saturated blue. In OKLCH its lightness is 44%, its chroma 0.098 and its hue 239°. Its hue sits on the cool side of the wheel. The nearest named color is Deep Sea Blue (#015482), ΔE 0.013 away. White text reads best on it, at 7.71:1.

Hue familyBlues
Lightnessdark (44%)
Chromamoderately saturated (0.098)
Temperaturecool
Nearest nameDeep Sea Blue (#015482)
Black text2.72:1
White text7.71:1

Values

HEX#045882
RGBrgb(4, 88, 130)
HSLhsl(200, 94%, 26%)
OKLCHoklch(43.9% 0.098 239.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 #045882 7.71:1 AAA Lc -91.1 Preferred for body text
Black text on #045882 2.72:1 Fails Lc 17.8 Dividers and decoration only
#045882 text on white 7.71:1 AAA Lc 86.3 Fine for body text
#045882 text on black 2.72:1 Fails Lc -15.8 Dividers and decoration only

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

    #E0ECF4

    oklch(93.6% 0.017 236.7)

  3. Step 200

    200

    #C7DDEC

    oklch(88.6% 0.031 237.6)

  4. Step 300

    300

    #9FC6E2

    oklch(80.8% 0.057 239.6)

  5. Step 400

    400

    #68A8D4

    oklch(70.6% 0.092 239.9)

  6. Step 500

    500

    #3992C8

    oklch(63.1% 0.117 239.3)

  7. Step 600

    600

    #007BB5

    oklch(55.6% 0.127 239.8)

  8. Step 700

    700

    #006799

    oklch(49% 0.112 240)

  9. Step 800

    800 (this color)

    #045882

    oklch(43.9% 0.098 239.5)

  10. Step 900

    900

    #104666

    oklch(37.7% 0.077 240.2)

  11. Step 950

    950

    #0C293B

    oklch(26.9% 0.048 239.4)

Export this scale for Tailwind in the Tailwind colors tool

#045882 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)#4459840.051
Deuteranopia (no green cones)#334E810.039
Tritanopia (no blue cones)#0063670.065
Achromatopsia (no color)#5353530.098

Harmonies

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

Complementary

The opposite hue (180°).

  • #045882

    #045882

    oklch(43.9% 0.098 239.5)

  • #79430A

    #79430A

    oklch(44% 0.098 59.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #045882

    #045882

    oklch(43.9% 0.098 239.5)

  • #005D69

    #005D69

    oklch(43.8% 0.076 210)

  • #3D4E88

    #3D4E88

    oklch(43.9% 0.098 269.7)

Open the analogous palette in the generator

Split complementary

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

  • #045882

    #045882

    oklch(43.9% 0.098 239.5)

  • #7F3A31

    #7F3A31

    oklch(43.8% 0.098 29.2)

  • #664F00

    #664F00

    oklch(43.9% 0.09 89.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #045882

    #045882

    oklch(43.9% 0.098 239.5)

  • #7C3850

    #7C3850

    oklch(43.8% 0.098 359.7)

  • #4C590B

    #4C590B

    oklch(43.8% 0.098 119.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #045882

    #045882

    oklch(43.9% 0.098 239.5)

  • #6F3C6C

    #6F3C6C

    oklch(43.8% 0.098 329.3)

  • #79430A

    #79430A

    oklch(44% 0.098 59.7)

  • #226133

    #226133

    oklch(44% 0.098 149.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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