#0C538F

Closest named color: Dusk Blue (#26538D). oklch(43.5% 0.118 250.5), rgb(12, 83, 143).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (44%)
Chromamoderately saturated (0.118)
Temperaturecool
Nearest nameDusk Blue (#26538D)
Black text2.64:1
White text7.92:1

Values

HEX#0C538F
RGBrgb(12, 83, 143)
HSLhsl(207, 85%, 30%)
OKLCHoklch(43.5% 0.118 250.5)

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 #0C538F 7.92:1 AAA Lc -91.7 Preferred for body text
Black text on #0C538F 2.64:1 Fails Lc 17.0 Dividers and decoration only
#0C538F text on white 7.92:1 AAA Lc 87.0 Fine for body text
#0C538F text on black 2.64:1 Fails Lc -15.1 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

    #F1F6FC

    oklch(97.1% 0.01 252.8)

  2. Step 100

    100

    #E0EBF7

    oklch(93.5% 0.02 250.4)

  3. Step 200

    200

    #C7DCF2

    oklch(88.6% 0.038 249.5)

  4. Step 300

    300

    #A0C5EC

    oklch(81% 0.068 250)

  5. Step 400

    400

    #6AA5E3

    oklch(70.7% 0.11 250.8)

  6. Step 500

    500

    #3D8DDB

    oklch(63.1% 0.141 250.6)

  7. Step 600

    600

    #1076C8

    oklch(55.7% 0.152 250.1)

  8. Step 700

    700

    #0062AC

    oklch(49% 0.141 250.5)

  9. Step 800

    800 (this color)

    #0C538F

    oklch(43.5% 0.118 250.5)

  10. Step 900

    900

    #134370

    oklch(37.6% 0.092 250.7)

  11. Step 950

    950

    #0D2842

    oklch(27.1% 0.059 250.2)

Export this scale for Tailwind in the Tailwind colors tool

#0C538F 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)#3557910.035
Deuteranopia (no green cones)#1E4C8E0.020
Tritanopia (no blue cones)#00616A0.084
Achromatopsia (no color)#5151510.118

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C538F

    #0C538F

    oklch(43.5% 0.118 250.5)

  • #714700

    #714700

    oklch(43.6% 0.094 71.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C538F

    #0C538F

    oklch(43.5% 0.118 250.5)

  • #005B70

    #005B70

    oklch(43.6% 0.08 220.6)

  • #474790

    #474790

    oklch(43.7% 0.117 280.4)

Open the analogous palette in the generator

Split complementary

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

  • #0C538F

    #0C538F

    oklch(43.5% 0.118 250.5)

  • #853515

    #853515

    oklch(43.6% 0.118 40.4)

  • #5D5200

    #5D5200

    oklch(43.6% 0.091 100.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C538F

    #0C538F

    oklch(43.5% 0.118 250.5)

  • #852F42

    #852F42

    oklch(43.5% 0.119 10.1)

  • #3A5D00

    #3A5D00

    oklch(43.5% 0.118 130.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C538F

    #0C538F

    oklch(43.5% 0.118 250.5)

  • #7A3365

    #7A3365

    oklch(43.6% 0.117 340.4)

  • #714700

    #714700

    oklch(43.6% 0.094 71.2)

  • #00613F

    #00613F

    oklch(43.5% 0.097 160.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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