#0C5682

Closest named color: Deep Sea Blue (#015482). oklch(43.5% 0.098 242.2), rgb(12, 86, 130).

Aa

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

About this color

#0C5682 is a dark, moderately saturated blue. In OKLCH its lightness is 43%, its chroma 0.098 and its hue 242°. Its hue sits on the cool side of the wheel. The nearest named color is Deep Sea Blue (#015482), ΔE 0.008 away. White text reads best on it, at 7.86:1.

Hue familyBlues
Lightnessdark (43%)
Chromamoderately saturated (0.098)
Temperaturecool
Nearest nameDeep Sea Blue (#015482)
Black text2.66:1
White text7.86:1

Values

HEX#0C5682
RGBrgb(12, 86, 130)
HSLhsl(202, 83%, 28%)
OKLCHoklch(43.5% 0.098 242.2)

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 #0C5682 7.86:1 AAA Lc -91.6 Preferred for body text
Black text on #0C5682 2.66:1 Fails Lc 17.2 Dividers and decoration only
#0C5682 text on white 7.86:1 AAA Lc 86.9 Fine for body text
#0C5682 text on black 2.66:1 Fails Lc -15.2 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

    #F1F6FA

    oklch(97.1% 0.008 241.7)

  2. Step 100

    100

    #E1EBF4

    oklch(93.5% 0.016 245.1)

  3. Step 200

    200

    #C8DCED

    oklch(88.5% 0.032 243.7)

  4. Step 300

    300

    #A1C6E3

    oklch(80.9% 0.057 242)

  5. Step 400

    400

    #6BA8D5

    oklch(70.8% 0.092 241.7)

  6. Step 500

    500

    #3E91CA

    oklch(63.1% 0.117 242)

  7. Step 600

    600

    #117AB7

    oklch(55.6% 0.128 242.3)

  8. Step 700

    700

    #00679D

    oklch(49.2% 0.117 242)

  9. Step 800

    800 (this color)

    #0C5682

    oklch(43.5% 0.098 242.2)

  10. Step 900

    900

    #144667

    oklch(37.8% 0.077 242.2)

  11. Step 950

    950

    #0E293C

    oklch(27% 0.048 242.2)

Export this scale for Tailwind in the Tailwind colors tool

#0C5682 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)#4157840.046
Deuteranopia (no green cones)#314D810.034
Tritanopia (no blue cones)#0061660.066
Achromatopsia (no color)#5252520.098

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C5682

    #0C5682

    oklch(43.5% 0.098 242.2)

  • #764203

    #764203

    oklch(43.3% 0.098 61.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C5682

    #0C5682

    oklch(43.5% 0.098 242.2)

  • #005C69

    #005C69

    oklch(43.5% 0.076 211.3)

  • #3F4C87

    #3F4C87

    oklch(43.5% 0.099 272.3)

Open the analogous palette in the generator

Split complementary

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

  • #0C5682

    #0C5682

    oklch(43.5% 0.098 242.2)

  • #7E3A2D

    #7E3A2D

    oklch(43.5% 0.098 32.3)

  • #624F00

    #624F00

    oklch(43.4% 0.089 92.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C5682

    #0C5682

    oklch(43.5% 0.098 242.2)

  • #7C374C

    #7C374C

    oklch(43.5% 0.098 2.9)

  • #48590E

    #48590E

    oklch(43.5% 0.098 122.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C5682

    #0C5682

    oklch(43.5% 0.098 242.2)

  • #703B69

    #703B69

    oklch(43.6% 0.098 332.2)

  • #764203

    #764203

    oklch(43.3% 0.098 61.9)

  • #1B6035

    #1B6035

    oklch(43.5% 0.098 152.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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