#42A8CE#42A8CE

#42A8CE is a light, moderate cyan. Relative luminance 0.336; OKLCH L 68.8% C 0.108 H 226.4°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#42A8CE
RGBrgb(66, 168, 206)
HSLhsl(196, 59%, 53%)
HSVhsv(196, 68%, 81%)
CMYKcmyk(68%, 18.4%, 0%, 19.2%)
CIE-LABlab(64.66, -17.42, -27.97)
CIE-LCHlch(64.66, 32.95, 238.08°)
OKLaboklab(68.81% -0.0744 -0.0782)
OKLCHoklch(68.81% 0.108 226.4)
XYZxyz(27.3855, 33.6167, 63.4260)
Luminance0.3362 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A8CE #CE6842
analogous
#42CEAE #42A8CE #4262CE
triadic
#42A8CE #CE42A8 #A8CE42
tetradic
#42A8CE #AE42CE #CE6842 #62CE42
square
#42A8CE #AE42CE #CE6842 #62CE42
split-complementary
#42A8CE #CE4262 #CEAE42
monochromatic
#1F5F77 #2B86A7 #42A8CE #73BEDB #A3D5E7

Accessibility & contrast

On white

2.72
#42A8CE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#42A8CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42A8CE
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A8CE#FFFFFF#000000##000000
##42A8CE1.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#94A5D0
Deuteranopia (green-blind)
#8097CE
Tritanopia (blue-blind)
#00B3B4
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #42a8ce;
/* rgb */ color: rgb(66, 168, 206);
/* oklch */ color: oklch(68.8% 0.108 226.4);
Tailwind
colors: {
  custom: {
    50: '#86c2dd',
    500: '#42a8ce',
    950: '#000000',
  },
}
SCSS
$custom: #42a8ce;
$custom-light: #86c2dd;
$custom-dark: #000000;
JSON
{
  "hex": "#42a8ce",
  "rgb": {
    "r": 66,
    "g": 168,
    "b": 206
  },
  "hsl": {
    "h": 196.286,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.68808,
    "c": 0.108,
    "h": 226.4
  },
  "luminance": 0.3362
}

Semantic roles & 50–950 ramp

primary
#42A8CE
secondary
#D4A898
accent
#7046E2
background
#F8FBFD
surface
#F0F7FB
border
#CBD0D4
text
#0C1215
muted
#7D8183

Preview Lab

Preview with #42A8CE

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

Preview Lab → · Contrast checker → · Palette generator →

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