#285172

Closest named color: Deep Sea Blue (#015482). oklch(42.1% 0.072 245), rgb(40, 81, 114).

Aa

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

About this color

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

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

Values

HEX#285172
RGBrgb(40, 81, 114)
HSLhsl(207, 48%, 30%)
OKLCHoklch(42.1% 0.072 245)

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 #285172 8.36:1 AAA Lc -93.3 Preferred for body text
Black text on #285172 2.51:1 Fails Lc 15.3 Dividers and decoration only
#285172 text on white 8.36:1 AAA Lc 88.7 Fine for body text
#285172 text on black 2.51:1 Fails Lc -13.5 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

    #F2F6F9

    oklch(97.1% 0.006 239.8)

  2. Step 100

    100

    #E3EBF2

    oklch(93.6% 0.013 244.3)

  3. Step 200

    200

    #CDDBE8

    oklch(88.5% 0.023 246.1)

  4. Step 300

    300

    #ABC4DB

    oklch(80.9% 0.042 246.1)

  5. Step 400

    400

    #7DA6C8

    oklch(70.8% 0.067 243.9)

  6. Step 500

    500

    #5B8FBA

    oklch(63.1% 0.086 244.7)

  7. Step 600

    600

    #4078A6

    oklch(55.5% 0.093 245.4)

  8. Step 700

    700

    #31658F

    oklch(49.1% 0.088 245.3)

  9. Step 800

    800 (this color)

    #285172

    oklch(42.1% 0.072 245)

  10. Step 900

    900

    #26455D

    oklch(37.8% 0.055 243.4)

  11. Step 950

    950

    #172837

    oklch(26.9% 0.036 246.3)

Export this scale for Tailwind in the Tailwind colors tool

#285172 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)#4352730.033
Deuteranopia (no green cones)#394A710.027
Tritanopia (no blue cones)#00595C0.056
Achromatopsia (no color)#4E4E4E0.072

Harmonies

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

Complementary

The opposite hue (180°).

  • #285172

    #285172

    oklch(42.1% 0.072 245)

  • #68441F

    #68441F

    oklch(42% 0.072 64.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #285172

    #285172

    oklch(42.1% 0.072 245)

  • #075766

    #075766

    oklch(42.1% 0.072 215.1)

  • #424A75

    #424A75

    oklch(42.2% 0.072 274.9)

Open the analogous palette in the generator

Split complementary

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

  • #285172

    #285172

    oklch(42.1% 0.072 245)

  • #6F3E32

    #6F3E32

    oklch(42.1% 0.072 34.7)

  • #5A4D18

    #5A4D18

    oklch(42.2% 0.073 95.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #285172

    #285172

    oklch(42.1% 0.072 245)

  • #6E3C48

    #6E3C48

    oklch(42.2% 0.072 5.2)

  • #445426

    #445426

    oklch(42% 0.072 125.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #285172

    #285172

    oklch(42.1% 0.072 245)

  • #653E5D

    #653E5D

    oklch(42.1% 0.071 334.5)

  • #68441F

    #68441F

    oklch(42% 0.072 64.3)

  • #29593C

    #29593C

    oklch(42.1% 0.072 155.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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