#2D87B0

Closest named color: Blue NCS (#118AB2). oklch(58.9% 0.104 232.4), rgb(45, 135, 176).

Aa

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

About this color

#2D87B0 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 59%, its chroma 0.104 and its hue 232°. Its hue sits on the cool side of the wheel. The nearest named color is Blue NCS (#118AB2), ΔE 0.012 away. Black text reads best on it, at 5.20:1.

Hue familyBlues
Lightnessmedium-dark (59%)
Chromamoderately saturated (0.104)
Temperaturecool
Nearest nameBlue NCS (#118AB2)
Black text5.20:1
White text4.03:1

Values

HEX#2D87B0
RGBrgb(45, 135, 176)
HSLhsl(199, 59%, 43%)
OKLCHoklch(58.9% 0.104 232.4)

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 #2D87B0 4.03:1 AA large text Lc -72.8 Content text, not long reading
Black text on #2D87B0 5.20:1 AA Lc 36.8 Non-text elements, placeholder text
#2D87B0 text on white 4.03:1 AA large text Lc 67.3 Content text, not long reading
#2D87B0 text on black 5.20:1 AA Lc -34.4 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

    #F1F6F9

    oklch(97% 0.007 233.6)

  2. Step 100

    100

    #E1ECF1

    oklch(93.6% 0.014 226.6)

  3. Step 200

    200

    #C9DDE8

    oklch(88.6% 0.026 231.7)

  4. Step 300

    300

    #A3C7DA

    oklch(81% 0.047 231.1)

  5. Step 400

    400

    #70A9C8

    oklch(70.7% 0.075 233.1)

  6. Step 500

    500

    #4693B9

    oklch(63% 0.095 232.5)

  7. Step 600

    600 (this color)

    #2D87B0

    oklch(58.9% 0.104 232.4)

  8. Step 700

    700

    #0E698E

    oklch(49% 0.097 232.7)

  9. Step 800

    800

    #125673

    oklch(42.7% 0.08 232.1)

  10. Step 900

    900

    #19475D

    oklch(37.7% 0.062 232.6)

  11. Step 950

    950

    #102A36

    oklch(27.1% 0.039 230.5)

Export this scale for Tailwind in the Tailwind colors tool

#2D87B0 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)#7386B20.068
Deuteranopia (no green cones)#6179AF0.057
Tritanopia (no blue cones)#0092950.063
Achromatopsia (no color)#7E7E7E0.104

Harmonies

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

Complementary

The opposite hue (180°).

  • #2D87B0

    #2D87B0

    oklch(58.9% 0.104 232.4)

  • #AD6A3F

    #AD6A3F

    oklch(58.9% 0.104 52.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2D87B0

    #2D87B0

    oklch(58.9% 0.104 232.4)

  • #008E97

    #008E97

    oklch(58.9% 0.1 202.7)

  • #5B7CBB

    #5B7CBB

    oklch(58.9% 0.104 262.5)

Open the analogous palette in the generator

Split complementary

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

  • #2D87B0

    #2D87B0

    oklch(58.9% 0.104 232.4)

  • #B26360

    #B26360

    oklch(58.9% 0.103 23)

  • #9B7629

    #9B7629

    oklch(58.8% 0.103 82.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2D87B0

    #2D87B0

    oklch(58.9% 0.104 232.4)

  • #AC6283

    #AC6283

    oklch(59% 0.104 352.5)

  • #7E8333

    #7E8333

    oklch(58.9% 0.103 112.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2D87B0

    #2D87B0

    oklch(58.9% 0.104 232.4)

  • #9A67A1

    #9A67A1

    oklch(58.9% 0.104 322.5)

  • #AD6A3F

    #AD6A3F

    oklch(58.9% 0.104 52.1)

  • #578D52

    #578D52

    oklch(59% 0.105 142.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #2D87B0 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.