#02A2FE#02A2FE

#02A2FE is a light, vivid cyan. Relative luminance 0.330; OKLCH L 68.9% C 0.174 H 245.2°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#02A2FE
RGBrgb(2, 162, 254)
HSLhsl(202, 99%, 50%)
HSVhsv(202, 99%, 100%)
CMYKcmyk(99.2%, 36.2%, 0%, 0.4%)
CIE-LABlab(64.17, -2.00, -55.21)
CIE-LCHlch(64.17, 55.25, 267.92°)
OKLaboklab(68.86% -0.0728 -0.1577)
OKLCHoklch(68.86% 0.174 245.2)
XYZxyz(30.8277, 33.0051, 98.4925)
Luminance0.3301 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02A2FE #FE5E02
analogous
#02FEDC #02A2FE #0224FE
triadic
#02A2FE #FE02A2 #A2FE02
tetradic
#02A2FE #DC02FE #FE5E02 #24FE02
square
#02A2FE #DC02FE #FE5E02 #24FE02
split-complementary
#02A2FE #FE0224 #FEDC02
monochromatic
#015585 #017BC2 #02A2FE #3FB8FE #7CCFFE

Accessibility & contrast

On white

2.76
#02A2FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#02A2FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #02A2FE
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02A2FE#FFFFFF#000000##000000
##02A2FE1.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A6FF
Deuteranopia (green-blind)
#5293FC
Tritanopia (blue-blind)
#00B9C4
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #02a2fe;
/* rgb */ color: rgb(2, 162, 254);
/* oklch */ color: oklch(68.9% 0.174 245.2);
Tailwind
colors: {
  custom: {
    50: '#81bdff',
    500: '#02a2fe',
    950: '#000000',
  },
}
SCSS
$custom: #02a2fe;
$custom-light: #81bdff;
$custom-dark: #000000;
JSON
{
  "hex": "#02a2fe",
  "rgb": {
    "r": 2,
    "g": 162,
    "b": 254
  },
  "hsl": {
    "h": 201.905,
    "s": 99.213,
    "l": 50.196
  },
  "oklch": {
    "l": 0.68865,
    "c": 0.17372,
    "h": 245.2
  },
  "luminance": 0.33009
}

Semantic roles & 50–950 ramp

primary
#02A2FE
secondary
#E69F76
accent
#7729FF
background
#F9FBFF
surface
#F1F6FF
border
#CBD0D7
text
#0D1218
muted
#7E8186

Preview Lab

Preview with #02A2FE

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#02A2FE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva