#0C459F

Closest named color: Cobalt (#1E488F). oklch(41.6% 0.157 260.1), rgb(12, 69, 159).

Aa

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

About this color

#0C459F is a dark, vivid blue. In OKLCH its lightness is 42%, its chroma 0.157 and its hue 260°. Its hue sits on the cool side of the wheel. The nearest named color is Cobalt (#1E488F), ΔE 0.030 away. White text reads best on it, at 8.87:1.

Hue familyBlues
Lightnessdark (42%)
Chromavivid (0.157)
Temperaturecool
Nearest nameCobalt (#1E488F)
Black text2.36:1
White text8.87:1

Values

HEX#0C459F
RGBrgb(12, 69, 159)
HSLhsl(217, 86%, 34%)
OKLCHoklch(41.6% 0.157 260.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 #0C459F 8.87:1 AAA Lc -94.1 Preferred for body text
Black text on #0C459F 2.36:1 Fails Lc 14.4 Not readable
#0C459F text on white 8.87:1 AAA Lc 89.6 Fine for body text
#0C459F text on black 2.36:1 Fails Lc -12.6 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 800.

  1. Step 50

    50

    #F1F6FE

    oklch(97.2% 0.012 259.8)

  2. Step 100

    100

    #E0EBFC

    oklch(93.7% 0.026 259)

  3. Step 200

    200

    #C6DAFC

    oklch(88.4% 0.052 261.1)

  4. Step 300

    300

    #9EC2FC

    oklch(80.9% 0.091 259.8)

  5. Step 400

    400

    #69A0FB

    oklch(70.8% 0.146 260)

  6. Step 500

    500

    #3F84F9

    oklch(63.1% 0.188 260.3)

  7. Step 600

    600

    #1D6AE8

    oklch(55.6% 0.205 260.3)

  8. Step 700

    700

    #0E58C9

    oklch(49.1% 0.189 260)

  9. Step 800

    800 (this color)

    #0C459F

    oklch(41.6% 0.157 260.1)

  10. Step 900

    900

    #163E81

    oklch(37.7% 0.122 260.2)

  11. Step 950

    950

    #0E254C

    oklch(27.1% 0.078 260.3)

Export this scale for Tailwind in the Tailwind colors tool

#0C459F 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)#0051A20.032
Deuteranopia (no green cones)#00449D0.007
Tritanopia (no blue cones)#005C6B0.120
Achromatopsia (no color)#4A4A4A0.157

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C459F

    #0C459F

    oklch(41.6% 0.157 260.1)

  • #644600

    #644600

    oklch(41.6% 0.086 80.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C459F

    #0C459F

    oklch(41.6% 0.157 260.1)

  • #005370

    #005370

    oklch(41.4% 0.083 230.5)

  • #4F3499

    #4F3499

    oklch(41.6% 0.156 290.2)

Open the analogous palette in the generator

Split complementary

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

  • #0C459F

    #0C459F

    oklch(41.6% 0.157 260.1)

  • #793600

    #793600

    oklch(41.6% 0.109 50.4)

  • #4F5000

    #4F5000

    oklch(41.6% 0.091 110.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C459F

    #0C459F

    oklch(41.6% 0.157 260.1)

  • #8E0F25

    #8E0F25

    oklch(41.6% 0.157 20.1)

  • #175C00

    #175C00

    oklch(41.6% 0.134 140.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C459F

    #0C459F

    oklch(41.6% 0.157 260.1)

  • #841557

    #841557

    oklch(41.5% 0.156 350.3)

  • #644600

    #644600

    oklch(41.6% 0.086 80.6)

  • #005A45

    #005A45

    oklch(41.6% 0.082 170)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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