#42A8DB#42A8DB

#42A8DB is a light, moderate cyan. Relative luminance 0.343; OKLCH L 69.4% C 0.119 H 234.1°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#42A8DB
RGBrgb(66, 168, 219)
HSLhsl(200, 68%, 56%)
HSVhsv(200, 70%, 86%)
CMYKcmyk(69.9%, 23.3%, 0%, 14.1%)
CIE-LABlab(65.18, -13.19, -34.35)
CIE-LCHlch(65.18, 36.79, 249.00°)
OKLaboklab(69.4% -0.0698 -0.0966)
OKLCHoklch(69.4% 0.119 234.1)
XYZxyz(29.0305, 34.2747, 72.0898)
Luminance0.3428 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A8DB #DB7542
analogous
#42DBC1 #42A8DB #425BDB
triadic
#42A8DB #DB42A8 #A8DB42
tetradic
#42A8DB #C142DB #DB7542 #5BDB42
square
#42A8DB #C142DB #DB7542 #5BDB42
split-complementary
#42A8DB #DB425B #DBC142
monochromatic
#1A6489 #2489BC #42A8DB #75C0E5 #A9D7EF

Accessibility & contrast

On white

2.67
#42A8DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#42A8DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42A8DB
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A8DB#FFFFFF#000000##000000
##42A8DB1.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FA7DD
Deuteranopia (green-blind)
#7A98DA
Tritanopia (blue-blind)
#00B5B9
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #42a8db;
/* rgb */ color: rgb(66, 168, 219);
/* oklch */ color: oklch(69.4% 0.119 234.1);
Tailwind
colors: {
  custom: {
    50: '#88c1e6',
    500: '#42a8db',
    950: '#000000',
  },
}
SCSS
$custom: #42a8db;
$custom-light: #88c1e6;
$custom-dark: #000000;
JSON
{
  "hex": "#42a8db",
  "rgb": {
    "r": 66,
    "g": 168,
    "b": 219
  },
  "hsl": {
    "h": 200,
    "s": 68,
    "l": 55.882
  },
  "oklch": {
    "l": 0.69398,
    "c": 0.11916,
    "h": 234.1
  },
  "luminance": 0.34278
}

Semantic roles & 50–950 ramp

primary
#42A8DB
secondary
#DCB29D
accent
#773DEB
background
#F9FBFE
surface
#F1F7FC
border
#CBD0D5
text
#0D1216
muted
#7E8184

Preview Lab

Preview with #42A8DB

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

Preview Lab → · Contrast checker → · Palette generator →

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