#0C8EC2

Closest named color: Blue NCS (#118AB2). oklch(61% 0.125 233.9), rgb(12, 142, 194).

Aa

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

About this color

#0C8EC2 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 61%, its chroma 0.125 and its hue 234°. Its hue sits on the cool side of the wheel. The nearest named color is Blue NCS (#118AB2), ΔE 0.025 away. Black text reads best on it, at 5.66:1.

Hue familyBlues
Lightnessmedium-dark (61%)
Chromamoderately saturated (0.125)
Temperaturecool
Nearest nameBlue NCS (#118AB2)
Black text5.66:1
White text3.70:1

Values

HEX#0C8EC2
RGBrgb(12, 142, 194)
HSLhsl(197, 88%, 40%)
OKLCHoklch(61% 0.125 233.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 #0C8EC2 3.70:1 AA large text Lc -69.6 Content text, not long reading
Black text on #0C8EC2 5.66:1 AA Lc 40.0 Non-text elements, placeholder text
#0C8EC2 text on white 3.70:1 AA large text Lc 64.1 Content text, not long reading
#0C8EC2 text on black 5.66:1 AA Lc -37.6 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

    #F0F6FA

    oklch(97% 0.008 236.6)

  2. Step 100

    100

    #DFECF4

    oklch(93.6% 0.018 234.5)

  3. Step 200

    200

    #C4DDEC

    oklch(88.4% 0.034 234.1)

  4. Step 300

    300

    #9AC8E2

    oklch(80.9% 0.061 233.3)

  5. Step 400

    400

    #5DABD4

    oklch(70.7% 0.098 233.4)

  6. Step 500

    500 (this color)

    #0C8EC2

    oklch(61% 0.125 233.9)

  7. Step 600

    600

    #007DAC

    oklch(55.5% 0.116 233.8)

  8. Step 700

    700

    #006992

    oklch(49.1% 0.103 234.3)

  9. Step 800

    800

    #005678

    oklch(42.7% 0.089 233.9)

  10. Step 900

    900

    #004865

    oklch(37.8% 0.079 233.7)

  11. Step 950

    950

    #052A3C

    oklch(27% 0.052 234.9)

Export this scale for Tailwind in the Tailwind colors tool

#0C8EC2 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)#748DC40.077
Deuteranopia (no green cones)#5E7EC10.064
Tritanopia (no blue cones)#009CA00.076
Achromatopsia (no color)#8585850.125

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C8EC2

    #0C8EC2

    oklch(61% 0.125 233.9)

  • #BC6C31

    #BC6C31

    oklch(61% 0.125 54)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C8EC2

    #0C8EC2

    oklch(61% 0.125 233.9)

  • #00959F

    #00959F

    oklch(61% 0.104 203.2)

  • #5C81CE

    #5C81CE

    oklch(61.1% 0.125 263.7)

Open the analogous palette in the generator

Split complementary

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

  • #0C8EC2

    #0C8EC2

    oklch(61% 0.125 233.9)

  • #C3625E

    #C3625E

    oklch(61% 0.125 23.9)

  • #A67B00

    #A67B00

    oklch(60.9% 0.125 83.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C8EC2

    #0C8EC2

    oklch(61% 0.125 233.9)

  • #BC6188

    #BC6188

    oklch(61.1% 0.125 354.4)

  • #838B20

    #838B20

    oklch(61.1% 0.125 113.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C8EC2

    #0C8EC2

    oklch(61% 0.125 233.9)

  • #A767AD

    #A767AD

    oklch(60.9% 0.125 323.9)

  • #BC6C31

    #BC6C31

    oklch(61% 0.125 54)

  • #509650

    #509650

    oklch(61% 0.125 143.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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