#0C56A4

Closest named color: Dusk Blue (#26538D). oklch(45.8% 0.143 254.9), rgb(12, 86, 164).

Aa

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

About this color

#0C56A4 is a medium-dark, vivid blue. In OKLCH its lightness is 46%, its chroma 0.143 and its hue 255°. Its hue sits on the cool side of the wheel. The nearest named color is Dusk Blue (#26538D), ΔE 0.038 away. White text reads best on it, at 7.28:1.

Hue familyBlues
Lightnessmedium-dark (46%)
Chromavivid (0.143)
Temperaturecool
Nearest nameDusk Blue (#26538D)
Black text2.88:1
White text7.28:1

Values

HEX#0C56A4
RGBrgb(12, 86, 164)
HSLhsl(211, 86%, 35%)
OKLCHoklch(45.8% 0.143 254.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 #0C56A4 7.28:1 AAA Lc -89.6 Fine for body text
Black text on #0C56A4 2.88:1 Fails Lc 19.3 Dividers and decoration only
#0C56A4 text on white 7.28:1 AAA Lc 84.7 Fine for body text
#0C56A4 text on black 2.88:1 Fails Lc -17.3 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 800.

  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

    #C5DBF8

    oklch(88.4% 0.047 255.4)

  4. Step 300

    300

    #9CC4F6

    oklch(80.9% 0.083 254.3)

  5. Step 400

    400

    #64A3F2

    oklch(70.7% 0.134 254.9)

  6. Step 500

    500

    #3589ED

    oklch(63% 0.17 255.1)

  7. Step 600

    600

    #0071DA

    oklch(55.6% 0.182 254.8)

  8. Step 700

    700

    #005FB9

    oklch(49.2% 0.161 254.8)

  9. Step 800

    800 (this color)

    #0C56A4

    oklch(45.8% 0.143 254.9)

  10. Step 900

    900

    #0D417B

    oklch(37.7% 0.112 254.9)

  11. Step 950

    950

    #0B2648

    oklch(26.9% 0.071 255.8)

Export this scale for Tailwind in the Tailwind colors tool

#0C56A4 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)#295DA70.029
Deuteranopia (no green cones)#0050A20.018
Tritanopia (no blue cones)#0069750.106
Achromatopsia (no color)#5656560.143

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C56A4

    #0C56A4

    oklch(45.8% 0.143 254.9)

  • #764E00

    #764E00

    oklch(45.7% 0.096 75.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C56A4

    #0C56A4

    oklch(45.8% 0.143 254.9)

  • #00617B

    #00617B

    oklch(45.8% 0.086 224.3)

  • #5247A2

    #5247A2

    oklch(45.9% 0.142 284.8)

Open the analogous palette in the generator

Split complementary

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

  • #0C56A4

    #0C56A4

    oklch(45.8% 0.143 254.9)

  • #903900

    #903900

    oklch(45.9% 0.131 45.1)

  • #605A00

    #605A00

    oklch(45.9% 0.097 105.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C56A4

    #0C56A4

    oklch(45.8% 0.143 254.9)

  • #962A3D

    #962A3D

    oklch(45.7% 0.143 14.9)

  • #336600

    #336600

    oklch(45.6% 0.133 134.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C56A4

    #0C56A4

    oklch(45.8% 0.143 254.9)

  • #8B2E69

    #8B2E69

    oklch(45.8% 0.142 345.2)

  • #764E00

    #764E00

    oklch(45.7% 0.096 75.1)

  • #00684A

    #00684A

    oklch(45.8% 0.096 165.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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