#0C5A99

Closest named color: Dusk Blue (#26538D). oklch(45.9% 0.123 249.8), rgb(12, 90, 153).

Aa

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

About this color

#0C5A99 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 46%, its chroma 0.123 and its hue 250°. Its hue sits on the cool side of the wheel. The nearest named color is Dusk Blue (#26538D), ΔE 0.027 away. White text reads best on it, at 7.14:1.

Hue familyBlues
Lightnessmedium-dark (46%)
Chromamoderately saturated (0.123)
Temperaturecool
Nearest nameDusk Blue (#26538D)
Black text2.93:1
White text7.14:1

Values

HEX#0C5A99
RGBrgb(12, 90, 153)
HSLhsl(207, 85%, 32%)
OKLCHoklch(45.9% 0.123 249.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 #0C5A99 7.14:1 AAA Lc -89.2 Fine for body text
Black text on #0C5A99 2.93:1 Fails Lc 19.8 Dividers and decoration only
#0C5A99 text on white 7.14:1 AAA Lc 84.3 Fine for body text
#0C5A99 text on black 2.93:1 Fails Lc -17.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

    #F2F6FB

    oklch(97.2% 0.008 253.9)

  2. Step 100

    100

    #E1EBF5

    oklch(93.5% 0.017 248)

  3. Step 200

    200

    #C9DBEF

    oklch(88.4% 0.034 251)

  4. Step 300

    300

    #A4C4E6

    oklch(80.8% 0.059 250.1)

  5. Step 400

    400

    #71A5DA

    oklch(70.6% 0.096 249.8)

  6. Step 500

    500

    #4A8ED0

    oklch(63.2% 0.122 249.7)

  7. Step 600

    600

    #2977BD

    oklch(55.7% 0.132 249.6)

  8. Step 700

    700 (this color)

    #0C5A99

    oklch(45.9% 0.123 249.8)

  9. Step 800

    800

    #195184

    oklch(42.6% 0.102 250)

  10. Step 900

    900

    #1C446A

    oklch(37.8% 0.079 249.7)

  11. Step 950

    950

    #11283E

    oklch(27% 0.05 249.3)

Export this scale for Tailwind in the Tailwind colors tool

#0C5A99 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)#3A5E9C0.037
Deuteranopia (no green cones)#2352980.023
Tritanopia (no blue cones)#0069720.088
Achromatopsia (no color)#5858580.123

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C5A99

    #0C5A99

    oklch(45.9% 0.123 249.8)

  • #7B4C00

    #7B4C00

    oklch(46% 0.1 69.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C5A99

    #0C5A99

    oklch(45.9% 0.123 249.8)

  • #006278

    #006278

    oklch(45.9% 0.084 220.2)

  • #4C4D9A

    #4C4D9A

    oklch(45.9% 0.122 279.9)

Open the analogous palette in the generator

Split complementary

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

  • #0C5A99

    #0C5A99

    oklch(45.9% 0.123 249.8)

  • #8F3A1A

    #8F3A1A

    oklch(46% 0.124 39.7)

  • #655800

    #655800

    oklch(45.9% 0.095 99.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C5A99

    #0C5A99

    oklch(45.9% 0.123 249.8)

  • #8F3448

    #8F3448

    oklch(46% 0.124 10)

  • #406400

    #406400

    oklch(45.8% 0.123 129.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C5A99

    #0C5A99

    oklch(45.9% 0.123 249.8)

  • #83386D

    #83386D

    oklch(46% 0.123 340.2)

  • #7B4C00

    #7B4C00

    oklch(46% 0.1 69.5)

  • #006943

    #006943

    oklch(45.9% 0.104 159.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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