#0C78E1

Closest named color: Cerulean Blue (#056EEE). oklch(57.8% 0.182 254.4), rgb(12, 120, 225).

Aa

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

About this color

#0C78E1 is a medium-dark, vivid blue. In OKLCH its lightness is 58%, its chroma 0.182 and its hue 254°. Its hue sits on the cool side of the wheel. The nearest named color is Cerulean Blue (#056EEE), ΔE 0.034 away. Black text reads best on it, at 4.78:1.

Hue familyBlues
Lightnessmedium-dark (58%)
Chromavivid (0.182)
Temperaturecool
Nearest nameCerulean Blue (#056EEE)
Black text4.78:1
White text4.38:1

Values

HEX#0C78E1
RGBrgb(12, 120, 225)
HSLhsl(210, 90%, 46%)
OKLCHoklch(57.8% 0.182 254.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 #0C78E1 4.38:1 AA large text Lc -75.2 Fine for body text
Black text on #0C78E1 4.78:1 AA Lc 34.4 Non-text elements, placeholder text
#0C78E1 text on white 4.38:1 AA large text Lc 69.7 Content text, not long reading
#0C78E1 text on black 4.78:1 AA Lc -32.0 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

    #F1F6FD

    oklch(97.1% 0.011 256.7)

  2. Step 100

    100

    #DFEBFA

    oklch(93.6% 0.024 254)

  3. Step 200

    200

    #C5DBF7

    oklch(88.4% 0.045 254.5)

  4. Step 300

    300

    #9DC4F5

    oklch(81% 0.081 254.4)

  5. Step 400

    400

    #65A3F0

    oklch(70.7% 0.131 254.6)

  6. Step 500

    500

    #358AEB

    oklch(63.1% 0.167 254.3)

  7. Step 600

    600 (this color)

    #0C78E1

    oklch(57.8% 0.182 254.4)

  8. Step 700

    700

    #005FB7

    oklch(49.1% 0.158 254.4)

  9. Step 800

    800

    #004E98

    oklch(42.8% 0.138 254.3)

  10. Step 900

    900

    #0E4179

    oklch(37.6% 0.109 254.5)

  11. Step 950

    950

    #0B2747

    oklch(27.1% 0.068 254.1)

Export this scale for Tailwind in the Tailwind colors tool

#0C78E1 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)#3B82E50.039
Deuteranopia (no green cones)#0070DF0.022
Tritanopia (no blue cones)#0092A10.137
Achromatopsia (no color)#7878780.182

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C78E1

    #0C78E1

    oklch(57.8% 0.182 254.4)

  • #A36D00

    #A36D00

    oklch(57.7% 0.122 74.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C78E1

    #0C78E1

    oklch(57.8% 0.182 254.4)

  • #0086A9

    #0086A9

    oklch(57.6% 0.109 224.5)

  • #7163DF

    #7163DF

    oklch(57.7% 0.182 284.3)

Open the analogous palette in the generator

Split complementary

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

  • #0C78E1

    #0C78E1

    oklch(57.8% 0.182 254.4)

  • #C65000

    #C65000

    oklch(57.9% 0.167 44.5)

  • #867C00

    #867C00

    oklch(57.7% 0.122 103.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C78E1

    #0C78E1

    oklch(57.8% 0.182 254.4)

  • #CE3C57

    #CE3C57

    oklch(57.7% 0.182 14.5)

  • #4B8D00

    #4B8D00

    oklch(57.6% 0.166 134.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C78E1

    #0C78E1

    oklch(57.8% 0.182 254.4)

  • #BF4193

    #BF4193

    oklch(57.8% 0.183 344.4)

  • #A36D00

    #A36D00

    oklch(57.7% 0.122 74.8)

  • #009066

    #009066

    oklch(57.8% 0.123 164.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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