#0C5BB2

Closest named color: Mid Blue (#276AB3). oklch(47.9% 0.155 255.8), rgb(12, 91, 178).

Aa

White text reads best on this color (6.65:1).

About this color

#0C5BB2 is a medium-dark, vivid blue. In OKLCH its lightness is 48%, its chroma 0.155 and its hue 256°. Its hue sits on the cool side of the wheel. The nearest named color is Mid Blue (#276AB3), ΔE 0.047 away. White text reads best on it, at 6.65:1.

Hue familyBlues
Lightnessmedium-dark (48%)
Chromavivid (0.155)
Temperaturecool
Nearest nameMid Blue (#276AB3)
Black text3.15:1
White text6.65:1

Values

HEX#0C5BB2
RGBrgb(12, 91, 178)
HSLhsl(211, 87%, 37%)
OKLCHoklch(47.9% 0.155 255.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 #0C5BB2 6.65:1 AA Lc -87.3 Fine for body text
Black text on #0C5BB2 3.15:1 AA large text Lc 21.8 Dividers and decoration only
#0C5BB2 text on white 6.65:1 AA Lc 82.2 Fine for body text
#0C5BB2 text on black 3.15:1 AA large text Lc -19.7 Dividers and decoration only

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 700.

  1. Step 50

    50

    #F1F6FC

    oklch(97.1% 0.01 252.8)

  2. Step 100

    100

    #E1EBF9

    oklch(93.7% 0.022 256.7)

  3. Step 200

    200

    #C8DBF5

    oklch(88.5% 0.041 256.2)

  4. Step 300

    300

    #A1C3F1

    oklch(80.8% 0.075 256.1)

  5. Step 400

    400

    #6DA3EA

    oklch(70.7% 0.119 255.7)

  6. Step 500

    500

    #438AE4

    oklch(63.1% 0.154 255.6)

  7. Step 600

    600

    #2172D2

    oklch(55.7% 0.166 255.7)

  8. Step 700

    700 (this color)

    #0C5BB2

    oklch(47.9% 0.155 255.8)

  9. Step 800

    800

    #134E93

    oklch(42.8% 0.128 255.6)

  10. Step 900

    900

    #184175

    oklch(37.6% 0.1 256)

  11. Step 950

    950

    #0F2745

    oklch(27.1% 0.064 255.3)

Export this scale for Tailwind in the Tailwind colors tool

#0C5BB2 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)#2664B50.031
Deuteranopia (no green cones)#0056B00.015
Tritanopia (no blue cones)#00707E0.115
Achromatopsia (no color)#5C5C5C0.155

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C5BB2

    #0C5BB2

    oklch(47.9% 0.155 255.8)

  • #7E5400

    #7E5400

    oklch(48% 0.101 75.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C5BB2

    #0C5BB2

    oklch(47.9% 0.155 255.8)

  • #006785

    #006785

    oklch(47.9% 0.092 226.5)

  • #594AAF

    #594AAF

    oklch(48% 0.155 285.8)

Open the analogous palette in the generator

Split complementary

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

  • #0C5BB2

    #0C5BB2

    oklch(47.9% 0.155 255.8)

  • #983E00

    #983E00

    oklch(47.9% 0.135 45.8)

  • #666000

    #666000

    oklch(47.9% 0.102 105.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C5BB2

    #0C5BB2

    oklch(47.9% 0.155 255.8)

  • #A22A3F

    #A22A3F

    oklch(47.9% 0.155 15.6)

  • #346E00

    #346E00

    oklch(48% 0.142 135.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C5BB2

    #0C5BB2

    oklch(47.9% 0.155 255.8)

  • #962E70

    #962E70

    oklch(47.9% 0.155 345.6)

  • #7E5400

    #7E5400

    oklch(48% 0.101 75.5)

  • #006F50

    #006F50

    oklch(48% 0.1 165.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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