#0C81DA

Closest named color: Water Blue (#0E87CC). oklch(59.3% 0.163 249.8), rgb(12, 129, 218).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (59%)
Chromavivid (0.163)
Temperaturecool
Nearest nameWater Blue (#0E87CC)
Black text5.16:1
White text4.06:1

Values

HEX#0C81DA
RGBrgb(12, 129, 218)
HSLhsl(206, 90%, 45%)
OKLCHoklch(59.3% 0.163 249.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 #0C81DA 4.06:1 AA large text Lc -72.7 Content text, not long reading
Black text on #0C81DA 5.16:1 AA Lc 36.9 Non-text elements, placeholder text
#0C81DA text on white 4.06:1 AA large text Lc 67.2 Content text, not long reading
#0C81DA text on black 5.16:1 AA Lc -34.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 600.

  1. Step 50

    50

    #F1F6FC

    oklch(97.1% 0.01 252.8)

  2. Step 100

    100

    #E0EBF8

    oklch(93.6% 0.021 252.5)

  3. Step 200

    200

    #C5DCF4

    oklch(88.5% 0.041 249.4)

  4. Step 300

    300

    #9DC5EF

    oklch(80.9% 0.073 250)

  5. Step 400

    400

    #64A6E7

    oklch(70.8% 0.117 249.5)

  6. Step 500

    500

    #328DE0

    oklch(63% 0.151 250)

  7. Step 600

    600 (this color)

    #0C81DA

    oklch(59.3% 0.163 249.8)

  8. Step 700

    700

    #0063AB

    oklch(49.2% 0.138 249.7)

  9. Step 800

    800

    #00518D

    oklch(42.7% 0.12 249.5)

  10. Step 900

    900

    #0B4373

    oklch(37.6% 0.099 250.1)

  11. Step 950

    950

    #0A2843

    oklch(27% 0.061 249.3)

Export this scale for Tailwind in the Tailwind colors tool

#0C81DA 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)#5487DE0.050
Deuteranopia (no green cones)#3176D80.030
Tritanopia (no blue cones)#0097A30.118
Achromatopsia (no color)#7E7E7E0.163

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C81DA

    #0C81DA

    oklch(59.3% 0.163 249.8)

  • #AE6E00

    #AE6E00

    oklch(59.3% 0.129 69.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C81DA

    #0C81DA

    oklch(59.3% 0.163 249.8)

  • #008CAA

    #008CAA

    oklch(59.2% 0.108 220)

  • #6D6EDC

    #6D6EDC

    oklch(59.2% 0.164 279.8)

Open the analogous palette in the generator

Split complementary

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

  • #0C81DA

    #0C81DA

    oklch(59.3% 0.163 249.8)

  • #CB5325

    #CB5325

    oklch(59.2% 0.163 39.7)

  • #907F00

    #907F00

    oklch(59.4% 0.123 99.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C81DA

    #0C81DA

    oklch(59.3% 0.163 249.8)

  • #CB4B68

    #CB4B68

    oklch(59.3% 0.163 9.8)

  • #5E8F00

    #5E8F00

    oklch(59.2% 0.159 129.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C81DA

    #0C81DA

    oklch(59.3% 0.163 249.8)

  • #BA509D

    #BA509D

    oklch(59.2% 0.164 339.4)

  • #AE6E00

    #AE6E00

    oklch(59.3% 0.129 69.9)

  • #009661

    #009661

    oklch(59.4% 0.135 159.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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