#42A7D2#42A7D2

#42A7D2 is a light, moderate cyan. Relative luminance 0.334; OKLCH L 68.8% C 0.112 H 229.8°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#42A7D2
RGBrgb(66, 167, 210)
HSLhsl(198, 62%, 54%)
HSVhsv(198, 69%, 82%)
CMYKcmyk(68.6%, 20.5%, 0%, 17.6%)
CIE-LABlab(64.52, -15.60, -30.40)
CIE-LCHlch(64.52, 34.16, 242.84°)
OKLaboklab(68.75% -0.072 -0.0852)
OKLCHoklch(68.75% 0.112 229.8)
XYZxyz(27.6937, 33.4458, 65.9564)
Luminance0.3345 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A7D2 #D26D42
analogous
#42D2B5 #42A7D2 #425FD2
triadic
#42A7D2 #D242A7 #A7D242
tetradic
#42A7D2 #B542D2 #D26D42 #5FD242
square
#42A7D2 #B542D2 #D26D42 #5FD242
split-complementary
#42A7D2 #D2425F #D2B542
monochromatic
#1E607C #2986AD #42A7D2 #73BEDE #A5D5EA

Accessibility & contrast

On white

2.73
#42A7D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#42A7D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42A7D2
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A7D2#FFFFFF#000000##000000
##42A7D21.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#91A5D4
Deuteranopia (green-blind)
#7D96D1
Tritanopia (blue-blind)
#00B3B5
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #42a7d2;
/* rgb */ color: rgb(66, 167, 210);
/* oklch */ color: oklch(68.8% 0.112 229.8);
Tailwind
colors: {
  custom: {
    50: '#87c1e0',
    500: '#42a7d2',
    950: '#000000',
  },
}
SCSS
$custom: #42a7d2;
$custom-light: #87c1e0;
$custom-dark: #000000;
JSON
{
  "hex": "#42a7d2",
  "rgb": {
    "r": 66,
    "g": 167,
    "b": 210
  },
  "hsl": {
    "h": 197.917,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.68751,
    "c": 0.11154,
    "h": 229.8
  },
  "luminance": 0.33449
}

Semantic roles & 50–950 ramp

primary
#42A7D2
secondary
#D7AC99
accent
#7343E5
background
#F8FBFD
surface
#F0F7FB
border
#CBD0D4
text
#0D1215
muted
#7D8183

Preview Lab

Preview with #42A7D2

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

Preview Lab → · Contrast checker → · Palette generator →

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