#0CA3FD

Closest named color: Chefchaouen Blue (#4895EF). oklch(69.1% 0.171 244.8), rgb(12, 163, 253).

Aa

Black text reads best on this color (7.67:1).

About this color

#0CA3FD is a medium-light, vivid blue. In OKLCH its lightness is 69%, its chroma 0.171 and its hue 245°. Its hue sits on the cool side of the wheel. The nearest named color is Chefchaouen Blue (#4895EF), ΔE 0.041 away. Black text reads best on it, at 7.67:1.

Hue familyBlues
Lightnessmedium-light (69%)
Chromavivid (0.171)
Temperaturecool
Nearest nameChefchaouen Blue (#4895EF)
Black text7.67:1
White text2.73:1

Values

HEX#0CA3FD
RGBrgb(12, 163, 253)
HSLhsl(202, 98%, 52%)
OKLCHoklch(69.1% 0.171 244.8)

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 #0CA3FD 2.73:1 Fails Lc -57.5 Large or bold text, headings
Black text on #0CA3FD 7.67:1 AAA Lc 51.8 Large or bold text, headings
#0CA3FD text on white 2.73:1 Fails Lc 52.3 Large or bold text, headings
#0CA3FD text on black 7.67:1 AAA Lc -49.6 Large or bold text, headings

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

  1. Step 50

    50

    #EEF7FF

    oklch(97.2% 0.014 244.7)

  2. Step 100

    100

    #D9EDFE

    oklch(93.6% 0.031 243.7)

  3. Step 200

    200

    #B9DEFE

    oklch(88.5% 0.059 244.6)

  4. Step 300

    300

    #86C8FF

    oklch(80.9% 0.103 244.7)

  5. Step 400

    400 (this color)

    #0CA3FD

    oklch(69.1% 0.171 244.8)

  6. Step 500

    500

    #0090E2

    oklch(63.1% 0.159 245)

  7. Step 600

    600

    #0079BE

    oklch(55.6% 0.139 244.6)

  8. Step 700

    700

    #0065A1

    oklch(49% 0.124 245.1)

  9. Step 800

    800

    #005385

    oklch(42.7% 0.107 244.8)

  10. Step 900

    900

    #004570

    oklch(37.7% 0.095 244.9)

  11. Step 950

    950

    #002945

    oklch(27.1% 0.068 244.5)

Export this scale for Tailwind in the Tailwind colors tool

#0CA3FD 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)#77A7FF0.069
Deuteranopia (no green cones)#5693FB0.050
Tritanopia (no blue cones)#00B9C40.118
Achromatopsia (no color)#9C9C9C0.171

Harmonies

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

Complementary

The opposite hue (180°).

  • #0CA3FD

    #0CA3FD

    oklch(69.1% 0.171 244.8)

  • #DC8400

    #DC8400

    oklch(69.2% 0.155 65)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0CA3FD

    #0CA3FD

    oklch(69.1% 0.171 244.8)

  • #00AECA

    #00AECA

    oklch(69.1% 0.122 214.6)

  • #7F90FF

    #7F90FF

    oklch(69.1% 0.163 274.8)

Open the analogous palette in the generator

Split complementary

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

  • #0CA3FD

    #0CA3FD

    oklch(69.1% 0.171 244.8)

  • #F26D4D

    #F26D4D

    oklch(69.1% 0.171 34.8)

  • #B89900

    #B89900

    oklch(69.1% 0.142 94.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0CA3FD

    #0CA3FD

    oklch(69.1% 0.171 244.8)

  • #EF678E

    #EF678E

    oklch(69.1% 0.171 4.8)

  • #84AC0B

    #84AC0B

    oklch(69% 0.17 124.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0CA3FD

    #0CA3FD

    oklch(69.1% 0.171 244.8)

  • #DA6EC5

    #DA6EC5

    oklch(69.2% 0.17 335.1)

  • #DC8400

    #DC8400

    oklch(69.2% 0.155 65)

  • #03B96A

    #03B96A

    oklch(69% 0.171 154.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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