#28678C

Closest named color: Denim (#3B638C). oklch(49% 0.087 238.1), rgb(40, 103, 140).

Aa

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

About this color

#28678C is a medium-dark, moderately saturated blue. In OKLCH its lightness is 49%, its chroma 0.087 and its hue 238°. Its hue sits on the cool side of the wheel. The nearest named color is Denim (#3B638C), ΔE 0.019 away. White text reads best on it, at 6.16:1.

Hue familyBlues
Lightnessmedium-dark (49%)
Chromamoderately saturated (0.087)
Temperaturecool
Nearest nameDenim (#3B638C)
Black text3.40:1
White text6.16:1

Values

HEX#28678C
RGBrgb(40, 103, 140)
HSLhsl(202, 56%, 35%)
OKLCHoklch(49% 0.087 238.1)

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 #28678C 6.16:1 AA Lc -85.6 Fine for body text
Black text on #28678C 3.40:1 AA large text Lc 23.6 Dividers and decoration only
#28678C text on white 6.16:1 AA Lc 80.5 Fine for body text
#28678C text on black 3.40:1 AA large text Lc -21.4 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 700.

  1. Step 50

    50

    #F2F6F9

    oklch(97.1% 0.006 239.8)

  2. Step 100

    100

    #E3EBF1

    oklch(93.6% 0.012 239.9)

  3. Step 200

    200

    #CCDCE7

    oklch(88.6% 0.023 237.7)

  4. Step 300

    300

    #A8C5D9

    oklch(80.8% 0.042 238.2)

  5. Step 400

    400

    #79A7C6

    oklch(70.7% 0.067 238.4)

  6. Step 500

    500

    #5491B8

    oklch(63.1% 0.087 238.3)

  7. Step 600

    600

    #367BA4

    oklch(55.7% 0.094 237.9)

  8. Step 700

    700 (this color)

    #28678C

    oklch(49% 0.087 238.1)

  9. Step 800

    800

    #235472

    oklch(42.6% 0.072 238.6)

  10. Step 900

    900

    #22465C

    oklch(37.8% 0.056 237.6)

  11. Step 950

    950

    #152936

    oklch(27% 0.036 238.5)

Export this scale for Tailwind in the Tailwind colors tool

#28678C 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)#56678E0.049
Deuteranopia (no green cones)#485D8B0.040
Tritanopia (no blue cones)#0070740.057
Achromatopsia (no color)#6161610.087

Harmonies

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

Complementary

The opposite hue (180°).

  • #28678C

    #28678C

    oklch(49% 0.087 238.1)

  • #85532A

    #85532A

    oklch(49% 0.087 58)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #28678C

    #28678C

    oklch(49% 0.087 238.1)

  • #006D79

    #006D79

    oklch(48.9% 0.084 208)

  • #4B5E92

    #4B5E92

    oklch(49% 0.087 267.9)

Open the analogous palette in the generator

Split complementary

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

  • #28678C

    #28678C

    oklch(49% 0.087 238.1)

  • #8B4C44

    #8B4C44

    oklch(49% 0.087 28.2)

  • #755D1C

    #755D1C

    oklch(49% 0.087 87.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #28678C

    #28678C

    oklch(49% 0.087 238.1)

  • #884A60

    #884A60

    oklch(49% 0.088 358.2)

  • #5C6729

    #5C6729

    oklch(49% 0.087 118.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #28678C

    #28678C

    oklch(49% 0.087 238.1)

  • #7B4E79

    #7B4E79

    oklch(49% 0.086 328.3)

  • #85532A

    #85532A

    oklch(49% 0.087 58)

  • #3B6E44

    #3B6E44

    oklch(49.1% 0.087 148.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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