#0C5CB5

Closest named color: Mid Blue (#276AB3). oklch(48.4% 0.158 256), rgb(12, 92, 181).

Aa

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

About this color

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

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

Values

HEX#0C5CB5
RGBrgb(12, 92, 181)
HSLhsl(212, 88%, 38%)
OKLCHoklch(48.4% 0.158 256)

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 #0C5CB5 6.53:1 AA Lc -86.8 Fine for body text
Black text on #0C5CB5 3.21:1 AA large text Lc 22.3 Dividers and decoration only
#0C5CB5 text on white 6.53:1 AA Lc 81.7 Fine for body text
#0C5CB5 text on black 3.21:1 AA large text Lc -20.2 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

    #E0EBF9

    oklch(93.6% 0.022 254.4)

  3. Step 200

    200

    #C7DBF6

    oklch(88.5% 0.043 255.9)

  4. Step 300

    300

    #A1C3F2

    oklch(80.9% 0.076 256.6)

  5. Step 400

    400

    #6CA3EC

    oklch(70.8% 0.122 255.9)

  6. Step 500

    500

    #428AE6

    oklch(63.2% 0.156 255.8)

  7. Step 600

    600

    #1F71D4

    oklch(55.6% 0.17 256.1)

  8. Step 700

    700 (this color)

    #0C5CB5

    oklch(48.4% 0.158 256)

  9. Step 800

    800

    #124D94

    oklch(42.6% 0.131 256.1)

  10. Step 900

    900

    #174176

    oklch(37.7% 0.102 256)

  11. Step 950

    950

    #0F2745

    oklch(27.1% 0.064 255.3)

Export this scale for Tailwind in the Tailwind colors tool

#0C5CB5 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)#2565B80.030
Deuteranopia (no green cones)#0057B30.015
Tritanopia (no blue cones)#0072800.118
Achromatopsia (no color)#5D5D5D0.158

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C5CB5

    #0C5CB5

    oklch(48.4% 0.158 256)

  • #7F5500

    #7F5500

    oklch(48.3% 0.102 75.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C5CB5

    #0C5CB5

    oklch(48.4% 0.158 256)

  • #006986

    #006986

    oklch(48.5% 0.092 225.3)

  • #5B4AB2

    #5B4AB2

    oklch(48.4% 0.159 286.4)

Open the analogous palette in the generator

Split complementary

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

  • #0C5CB5

    #0C5CB5

    oklch(48.4% 0.158 256)

  • #9A3F00

    #9A3F00

    oklch(48.4% 0.136 45.9)

  • #676200

    #676200

    oklch(48.5% 0.104 106.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C5CB5

    #0C5CB5

    oklch(48.4% 0.158 256)

  • #A52A3F

    #A52A3F

    oklch(48.4% 0.158 16)

  • #347000

    #347000

    oklch(48.5% 0.144 136)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C5CB5

    #0C5CB5

    oklch(48.4% 0.158 256)

  • #992E71

    #992E71

    oklch(48.4% 0.158 346.1)

  • #7F5500

    #7F5500

    oklch(48.3% 0.102 75.8)

  • #007051

    #007051

    oklch(48.3% 0.101 165.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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