#42A1D5#42A1D5

#42A1D5 is a light, moderate cyan. Relative luminance 0.315; OKLCH L 67.5% C 0.117 H 236.3°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#42A1D5
RGBrgb(66, 161, 213)
HSLhsl(201, 64%, 55%)
HSVhsv(201, 69%, 84%)
CMYKcmyk(69%, 24.4%, 0%, 16.5%)
CIE-LABlab(62.88, -11.35, -34.60)
CIE-LCHlch(62.88, 36.41, 251.84°)
OKLaboklab(67.49% -0.065 -0.0973)
OKLCHoklch(67.49% 0.117 236.3)
XYZxyz(26.9972, 31.4491, 67.5854)
Luminance0.3145 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A1D5 #D57642
analogous
#42D5BF #42A1D5 #4258D5
triadic
#42A1D5 #D542A1 #A1D542
tetradic
#42A1D5 #BF42D5 #D57642 #58D542
square
#42A1D5 #BF42D5 #D57642 #58D542
split-complementary
#42A1D5 #D54258 #D5BF42
monochromatic
#1C5D80 #2881B2 #42A1D5 #74BAE0 #A6D3EB

Accessibility & contrast

On white

2.88
#42A1D5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#42A1D5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42A1D5
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A1D5#FFFFFF#000000##000000
##42A1D51.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A0D7
Deuteranopia (green-blind)
#7492D4
Tritanopia (blue-blind)
#00AEB3
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #42a1d5;
/* rgb */ color: rgb(66, 161, 213);
/* oklch */ color: oklch(67.5% 0.117 236.3);
Tailwind
colors: {
  custom: {
    50: '#87bce2',
    500: '#42a1d5',
    950: '#000000',
  },
}
SCSS
$custom: #42a1d5;
$custom-light: #87bce2;
$custom-dark: #000000;
JSON
{
  "hex": "#42a1d5",
  "rgb": {
    "r": 66,
    "g": 161,
    "b": 213
  },
  "hsl": {
    "h": 201.224,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.67489,
    "c": 0.11702,
    "h": 236.3
  },
  "luminance": 0.31452
}

Semantic roles & 50–950 ramp

primary
#42A1D5
secondary
#D8B09A
accent
#7C41E7
background
#F8FBFD
surface
#F0F6FB
border
#CBD0D4
text
#0D1215
muted
#7D8183

Preview Lab

Preview with #42A1D5

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

Preview Lab → · Contrast checker → · Palette generator →

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