#2879AE

Closest named color: Nice Blue (#107AB0). oklch(55.3% 0.112 242), rgb(40, 121, 174).

Aa

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

About this color

#2879AE is a medium-dark, moderately saturated blue. In OKLCH its lightness is 55%, its chroma 0.112 and its hue 242°. Its hue sits on the cool side of the wheel. The nearest named color is Nice Blue (#107AB0), ΔE 0.010 away. White text reads best on it, at 4.73:1.

Hue familyBlues
Lightnessmedium-dark (55%)
Chromamoderately saturated (0.112)
Temperaturecool
Nearest nameNice Blue (#107AB0)
Black text4.43:1
White text4.73:1

Values

HEX#2879AE
RGBrgb(40, 121, 174)
HSLhsl(204, 63%, 42%)
OKLCHoklch(55.3% 0.112 242)

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 #2879AE 4.73:1 AA Lc -78.0 Fine for body text
Black text on #2879AE 4.43:1 AA large text Lc 31.6 Non-text elements, placeholder text
#2879AE text on white 4.73:1 AA Lc 72.5 Content text, not long reading
#2879AE text on black 4.43:1 AA large text Lc -29.2 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

    #F2F6FA

    oklch(97.1% 0.007 247.9)

  2. Step 100

    100

    #E2EBF3

    oklch(93.6% 0.015 244.7)

  3. Step 200

    200

    #CADCEA

    oklch(88.5% 0.027 241.2)

  4. Step 300

    300

    #A5C5DF

    oklch(80.9% 0.05 242.9)

  5. Step 400

    400

    #73A7CF

    oklch(70.7% 0.081 242.4)

  6. Step 500

    500

    #4B91C3

    oklch(63.2% 0.103 242)

  7. Step 600

    600 (this color)

    #2879AE

    oklch(55.3% 0.112 242)

  8. Step 700

    700

    #1A6696

    oklch(48.9% 0.105 242.1)

  9. Step 800

    800

    #19547A

    oklch(42.8% 0.086 241.6)

  10. Step 900

    900

    #1C4562

    oklch(37.6% 0.068 242.4)

  11. Step 950

    950

    #122939

    oklch(27% 0.042 241)

Export this scale for Tailwind in the Tailwind colors tool

#2879AE 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)#607AB00.054
Deuteranopia (no green cones)#4E6EAD0.041
Tritanopia (no blue cones)#00868C0.076
Achromatopsia (no color)#7373730.112

Harmonies

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

Complementary

The opposite hue (180°).

  • #2879AE

    #2879AE

    oklch(55.3% 0.112 242)

  • #A06120

    #A06120

    oklch(55.2% 0.112 61.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2879AE

    #2879AE

    oklch(55.3% 0.112 242)

  • #008193

    #008193

    oklch(55.4% 0.096 211.7)

  • #5C6DB4

    #5C6DB4

    oklch(55.3% 0.112 272.1)

Open the analogous palette in the generator

Split complementary

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

  • #2879AE

    #2879AE

    oklch(55.3% 0.112 242)

  • #AA5747

    #AA5747

    oklch(55.3% 0.112 32.2)

  • #8A6F03

    #8A6F03

    oklch(55.2% 0.112 91.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2879AE

    #2879AE

    oklch(55.3% 0.112 242)

  • #A7546D

    #A7546D

    oklch(55.3% 0.112 2.3)

  • #677C28

    #677C28

    oklch(55.2% 0.112 122.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2879AE

    #2879AE

    oklch(55.3% 0.112 242)

  • #98588F

    #98588F

    oklch(55.3% 0.112 332.3)

  • #A06120

    #A06120

    oklch(55.2% 0.112 61.8)

  • #368551

    #368551

    oklch(55.4% 0.112 152.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #2879AE 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.