#42A1C8#42A1C8

#42A1C8 is a light, moderate cyan. Relative luminance 0.308; OKLCH L 66.9% C 0.105 H 228.6°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#42A1C8
RGBrgb(66, 161, 200)
HSLhsl(197, 55%, 52%)
HSVhsv(197, 67%, 78%)
CMYKcmyk(67%, 19.5%, 0%, 21.6%)
CIE-LABlab(62.35, -15.61, -28.19)
CIE-LCHlch(62.35, 32.22, 241.02°)
OKLaboklab(66.89% -0.0695 -0.0789)
OKLCHoklch(66.89% 0.105 228.6)
XYZxyz(25.4128, 30.8154, 59.2410)
Luminance0.3082 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A1C8 #C86942
analogous
#42C8AC #42A1C8 #425EC8
triadic
#42A1C8 #C842A1 #A1C842
tetradic
#42A1C8 #AC42C8 #C86942 #5EC842
square
#42A1C8 #AC42C8 #C86942 #5EC842
split-complementary
#42A1C8 #C8425E #C8AC42
monochromatic
#20586F #2E7E9F #42A1C8 #71B9D6 #A1D0E4

Accessibility & contrast

On white

2.93
#42A1C8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#42A1C8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42A1C8
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A1C8#FFFFFF#000000##000000
##42A1C81.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D9ECA
Deuteranopia (green-blind)
#7A91C7
Tritanopia (blue-blind)
#00ACAE
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #42a1c8;
/* rgb */ color: rgb(66, 161, 200);
/* oklch */ color: oklch(66.9% 0.105 228.6);
Tailwind
colors: {
  custom: {
    50: '#85bcd8',
    500: '#42a1c8',
    950: '#000000',
  },
}
SCSS
$custom: #42a1c8;
$custom-light: #85bcd8;
$custom-dark: #000000;
JSON
{
  "hex": "#42a1c8",
  "rgb": {
    "r": 66,
    "g": 161,
    "b": 200
  },
  "hsl": {
    "h": 197.463,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.66888,
    "c": 0.10515,
    "h": 228.6
  },
  "luminance": 0.30818
}

Semantic roles & 50–950 ramp

primary
#42A1C8
secondary
#D0A796
accent
#754ADE
background
#F8FBFD
surface
#F0F6FA
border
#CBD0D3
text
#0C1214
muted
#7D8183

Preview Lab

Preview with #42A1C8

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

Preview Lab → · Contrast checker → · Palette generator →

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