#0C5ACC

Closest named color: Azul (#1D5DEC). oklch(49.8% 0.19 259.7), rgb(12, 90, 204).

Aa

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

About this color

#0C5ACC is a medium-dark, vivid blue. In OKLCH its lightness is 50%, its chroma 0.190 and its hue 260°. Its hue sits on the cool side of the wheel. The nearest named color is Azul (#1D5DEC), ΔE 0.051 away. White text reads best on it, at 6.26:1.

Hue familyBlues
Lightnessmedium-dark (50%)
Chromavivid (0.190)
Temperaturecool
Nearest nameAzul (#1D5DEC)
Black text3.35:1
White text6.26:1

Values

HEX#0C5ACC
RGBrgb(12, 90, 204)
HSLhsl(216, 89%, 42%)
OKLCHoklch(49.8% 0.19 259.7)

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 #0C5ACC 6.26:1 AA Lc -85.6 Fine for body text
Black text on #0C5ACC 3.35:1 AA large text Lc 23.6 Dividers and decoration only
#0C5ACC text on white 6.26:1 AA Lc 80.4 Fine for body text
#0C5ACC text on black 3.35:1 AA large text Lc -21.4 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

    #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

    #68A0FB

    oklch(70.7% 0.146 259.7)

  6. Step 500

    500

    #3D85F9

    oklch(63.2% 0.188 259.6)

  7. Step 600

    600

    #186BE8

    oklch(55.7% 0.204 259.6)

  8. Step 700

    700 (this color)

    #0C5ACC

    oklch(49.8% 0.19 259.7)

  9. Step 800

    800

    #0D49A3

    oklch(42.8% 0.157 259.6)

  10. Step 900

    900

    #143E81

    oklch(37.7% 0.122 259.7)

  11. Step 950

    950

    #0D254C

    oklch(27% 0.078 259.7)

Export this scale for Tailwind in the Tailwind colors tool

#0C5ACC 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)#0069D00.038
Deuteranopia (no green cones)#0058CA0.007
Tritanopia (no blue cones)#00778A0.145
Achromatopsia (no color)#6060600.191

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C5ACC

    #0C5ACC

    oklch(49.8% 0.19 259.7)

  • #815B00

    #815B00

    oklch(49.8% 0.103 80.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C5ACC

    #0C5ACC

    oklch(49.8% 0.19 259.7)

  • #006C90

    #006C90

    oklch(49.8% 0.099 230.1)

  • #6644C5

    #6644C5

    oklch(49.9% 0.19 289.8)

Open the analogous palette in the generator

Split complementary

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

  • #0C5ACC

    #0C5ACC

    oklch(49.8% 0.19 259.7)

  • #9C4600

    #9C4600

    oklch(49.8% 0.133 49.3)

  • #676700

    #676700

    oklch(49.7% 0.108 109.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C5ACC

    #0C5ACC

    oklch(49.8% 0.19 259.7)

  • #B61332

    #B61332

    oklch(49.8% 0.191 19.8)

  • #237600

    #237600

    oklch(49.6% 0.159 139.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C5ACC

    #0C5ACC

    oklch(49.8% 0.19 259.7)

  • #AA1B72

    #AA1B72

    oklch(49.8% 0.191 349.7)

  • #815B00

    #815B00

    oklch(49.8% 0.103 80.3)

  • #00745A

    #00745A

    oklch(49.7% 0.098 170.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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