#42A1D2#42A1D2

#42A1D2 is a light, moderate cyan. Relative luminance 0.313; OKLCH L 67.3% C 0.114 H 234.7°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#42A1D2
RGBrgb(66, 161, 210)
HSLhsl(200, 62%, 54%)
HSVhsv(200, 69%, 82%)
CMYKcmyk(68.6%, 23.3%, 0%, 17.6%)
CIE-LABlab(62.76, -12.34, -33.13)
CIE-LCHlch(62.76, 35.35, 249.57°)
OKLaboklab(67.35% -0.066 -0.0931)
OKLCHoklch(67.35% 0.114 234.7)
XYZxyz(26.6199, 31.2982, 65.5985)
Luminance0.3130 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A1D2 #D27342
analogous
#42D2BB #42A1D2 #4259D2
triadic
#42A1D2 #D242A1 #A1D242
tetradic
#42A1D2 #BB42D2 #D27342 #59D242
square
#42A1D2 #BB42D2 #D27342 #59D242
split-complementary
#42A1D2 #D24259 #D2BB42
monochromatic
#1E5C7C #2981AD #42A1D2 #73BADE #A5D2EA

Accessibility & contrast

On white

2.89
#42A1D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#42A1D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42A1D2
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A1D2#FFFFFF#000000##000000
##42A1D21.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#89A0D4
Deuteranopia (green-blind)
#7692D1
Tritanopia (blue-blind)
#00AEB2
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #42a1d2;
/* rgb */ color: rgb(66, 161, 210);
/* oklch */ color: oklch(67.3% 0.114 234.7);
Tailwind
colors: {
  custom: {
    50: '#87bce0',
    500: '#42a1d2',
    950: '#000000',
  },
}
SCSS
$custom: #42a1d2;
$custom-light: #87bce0;
$custom-dark: #000000;
JSON
{
  "hex": "#42a1d2",
  "rgb": {
    "r": 66,
    "g": 161,
    "b": 210
  },
  "hsl": {
    "h": 200.417,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.67347,
    "c": 0.1141,
    "h": 234.7
  },
  "luminance": 0.31301
}

Semantic roles & 50–950 ramp

primary
#42A1D2
secondary
#D7AE99
accent
#7A43E5
background
#F8FBFD
surface
#F0F6FB
border
#CBD0D4
text
#0D1215
muted
#7D8183

Preview Lab

Preview with #42A1D2

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

Preview Lab → · Contrast checker → · Palette generator →

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