#42A1CE#42A1CE

#42A1CE is a light, moderate cyan. Relative luminance 0.311; OKLCH L 67.2% C 0.110 H 232.4°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#42A1CE
RGBrgb(66, 161, 206)
HSLhsl(199, 59%, 53%)
HSVhsv(199, 68%, 81%)
CMYKcmyk(68%, 21.8%, 0%, 19.2%)
CIE-LABlab(62.59, -13.66, -31.16)
CIE-LCHlch(62.59, 34.02, 246.33°)
OKLaboklab(67.16% -0.0674 -0.0874)
OKLCHoklch(67.16% 0.11 232.4)
XYZxyz(26.1278, 31.1014, 63.0067)
Luminance0.3110 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A1CE #CE6F42
analogous
#42CEB5 #42A1CE #425BCE
triadic
#42A1CE #CE42A1 #A1CE42
tetradic
#42A1CE #B542CE #CE6F42 #5BCE42
square
#42A1CE #B542CE #CE6F42 #5BCE42
split-complementary
#42A1CE #CE425B #CEB542
monochromatic
#1F5B77 #2B80A7 #42A1CE #73B9DB #A3D1E7

Accessibility & contrast

On white

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

On black

7.22
#42A1CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42A1CE
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A1CE#FFFFFF#000000##000000
##42A1CE1.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B9FD0
Deuteranopia (green-blind)
#7791CD
Tritanopia (blue-blind)
#00ADB0
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #42a1ce;
/* rgb */ color: rgb(66, 161, 206);
/* oklch */ color: oklch(67.2% 0.110 232.4);
Tailwind
colors: {
  custom: {
    50: '#86bcdd',
    500: '#42a1ce',
    950: '#000000',
  },
}
SCSS
$custom: #42a1ce;
$custom-light: #86bcdd;
$custom-dark: #000000;
JSON
{
  "hex": "#42a1ce",
  "rgb": {
    "r": 66,
    "g": 161,
    "b": 206
  },
  "hsl": {
    "h": 199.286,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.6716,
    "c": 0.11037,
    "h": 232.4
  },
  "luminance": 0.31104
}

Semantic roles & 50–950 ramp

primary
#42A1CE
secondary
#D4AB98
accent
#7846E2
background
#F8FBFD
surface
#F0F6FB
border
#CBD0D4
text
#0C1215
muted
#7D8183

Preview Lab

Preview with #42A1CE

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

Preview Lab → · Contrast checker → · Palette generator →

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