#42A6DB#42A6DB

#42A6DB is a light, vivid cyan. Relative luminance 0.335; OKLCH L 68.9% C 0.120 H 235.6°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#42A6DB
RGBrgb(66, 166, 219)
HSLhsl(201, 68%, 56%)
HSVhsv(201, 70%, 86%)
CMYKcmyk(69.9%, 24.2%, 0%, 14.1%)
CIE-LABlab(64.60, -12.10, -35.26)
CIE-LCHlch(64.60, 37.27, 251.06°)
OKLaboklab(68.93% -0.0679 -0.0992)
OKLCHoklch(68.93% 0.12 235.6)
XYZxyz(28.6641, 33.5420, 71.9677)
Luminance0.3355 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A6DB #DB7742
analogous
#42DBC3 #42A6DB #4259DB
triadic
#42A6DB #DB42A6 #A6DB42
tetradic
#42A6DB #C342DB #DB7742 #59DB42
square
#42A6DB #C342DB #DB7742 #59DB42
split-complementary
#42A6DB #DB4259 #DBC342
monochromatic
#1A6289 #2487BC #42A6DB #75BEE5 #A9D6EF

Accessibility & contrast

On white

2.72
#42A6DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#42A6DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42A6DB
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A6DB#FFFFFF#000000##000000
##42A6DB1.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DA5DD
Deuteranopia (green-blind)
#7896DA
Tritanopia (blue-blind)
#00B4B8
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #42a6db;
/* rgb */ color: rgb(66, 166, 219);
/* oklch */ color: oklch(68.9% 0.120 235.6);
Tailwind
colors: {
  custom: {
    50: '#88c0e6',
    500: '#42a6db',
    950: '#000000',
  },
}
SCSS
$custom: #42a6db;
$custom-light: #88c0e6;
$custom-dark: #000000;
JSON
{
  "hex": "#42a6db",
  "rgb": {
    "r": 66,
    "g": 166,
    "b": 219
  },
  "hsl": {
    "h": 200.784,
    "s": 68,
    "l": 55.882
  },
  "oklch": {
    "l": 0.68934,
    "c": 0.12019,
    "h": 235.6
  },
  "luminance": 0.33545
}

Semantic roles & 50–950 ramp

primary
#42A6DB
secondary
#DCB39D
accent
#793DEB
background
#F9FBFE
surface
#F1F7FC
border
#CBD0D5
text
#0D1216
muted
#7E8184

Preview Lab

Preview with #42A6DB

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

Preview Lab → · Contrast checker → · Palette generator →

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