#40879E

Closest named color: Teal Blue (#01889F). oklch(58.7% 0.079 221.9), rgb(64, 135, 158).

Aa

Black text reads best on this color (5.17:1).

About this color

#40879E is a medium-dark, moderately saturated teal or cyan. In OKLCH its lightness is 59%, its chroma 0.079 and its hue 222°. Its hue sits on the cool side of the wheel. The nearest named color is Teal Blue (#01889F), ΔE 0.027 away. Black text reads best on it, at 5.17:1.

Hue familyTeals and cyans
Lightnessmedium-dark (59%)
Chromamoderately saturated (0.079)
Temperaturecool
Nearest nameTeal Blue (#01889F)
Black text5.17:1
White text4.05:1

Values

HEX#40879E
RGBrgb(64, 135, 158)
HSLhsl(195, 42%, 44%)
OKLCHoklch(58.7% 0.079 221.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 #40879E 4.05:1 AA large text Lc -73.1 Content text, not long reading
Black text on #40879E 5.17:1 AA Lc 36.5 Non-text elements, placeholder text
#40879E text on white 4.05:1 AA large text Lc 67.6 Content text, not long reading
#40879E text on black 5.17:1 AA Lc -34.1 Non-text elements, placeholder text

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

    #F2F6F8

    oklch(97.1% 0.005 228.8)

  2. Step 100

    100

    #E3ECEF

    oklch(93.7% 0.01 219.6)

  3. Step 200

    200

    #CCDCE3

    oklch(88.5% 0.02 225.7)

  4. Step 300

    300

    #A9C6D1

    oklch(80.9% 0.035 222.7)

  5. Step 400

    400

    #79A9BA

    oklch(70.7% 0.057 221.9)

  6. Step 500

    500

    #5494A9

    oklch(63.2% 0.073 221.3)

  7. Step 600

    600 (this color)

    #40879E

    oklch(58.7% 0.079 221.9)

  8. Step 700

    700

    #286A7E

    oklch(49.1% 0.073 221.3)

  9. Step 800

    800

    #235667

    oklch(42.6% 0.061 223)

  10. Step 900

    900

    #224754

    oklch(37.6% 0.048 223.3)

  11. Step 950

    950

    #152A31

    oklch(27.1% 0.03 221.5)

Export this scale for Tailwind in the Tailwind colors tool

#40879E 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)#79849F0.064
Deuteranopia (no green cones)#6C7A9E0.057
Tritanopia (no blue cones)#008E8E0.047
Achromatopsia (no color)#7E7E7E0.079

Harmonies

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

Complementary

The opposite hue (180°).

  • #40879E

    #40879E

    oklch(58.7% 0.079 221.9)

  • #A56D57

    #A56D57

    oklch(58.9% 0.079 42.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40879E

    #40879E

    oklch(58.7% 0.079 221.9)

  • #3A8B88

    #3A8B88

    oklch(58.6% 0.078 191.9)

  • #597FAA

    #597FAA

    oklch(58.6% 0.079 252.2)

Open the analogous palette in the generator

Split complementary

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

  • #40879E

    #40879E

    oklch(58.7% 0.079 221.9)

  • #A66970

    #A66970

    oklch(58.8% 0.079 12.3)

  • #9A7546

    #9A7546

    oklch(58.8% 0.079 71.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40879E

    #40879E

    oklch(58.7% 0.079 221.9)

  • #9D6A8A

    #9D6A8A

    oklch(58.8% 0.078 341.7)

  • #867E44

    #867E44

    oklch(58.7% 0.079 101.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40879E

    #40879E

    oklch(58.7% 0.079 221.9)

  • #8C6F9F

    #8C6F9F

    oklch(58.8% 0.079 311.5)

  • #A56D57

    #A56D57

    oklch(58.9% 0.079 42.2)

  • #6B8655

    #6B8655

    oklch(58.6% 0.078 131.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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