#2C87EF

Closest named color: Dodger Blue (#1E90FF). oklch(62.5% 0.177 254.8), rgb(44, 135, 239).

Aa

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

About this color

#2C87EF is a medium-light, vivid blue. In OKLCH its lightness is 62%, its chroma 0.177 and its hue 255°. Its hue sits on the cool side of the wheel. The nearest named color is Dodger Blue (#1E90FF), ΔE 0.030 away. Black text reads best on it, at 5.81:1.

Hue familyBlues
Lightnessmedium-light (62%)
Chromavivid (0.177)
Temperaturecool
Nearest nameDodger Blue (#1E90FF)
Black text5.81:1
White text3.60:1

Values

HEX#2C87EF
RGBrgb(44, 135, 239)
HSLhsl(212, 86%, 55%)
OKLCHoklch(62.5% 0.177 254.8)

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 #2C87EF 3.60:1 AA large text Lc -68.7 Content text, not long reading
Black text on #2C87EF 5.81:1 AA Lc 40.9 Non-text elements, placeholder text
#2C87EF text on white 3.60:1 AA large text Lc 63.2 Content text, not long reading
#2C87EF text on black 5.81:1 AA Lc -38.5 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 500.

  1. Step 50

    50

    #F0F6FD

    oklch(97.1% 0.011 252.1)

  2. Step 100

    100

    #DFEBFB

    oklch(93.6% 0.025 255.6)

  3. Step 200

    200

    #C4DBF9

    oklch(88.4% 0.048 255.1)

  4. Step 300

    300

    #9BC4F8

    oklch(81% 0.086 254.6)

  5. Step 400

    400

    #61A3F5

    oklch(70.7% 0.139 254.7)

  6. Step 500

    500 (this color)

    #2C87EF

    oklch(62.5% 0.177 254.8)

  7. Step 600

    600

    #0071DA

    oklch(55.6% 0.182 254.8)

  8. Step 700

    700

    #005FB9

    oklch(49.2% 0.161 254.8)

  9. Step 800

    800

    #004D99

    oklch(42.7% 0.14 255)

  10. Step 900

    900

    #08417D

    oklch(37.8% 0.116 254.6)

  11. Step 950

    950

    #092649

    oklch(26.9% 0.074 255.3)

Export this scale for Tailwind in the Tailwind colors tool

#2C87EF 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)#5190F30.039
Deuteranopia (no green cones)#287FED0.022
Tritanopia (no blue cones)#00A0AF0.134
Achromatopsia (no color)#8787870.177

Harmonies

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

Complementary

The opposite hue (180°).

  • #2C87EF

    #2C87EF

    oklch(62.5% 0.177 254.8)

  • #B57A00

    #B57A00

    oklch(62.5% 0.132 75.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2C87EF

    #2C87EF

    oklch(62.5% 0.177 254.8)

  • #0096BD

    #0096BD

    oklch(62.6% 0.118 224.7)

  • #7F72EC

    #7F72EC

    oklch(62.3% 0.177 284.9)

Open the analogous palette in the generator

Split complementary

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

  • #2C87EF

    #2C87EF

    oklch(62.5% 0.177 254.8)

  • #DA5B05

    #DA5B05

    oklch(62.5% 0.177 45)

  • #948B00

    #948B00

    oklch(62.5% 0.133 105)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2C87EF

    #2C87EF

    oklch(62.5% 0.177 254.8)

  • #DD4F65

    #DD4F65

    oklch(62.5% 0.177 14.7)

  • #549D0F

    #549D0F

    oklch(62.4% 0.177 134.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2C87EF

    #2C87EF

    oklch(62.5% 0.177 254.8)

  • #CE53A0

    #CE53A0

    oklch(62.5% 0.177 344.9)

  • #B57A00

    #B57A00

    oklch(62.5% 0.132 75.1)

  • #00A073

    #00A073

    oklch(62.5% 0.132 164.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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