#42A5CD#42A5CD

#42A5CD is a light, moderate cyan. Relative luminance 0.325; OKLCH L 68.1% C 0.108 H 228.4°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#42A5CD
RGBrgb(66, 165, 205)
HSLhsl(197, 58%, 53%)
HSVhsv(197, 68%, 80%)
CMYKcmyk(67.8%, 19.5%, 0%, 19.6%)
CIE-LABlab(63.73, -16.14, -28.84)
CIE-LCHlch(63.73, 33.05, 240.76°)
OKLaboklab(68.06% -0.0718 -0.0807)
OKLCHoklch(68.06% 0.108 228.4)
XYZxyz(26.7169, 32.4734, 62.6057)
Luminance0.3248 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A5CD #CD6A42
analogous
#42CDAF #42A5CD #425FCD
triadic
#42A5CD #CD42A5 #A5CD42
tetradic
#42A5CD #AF42CD #CD6A42 #5FCD42
square
#42A5CD #AF42CD #CD6A42 #5FCD42
split-complementary
#42A5CD #CD425F #CDAF42
monochromatic
#1F5D76 #2C83A6 #42A5CD #72BCDA #A3D3E7

Accessibility & contrast

On white

2.80
#42A5CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#42A5CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42A5CD
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A5CD#FFFFFF#000000##000000
##42A5CD1.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#90A2CF
Deuteranopia (green-blind)
#7D94CC
Tritanopia (blue-blind)
#00B0B2
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #42a5cd;
/* rgb */ color: rgb(66, 165, 205);
/* oklch */ color: oklch(68.1% 0.108 228.4);
Tailwind
colors: {
  custom: {
    50: '#86bfdc',
    500: '#42a5cd',
    950: '#000000',
  },
}
SCSS
$custom: #42a5cd;
$custom-light: #86bfdc;
$custom-dark: #000000;
JSON
{
  "hex": "#42a5cd",
  "rgb": {
    "r": 66,
    "g": 165,
    "b": 205
  },
  "hsl": {
    "h": 197.266,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.68056,
    "c": 0.10804,
    "h": 228.4
  },
  "luminance": 0.32476
}

Semantic roles & 50–950 ramp

primary
#42A5CD
secondary
#D3A997
accent
#7346E1
background
#F8FBFD
surface
#F0F7FB
border
#CBD0D4
text
#0C1215
muted
#7D8183

Preview Lab

Preview with #42A5CD

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

Preview Lab → · Contrast checker → · Palette generator →

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