#42A4D9#42A4D9

#42A4D9 is a light, moderate cyan. Relative luminance 0.327; OKLCH L 68.4% C 0.119 H 236.1°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#42A4D9
RGBrgb(66, 164, 217)
HSLhsl(201, 67%, 55%)
HSVhsv(201, 70%, 85%)
CMYKcmyk(69.6%, 24.4%, 0%, 14.9%)
CIE-LABlab(63.93, -11.67, -35.19)
CIE-LCHlch(63.93, 37.07, 251.65°)
OKLaboklab(68.38% -0.0666 -0.099)
OKLCHoklch(68.38% 0.119 236.1)
XYZxyz(28.0417, 32.7158, 70.4691)
Luminance0.3272 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A4D9 #D97742
analogous
#42D9C3 #42A4D9 #4258D9
triadic
#42A4D9 #D942A4 #A4D942
tetradic
#42A4D9 #C342D9 #D97742 #58D942
square
#42A4D9 #C342D9 #D97742 #58D942
split-complementary
#42A4D9 #D94258 #D9C342
monochromatic
#1B6086 #2585B9 #42A4D9 #75BDE3 #A8D5ED

Accessibility & contrast

On white

2.78
#42A4D9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#42A4D9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42A4D9
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A4D9#FFFFFF#000000##000000
##42A4D91.002.787.547.54
#FFFFFF2.781.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BA3DB
Deuteranopia (green-blind)
#7694D8
Tritanopia (blue-blind)
#00B2B6
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #42a4d9;
/* rgb */ color: rgb(66, 164, 217);
/* oklch */ color: oklch(68.4% 0.119 236.1);
Tailwind
colors: {
  custom: {
    50: '#88bee5',
    500: '#42a4d9',
    950: '#000000',
  },
}
SCSS
$custom: #42a4d9;
$custom-light: #88bee5;
$custom-dark: #000000;
JSON
{
  "hex": "#42a4d9",
  "rgb": {
    "r": 66,
    "g": 164,
    "b": 217
  },
  "hsl": {
    "h": 201.06,
    "s": 66.52,
    "l": 55.49
  },
  "oklch": {
    "l": 0.68376,
    "c": 0.11931,
    "h": 236.1
  },
  "luminance": 0.32719
}

Semantic roles & 50–950 ramp

primary
#42A4D9
secondary
#DBB29C
accent
#7A3EE9
background
#F9FBFE
surface
#F1F6FC
border
#CBD0D5
text
#0D1215
muted
#7E8184

Preview Lab

Preview with #42A4D9

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

Preview Lab → · Contrast checker → · Palette generator →

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