#42A7CD#42A7CD

#42A7CD is a light, moderate cyan. Relative luminance 0.332; OKLCH L 68.5% C 0.107 H 226.6°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#42A7CD
RGBrgb(66, 167, 205)
HSLhsl(196, 58%, 53%)
HSVhsv(196, 68%, 80%)
CMYKcmyk(67.8%, 18.5%, 0%, 19.6%)
CIE-LABlab(64.32, -17.21, -27.93)
CIE-LCHlch(64.32, 32.80, 238.36°)
OKLaboklab(68.53% -0.0738 -0.0781)
OKLCHoklch(68.53% 0.107 226.6)
XYZxyz(27.0805, 33.2005, 62.7269)
Luminance0.3320 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A7CD #CD6842
analogous
#42CDAD #42A7CD #4261CD
triadic
#42A7CD #CD42A7 #A7CD42
tetradic
#42A7CD #AD42CD #CD6842 #61CD42
square
#42A7CD #AD42CD #CD6842 #61CD42
split-complementary
#42A7CD #CD4261 #CDAD42
monochromatic
#1F5E76 #2C85A6 #42A7CD #72BEDA #A3D4E7

Accessibility & contrast

On white

2.75
#42A7CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#42A7CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42A7CD
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A7CD#FFFFFF#000000##000000
##42A7CD1.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#93A4CF
Deuteranopia (green-blind)
#7F96CD
Tritanopia (blue-blind)
#00B2B3
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #42a7cd;
/* rgb */ color: rgb(66, 167, 205);
/* oklch */ color: oklch(68.5% 0.107 226.6);
Tailwind
colors: {
  custom: {
    50: '#86c1dc',
    500: '#42a7cd',
    950: '#000000',
  },
}
SCSS
$custom: #42a7cd;
$custom-light: #86c1dc;
$custom-dark: #000000;
JSON
{
  "hex": "#42a7cd",
  "rgb": {
    "r": 66,
    "g": 167,
    "b": 205
  },
  "hsl": {
    "h": 196.403,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.68528,
    "c": 0.10747,
    "h": 226.6
  },
  "luminance": 0.33203
}

Semantic roles & 50–950 ramp

primary
#42A7CD
secondary
#D3A897
accent
#7146E1
background
#F8FBFD
surface
#F0F7FB
border
#CBD0D4
text
#0C1215
muted
#7D8183

Preview Lab

Preview with #42A7CD

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

Preview Lab → · Contrast checker → · Palette generator →

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