#28729C

Closest named color: Ocean Blue (#03719C). oklch(52.6% 0.097 237.9), rgb(40, 114, 156).

Aa

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

About this color

#28729C is a medium-dark, moderately saturated blue. In OKLCH its lightness is 53%, its chroma 0.097 and its hue 238°. Its hue sits on the cool side of the wheel. The nearest named color is Ocean Blue (#03719C), ΔE 0.015 away. White text reads best on it, at 5.28:1.

Hue familyBlues
Lightnessmedium-dark (53%)
Chromamoderately saturated (0.097)
Temperaturecool
Nearest nameOcean Blue (#03719C)
Black text3.97:1
White text5.28:1

Values

HEX#28729C
RGBrgb(40, 114, 156)
HSLhsl(202, 59%, 38%)
OKLCHoklch(52.6% 0.097 237.9)

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 #28729C 5.28:1 AA Lc -81.3 Fine for body text
Black text on #28729C 3.97:1 AA large text Lc 28.1 Dividers and decoration only
#28729C text on white 5.28:1 AA Lc 75.9 Fine for body text
#28729C text on black 3.97:1 AA large text Lc -25.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 600.

  1. Step 50

    50

    #F2F6F9

    oklch(97.1% 0.006 239.8)

  2. Step 100

    100

    #E2EBF1

    oklch(93.5% 0.013 236.6)

  3. Step 200

    200

    #CBDCE8

    oklch(88.5% 0.025 238.4)

  4. Step 300

    300

    #A7C5DA

    oklch(80.8% 0.044 238.6)

  5. Step 400

    400

    #77A7C7

    oklch(70.6% 0.07 238.2)

  6. Step 500

    500

    #5191B9

    oklch(63% 0.089 237.9)

  7. Step 600

    600 (this color)

    #28729C

    oklch(52.6% 0.097 237.9)

  8. Step 700

    700

    #24678E

    oklch(49% 0.091 238.4)

  9. Step 800

    800

    #205473

    oklch(42.6% 0.075 238.4)

  10. Step 900

    900

    #20465D

    oklch(37.7% 0.059 237.6)

  11. Step 950

    950

    #142936

    oklch(27% 0.036 237.4)

Export this scale for Tailwind in the Tailwind colors tool

#28729C 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)#5E729E0.054
Deuteranopia (no green cones)#4E679B0.044
Tritanopia (no blue cones)#007D800.065
Achromatopsia (no color)#6C6C6C0.097

Harmonies

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

Complementary

The opposite hue (180°).

  • #28729C

    #28729C

    oklch(52.6% 0.097 237.9)

  • #945B2C

    #945B2C

    oklch(52.6% 0.097 57.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #28729C

    #28729C

    oklch(52.6% 0.097 237.9)

  • #007986

    #007986

    oklch(52.7% 0.091 207.9)

  • #5268A3

    #5268A3

    oklch(52.6% 0.097 267.5)

Open the analogous palette in the generator

Split complementary

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

  • #28729C

    #28729C

    oklch(52.6% 0.097 237.9)

  • #9B534B

    #9B534B

    oklch(52.6% 0.097 27.5)

  • #82671A

    #82671A

    oklch(52.7% 0.097 88.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #28729C

    #28729C

    oklch(52.6% 0.097 237.9)

  • #97516B

    #97516B

    oklch(52.6% 0.098 357.4)

  • #66722A

    #66722A

    oklch(52.6% 0.097 117.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #28729C

    #28729C

    oklch(52.6% 0.097 237.9)

  • #895587

    #895587

    oklch(52.6% 0.098 328.2)

  • #945B2C

    #945B2C

    oklch(52.6% 0.097 57.8)

  • #407A49

    #407A49

    oklch(52.7% 0.098 147.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #28729C 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.