#0C87D5

Closest named color: Water Blue (#0E87CC). oklch(60.4% 0.151 245.7), rgb(12, 135, 213).

Aa

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

About this color

#0C87D5 is a medium-dark, vivid blue. In OKLCH its lightness is 60%, its chroma 0.151 and its hue 246°. Its hue sits on the cool side of the wheel. The nearest named color is Water Blue (#0E87CC), ΔE 0.014 away. Black text reads best on it, at 5.44:1.

Hue familyBlues
Lightnessmedium-dark (60%)
Chromavivid (0.151)
Temperaturecool
Nearest nameWater Blue (#0E87CC)
Black text5.44:1
White text3.85:1

Values

HEX#0C87D5
RGBrgb(12, 135, 213)
HSLhsl(203, 89%, 44%)
OKLCHoklch(60.4% 0.151 245.7)

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 #0C87D5 3.85:1 AA large text Lc -70.9 Content text, not long reading
Black text on #0C87D5 5.44:1 AA Lc 38.6 Non-text elements, placeholder text
#0C87D5 text on white 3.85:1 AA large text Lc 65.4 Content text, not long reading
#0C87D5 text on black 5.44:1 AA Lc -36.2 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

    #F0F6FC

    oklch(97% 0.01 247.9)

  2. Step 100

    100

    #DFECF8

    oklch(93.7% 0.021 245.9)

  3. Step 200

    200

    #C4DDF3

    oklch(88.6% 0.04 244.8)

  4. Step 300

    300

    #99C6EE

    oklch(80.9% 0.074 245.7)

  5. Step 400

    400

    #5DA7E6

    oklch(70.7% 0.119 246.2)

  6. Step 500

    500 (this color)

    #0C87D5

    oklch(60.4% 0.151 245.7)

  7. Step 600

    600

    #0078C0

    oklch(55.5% 0.142 245.8)

  8. Step 700

    700

    #0065A3

    oklch(49.1% 0.126 245.9)

  9. Step 800

    800

    #005386

    oklch(42.8% 0.108 245.3)

  10. Step 900

    900

    #004571

    oklch(37.8% 0.096 245.5)

  11. Step 950

    950

    #052943

    oklch(27.1% 0.062 245.1)

Export this scale for Tailwind in the Tailwind colors tool

#0C87D5 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)#618BD80.059
Deuteranopia (no green cones)#447AD40.041
Tritanopia (no blue cones)#009AA40.105
Achromatopsia (no color)#8282820.151

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C87D5

    #0C87D5

    oklch(60.4% 0.151 245.7)

  • #B76E00

    #B76E00

    oklch(60.5% 0.135 65.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C87D5

    #0C87D5

    oklch(60.4% 0.151 245.7)

  • #0091AA

    #0091AA

    oklch(60.5% 0.107 215.6)

  • #6A76DA

    #6A76DA

    oklch(60.4% 0.151 275.8)

Open the analogous palette in the generator

Split complementary

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

  • #0C87D5

    #0C87D5

    oklch(60.4% 0.151 245.7)

  • #CB5A3C

    #CB5A3C

    oklch(60.4% 0.151 35.9)

  • #988000

    #988000

    oklch(60.4% 0.124 95.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C87D5

    #0C87D5

    oklch(60.4% 0.151 245.7)

  • #C95474

    #C95474

    oklch(60.4% 0.151 5.7)

  • #6B9007

    #6B9007

    oklch(60.3% 0.151 125.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C87D5

    #0C87D5

    oklch(60.4% 0.151 245.7)

  • #B759A4

    #B759A4

    oklch(60.3% 0.152 335.6)

  • #B76E00

    #B76E00

    oklch(60.5% 0.135 65.7)

  • #009A5A

    #009A5A

    oklch(60.3% 0.147 155.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #0C87D5 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.