#42A1CD#42A1CD

#42A1CD is a light, moderate cyan. Relative luminance 0.311; OKLCH L 67.1% C 0.109 H 231.8°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#42A1CD
RGBrgb(66, 161, 205)
HSLhsl(199, 58%, 53%)
HSVhsv(199, 68%, 80%)
CMYKcmyk(67.8%, 21.5%, 0%, 19.6%)
CIE-LABlab(62.55, -13.98, -30.66)
CIE-LCHlch(62.55, 33.70, 245.48°)
OKLaboklab(67.11% -0.0677 -0.086)
OKLCHoklch(67.11% 0.109 231.8)
XYZxyz(26.0067, 31.0529, 62.3690)
Luminance0.3106 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A1CD #CD6E42
analogous
#42CDB4 #42A1CD #425BCD
triadic
#42A1CD #CD42A1 #A1CD42
tetradic
#42A1CD #B442CD #CD6E42 #5BCD42
square
#42A1CD #B442CD #CD6E42 #5BCD42
split-complementary
#42A1CD #CD425B #CDB442
monochromatic
#1F5A76 #2C7FA6 #42A1CD #72B9DA #A3D1E7

Accessibility & contrast

On white

2.91
#42A1CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#42A1CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42A1CD
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A1CD#FFFFFF#000000##000000
##42A1CD1.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B9FCF
Deuteranopia (green-blind)
#7891CC
Tritanopia (blue-blind)
#00ADB0
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #42a1cd;
/* rgb */ color: rgb(66, 161, 205);
/* oklch */ color: oklch(67.1% 0.109 231.8);
Tailwind
colors: {
  custom: {
    50: '#86bcdc',
    500: '#42a1cd',
    950: '#000000',
  },
}
SCSS
$custom: #42a1cd;
$custom-light: #86bcdc;
$custom-dark: #000000;
JSON
{
  "hex": "#42a1cd",
  "rgb": {
    "r": 66,
    "g": 161,
    "b": 205
  },
  "hsl": {
    "h": 198.993,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.67114,
    "c": 0.10946,
    "h": 231.8
  },
  "luminance": 0.31056
}

Semantic roles & 50–950 ramp

primary
#42A1CD
secondary
#D3AA97
accent
#7746E1
background
#F8FBFD
surface
#F0F6FB
border
#CBD0D4
text
#0C1215
muted
#7D8183

Preview Lab

Preview with #42A1CD

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

Preview Lab → · Contrast checker → · Palette generator →

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