#0C416A

Closest named color: Twilight Blue (#0A437A). oklch(36.5% 0.088 247.4), rgb(12, 65, 106).

Aa

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

About this color

#0C416A is a dark, moderately saturated blue. In OKLCH its lightness is 37%, its chroma 0.088 and its hue 247°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight Blue (#0A437A), ΔE 0.027 away. White text reads best on it, at 10.60:1.

Hue familyBlues
Lightnessdark (37%)
Chromamoderately saturated (0.088)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text1.97:1
White text10.60:1

Values

HEX#0C416A
RGBrgb(12, 65, 106)
HSLhsl(206, 80%, 23%)
OKLCHoklch(36.5% 0.088 247.4)

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 #0C416A 10.60:1 AAA Lc -98.2 Preferred for body text
Black text on #0C416A 1.97:1 Fails Lc 9.7 Not readable
#0C416A text on white 10.60:1 AAA Lc 94.2 Preferred for body text
#0C416A text on black 1.97:1 Fails Lc -8.4 Not readable

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

  1. Step 50

    50

    #F1F6FB

    oklch(97.1% 0.009 247.9)

  2. Step 100

    100

    #E0EBF6

    oklch(93.5% 0.019 248)

  3. Step 200

    200

    #C7DCF1

    oklch(88.5% 0.037 248.2)

  4. Step 300

    300

    #9FC5EA

    oklch(80.9% 0.066 248)

  5. Step 400

    400

    #68A6DF

    oklch(70.6% 0.106 247.6)

  6. Step 500

    500

    #398FD6

    oklch(63.1% 0.135 247.1)

  7. Step 600

    600

    #0277C4

    oklch(55.5% 0.148 247.7)

  8. Step 700

    700

    #0064A6

    oklch(49.1% 0.131 247.6)

  9. Step 800

    800

    #005289

    oklch(42.7% 0.113 247.3)

  10. Step 900

    900 (this color)

    #0C416A

    oklch(36.5% 0.088 247.4)

  11. Step 950

    950

    #0C2840

    oklch(26.9% 0.056 247.6)

Export this scale for Tailwind in the Tailwind colors tool

#0C416A 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)#2D436C0.032
Deuteranopia (no green cones)#1F3B690.021
Tritanopia (no blue cones)#004B500.063
Achromatopsia (no color)#3F3F3F0.088

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C416A

    #0C416A

    oklch(36.5% 0.088 247.4)

  • #5A3500

    #5A3500

    oklch(36.6% 0.08 67.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C416A

    #0C416A

    oklch(36.5% 0.088 247.4)

  • #004655

    #004655

    oklch(36.4% 0.065 218.2)

  • #34386C

    #34386C

    oklch(36.5% 0.089 277.7)

Open the analogous palette in the generator

Split complementary

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

  • #0C416A

    #0C416A

    oklch(36.5% 0.088 247.4)

  • #642B19

    #642B19

    oklch(36.5% 0.088 38)

  • #493E00

    #493E00

    oklch(36.4% 0.075 97.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C416A

    #0C416A

    oklch(36.5% 0.088 247.4)

  • #642736

    #642736

    oklch(36.5% 0.089 7.3)

  • #314608

    #314608

    oklch(36.3% 0.088 127.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C416A

    #0C416A

    oklch(36.5% 0.088 247.4)

  • #5B2A4F

    #5B2A4F

    oklch(36.6% 0.088 337.4)

  • #5A3500

    #5A3500

    oklch(36.6% 0.08 67.7)

  • #004B2C

    #004B2C

    oklch(36.4% 0.085 157.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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