#42A4D2#42A4D2

#42A4D2 is a light, moderate cyan. Relative luminance 0.324; OKLCH L 68.0% C 0.113 H 232.3°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#42A4D2
RGBrgb(66, 164, 210)
HSLhsl(199, 62%, 54%)
HSVhsv(199, 69%, 82%)
CMYKcmyk(68.6%, 21.9%, 0%, 17.6%)
CIE-LABlab(63.64, -13.98, -31.76)
CIE-LCHlch(63.64, 34.70, 246.25°)
OKLaboklab(68.05% -0.069 -0.0891)
OKLCHoklch(68.05% 0.113 232.3)
XYZxyz(27.1505, 32.3593, 65.7754)
Luminance0.3236 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A4D2 #D27042
analogous
#42D2B8 #42A4D2 #425CD2
triadic
#42A4D2 #D242A4 #A4D242
tetradic
#42A4D2 #B842D2 #D27042 #5CD242
square
#42A4D2 #B842D2 #D27042 #5CD242
split-complementary
#42A4D2 #D2425C #D2B842
monochromatic
#1E5E7C #2983AD #42A4D2 #73BCDE #A5D4EA

Accessibility & contrast

On white

2.81
#42A4D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#42A4D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42A4D2
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A4D2#FFFFFF#000000##000000
##42A4D21.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DA2D4
Deuteranopia (green-blind)
#7994D1
Tritanopia (blue-blind)
#00B0B3
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #42a4d2;
/* rgb */ color: rgb(66, 164, 210);
/* oklch */ color: oklch(68.0% 0.113 232.3);
Tailwind
colors: {
  custom: {
    50: '#87bfe0',
    500: '#42a4d2',
    950: '#000000',
  },
}
SCSS
$custom: #42a4d2;
$custom-light: #87bfe0;
$custom-dark: #000000;
JSON
{
  "hex": "#42a4d2",
  "rgb": {
    "r": 66,
    "g": 164,
    "b": 210
  },
  "hsl": {
    "h": 199.167,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.68048,
    "c": 0.11271,
    "h": 232.3
  },
  "luminance": 0.32362
}

Semantic roles & 50–950 ramp

primary
#42A4D2
secondary
#D7AD99
accent
#7743E5
background
#F8FBFD
surface
#F0F7FB
border
#CBD0D4
text
#0D1215
muted
#7D8183

Preview Lab

Preview with #42A4D2

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

Preview Lab → · Contrast checker → · Palette generator →

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