#0CB2F2

Closest named color: Deep Sky Blue (#00BFFF). oklch(71.9% 0.148 233.7), rgb(12, 178, 242).

Aa

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

About this color

#0CB2F2 is a medium-light, vivid blue. In OKLCH its lightness is 72%, its chroma 0.148 and its hue 234°. Its hue sits on the cool side of the wheel. The nearest named color is Deep Sky Blue (#00BFFF), ΔE 0.037 away. Black text reads best on it, at 8.66:1.

Hue familyBlues
Lightnessmedium-light (72%)
Chromavivid (0.148)
Temperaturecool
Nearest nameDeep Sky Blue (#00BFFF)
Black text8.66:1
White text2.42:1

Values

HEX#0CB2F2
RGBrgb(12, 178, 242)
HSLhsl(197, 91%, 50%)
OKLCHoklch(71.9% 0.148 233.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 #0CB2F2 2.42:1 Fails Lc -52.0 Large or bold text, headings
Black text on #0CB2F2 8.66:1 AAA Lc 56.9 Large or bold text, headings
#0CB2F2 text on white 2.42:1 Fails Lc 47.1 Large or bold text, headings
#0CB2F2 text on black 8.66:1 AAA Lc -55.0 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

    #EEF7FD

    oklch(97.1% 0.013 236.6)

  2. Step 100

    100

    #D9EDF9

    oklch(93.5% 0.027 234)

  3. Step 200

    200

    #B9E0F6

    oklch(88.6% 0.051 232.8)

  4. Step 300

    300

    #82CBF3

    oklch(80.9% 0.092 233.5)

  5. Step 400

    400 (this color)

    #0CB2F2

    oklch(71.9% 0.148 233.7)

  6. Step 500

    500

    #0095CC

    oklch(63.1% 0.132 233.7)

  7. Step 600

    600

    #007DAC

    oklch(55.5% 0.116 233.8)

  8. Step 700

    700

    #006991

    oklch(49% 0.102 233.6)

  9. Step 800

    800

    #005678

    oklch(42.7% 0.089 233.9)

  10. Step 900

    900

    #004865

    oklch(37.8% 0.079 233.7)

  11. Step 950

    950

    #002A3D

    oklch(26.9% 0.056 233.8)

Export this scale for Tailwind in the Tailwind colors tool

#0CB2F2 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)#92B1F50.092
Deuteranopia (no green cones)#769EF10.076
Tritanopia (no blue cones)#00C3C80.089
Achromatopsia (no color)#A6A6A60.148

Harmonies

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

Complementary

The opposite hue (180°).

  • #0CB2F2

    #0CB2F2

    oklch(71.9% 0.148 233.7)

  • #EB873F

    #EB873F

    oklch(71.9% 0.149 53.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0CB2F2

    #0CB2F2

    oklch(71.9% 0.148 233.7)

  • #00BAC7

    #00BAC7

    oklch(71.9% 0.123 203.7)

  • #75A2FF

    #75A2FF

    oklch(72% 0.145 263.6)

Open the analogous palette in the generator

Split complementary

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

  • #0CB2F2

    #0CB2F2

    oklch(71.9% 0.148 233.7)

  • #F37B77

    #F37B77

    oklch(71.9% 0.148 23.4)

  • #D09B00

    #D09B00

    oklch(72% 0.148 84)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0CB2F2

    #0CB2F2

    oklch(71.9% 0.148 233.7)

  • #EA7AAB

    #EA7AAB

    oklch(72% 0.148 353.9)

  • #A4AE29

    #A4AE29

    oklch(72% 0.149 114)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0CB2F2

    #0CB2F2

    oklch(71.9% 0.148 233.7)

  • #D182D9

    #D182D9

    oklch(71.9% 0.149 323.6)

  • #EB873F

    #EB873F

    oklch(71.9% 0.149 53.3)

  • #65BC65

    #65BC65

    oklch(72% 0.149 143.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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