#42ABCD#42ABCD

#42ABCD is a light, moderate cyan. Relative luminance 0.347; OKLCH L 69.5% C 0.107 H 223.1°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#42ABCD
RGBrgb(66, 171, 205)
HSLhsl(195, 58%, 53%)
HSVhsv(195, 68%, 80%)
CMYKcmyk(67.8%, 16.6%, 0%, 19.6%)
CIE-LABlab(65.51, -19.32, -26.11)
CIE-LCHlch(65.51, 32.48, 233.50°)
OKLaboklab(69.47% -0.0779 -0.0729)
OKLCHoklch(69.47% 0.107 223.1)
XYZxyz(27.8246, 34.6888, 62.9750)
Luminance0.3469 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42ABCD #CD6442
analogous
#42CDA9 #42ABCD #4265CD
triadic
#42ABCD #CD42AB #ABCD42
tetradic
#42ABCD #A942CD #CD6442 #65CD42
square
#42ABCD #A942CD #CD6442 #65CD42
split-complementary
#42ABCD #CD4265 #CDA942
monochromatic
#1F6076 #2C88A6 #42ABCD #72C1DA #A3D6E7

Accessibility & contrast

On white

2.65
#42ABCD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#42ABCD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42ABCD
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42ABCD#FFFFFF#000000##000000
##42ABCD1.002.657.947.94
#FFFFFF2.651.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#98A7CF
Deuteranopia (green-blind)
#8499CD
Tritanopia (blue-blind)
#00B5B6
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #42abcd;
/* rgb */ color: rgb(66, 171, 205);
/* oklch */ color: oklch(69.5% 0.107 223.1);
Tailwind
colors: {
  custom: {
    50: '#87c4dc',
    500: '#42abcd',
    950: '#000000',
  },
}
SCSS
$custom: #42abcd;
$custom-light: #87c4dc;
$custom-dark: #000000;
JSON
{
  "hex": "#42abcd",
  "rgb": {
    "r": 66,
    "g": 171,
    "b": 205
  },
  "hsl": {
    "h": 194.676,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.69474,
    "c": 0.10667,
    "h": 223.1
  },
  "luminance": 0.34692
}

Semantic roles & 50–950 ramp

primary
#42ABCD
secondary
#D3A697
accent
#6C46E1
background
#F8FCFD
surface
#F0F8FB
border
#CBD1D4
text
#0D1215
muted
#7D8183

Preview Lab

Preview with #42ABCD

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

Preview Lab → · Contrast checker → · Palette generator →

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