#42A6CD#42A6CD

#42A6CD is a light, moderate cyan. Relative luminance 0.328; OKLCH L 68.3% C 0.108 H 227.5°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#42A6CD
RGBrgb(66, 166, 205)
HSLhsl(197, 58%, 53%)
HSVhsv(197, 68%, 80%)
CMYKcmyk(67.8%, 19%, 0%, 19.6%)
CIE-LABlab(64.03, -16.68, -28.38)
CIE-LCHlch(64.03, 32.92, 239.56°)
OKLaboklab(68.29% -0.0728 -0.0794)
OKLCHoklch(68.29% 0.108 227.5)
XYZxyz(26.8980, 32.8355, 62.6661)
Luminance0.3284 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A6CD #CD6942
analogous
#42CDAF #42A6CD #4260CD
triadic
#42A6CD #CD42A6 #A6CD42
tetradic
#42A6CD #AF42CD #CD6942 #60CD42
square
#42A6CD #AF42CD #CD6942 #60CD42
split-complementary
#42A6CD #CD4260 #CDAF42
monochromatic
#1F5D76 #2C84A6 #42A6CD #72BDDA #A3D4E7

Accessibility & contrast

On white

2.77
#42A6CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#42A6CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42A6CD
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A6CD#FFFFFF#000000##000000
##42A6CD1.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#91A3CF
Deuteranopia (green-blind)
#7E95CD
Tritanopia (blue-blind)
#00B1B3
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #42a6cd;
/* rgb */ color: rgb(66, 166, 205);
/* oklch */ color: oklch(68.3% 0.108 227.5);
Tailwind
colors: {
  custom: {
    50: '#86c0dc',
    500: '#42a6cd',
    950: '#000000',
  },
}
SCSS
$custom: #42a6cd;
$custom-light: #86c0dc;
$custom-dark: #000000;
JSON
{
  "hex": "#42a6cd",
  "rgb": {
    "r": 66,
    "g": 166,
    "b": 205
  },
  "hsl": {
    "h": 196.835,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.68292,
    "c": 0.10775,
    "h": 227.5
  },
  "luminance": 0.32838
}

Semantic roles & 50–950 ramp

primary
#42A6CD
secondary
#D3A897
accent
#7246E1
background
#F8FBFD
surface
#F0F7FB
border
#CBD0D4
text
#0C1215
muted
#7D8183

Preview Lab

Preview with #42A6CD

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

Preview Lab → · Contrast checker → · Palette generator →

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