#0C56A5

Closest named color: Dusk Blue (#26538D). oklch(45.8% 0.144 255.1), rgb(12, 86, 165).

Aa

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

About this color

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

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

Values

HEX#0C56A5
RGBrgb(12, 86, 165)
HSLhsl(211, 86%, 35%)
OKLCHoklch(45.8% 0.144 255.1)

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 #0C56A5 7.26:1 AAA Lc -89.6 Fine for body text
Black text on #0C56A5 2.89:1 Fails Lc 19.4 Dividers and decoration only
#0C56A5 text on white 7.26:1 AAA Lc 84.6 Fine for body text
#0C56A5 text on black 2.89:1 Fails Lc -17.4 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

    #9CC4F7

    oklch(81% 0.084 254.7)

  5. Step 400

    400

    #64A3F3

    oklch(70.8% 0.135 255.1)

  6. Step 500

    500

    #3489EE

    oklch(63.1% 0.172 255.1)

  7. Step 600

    600

    #0070DB

    oklch(55.5% 0.184 255.3)

  8. Step 700

    700

    #005EBA

    oklch(49.1% 0.163 255.3)

  9. Step 800

    800 (this color)

    #0C56A5

    oklch(45.8% 0.144 255.1)

  10. Step 900

    900

    #0D417B

    oklch(37.7% 0.112 254.9)

  11. Step 950

    950

    #0A2648

    oklch(26.9% 0.072 255.3)

Export this scale for Tailwind in the Tailwind colors tool

#0C56A5 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)#285EA80.030
Deuteranopia (no green cones)#0051A30.015
Tritanopia (no blue cones)#0069750.108
Achromatopsia (no color)#5757570.144

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C56A5

    #0C56A5

    oklch(45.8% 0.144 255.1)

  • #764E00

    #764E00

    oklch(45.7% 0.096 75.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C56A5

    #0C56A5

    oklch(45.8% 0.144 255.1)

  • #00617C

    #00617C

    oklch(45.8% 0.087 225.2)

  • #5246A3

    #5246A3

    oklch(45.7% 0.145 285)

Open the analogous palette in the generator

Split complementary

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

  • #0C56A5

    #0C56A5

    oklch(45.8% 0.144 255.1)

  • #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.

  • #0C56A5

    #0C56A5

    oklch(45.8% 0.144 255.1)

  • #972A3D

    #972A3D

    oklch(45.9% 0.144 15)

  • #326700

    #326700

    oklch(45.9% 0.135 135.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C56A5

    #0C56A5

    oklch(45.8% 0.144 255.1)

  • #8C2D69

    #8C2D69

    oklch(45.8% 0.144 345.5)

  • #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 #0C56A5, closest first.

Similar named colors

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

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