#42ADE2#42ADE2

#42ADE2 is a light, vivid cyan. Relative luminance 0.365; OKLCH L 70.9% C 0.123 H 234.1°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#42ADE2
RGBrgb(66, 173, 226)
HSLhsl(200, 73%, 57%)
HSVhsv(200, 71%, 89%)
CMYKcmyk(70.8%, 23.5%, 0%, 11.4%)
CIE-LABlab(66.93, -13.59, -35.49)
CIE-LCHlch(66.93, 38.00, 249.05°)
OKLaboklab(70.88% -0.0723 -0.0998)
OKLCHoklch(70.88% 0.123 234.1)
XYZxyz(30.9124, 36.5329, 77.3591)
Luminance0.3654 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42ADE2 #E27742
analogous
#42E2C7 #42ADE2 #425DE2
triadic
#42ADE2 #E242AD #ADE242
tetradic
#42ADE2 #C742E2 #E27742 #5DE242
square
#42ADE2 #C742E2 #E27742 #5DE242
split-complementary
#42ADE2 #E2425D #E2C742
monochromatic
#176A93 #1F90C8 #42ADE2 #77C4EA #ACDBF2

Accessibility & contrast

On white

2.53
#42ADE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#42ADE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42ADE2
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42ADE2#FFFFFF#000000##000000
##42ADE21.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#93ACE5
Deuteranopia (green-blind)
#7D9CE1
Tritanopia (blue-blind)
#00BBBF
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #42ade2;
/* rgb */ color: rgb(66, 173, 226);
/* oklch */ color: oklch(70.9% 0.123 234.1);
Tailwind
colors: {
  custom: {
    50: '#89c5eb',
    500: '#42ade2',
    950: '#000000',
  },
}
SCSS
$custom: #42ade2;
$custom-light: #89c5eb;
$custom-dark: #000000;
JSON
{
  "hex": "#42ade2",
  "rgb": {
    "r": 66,
    "g": 173,
    "b": 226
  },
  "hsl": {
    "h": 199.875,
    "s": 73.394,
    "l": 57.255
  },
  "oklch": {
    "l": 0.70883,
    "c": 0.12325,
    "h": 234.1
  },
  "luminance": 0.36536
}

Semantic roles & 50–950 ramp

primary
#42ADE2
secondary
#E0B59F
accent
#7538F0
background
#F9FCFE
surface
#F1F8FD
border
#CBD1D5
text
#0D1216
muted
#7E8184

Preview Lab

Preview with #42ADE2

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

Preview Lab → · Contrast checker → · Palette generator →

#42ADE2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva