#42A5CB#42A5CB

#42A5CB is a light, moderate cyan. Relative luminance 0.324; OKLCH L 68.0% C 0.106 H 227.1°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#42A5CB
RGBrgb(66, 165, 203)
HSLhsl(197, 57%, 53%)
HSVhsv(197, 67%, 80%)
CMYKcmyk(67.5%, 18.7%, 0%, 20.4%)
CIE-LABlab(63.65, -16.79, -27.85)
CIE-LCHlch(63.65, 32.52, 238.92°)
OKLaboklab(67.97% -0.0725 -0.0779)
OKLCHoklch(67.97% 0.106 227.1)
XYZxyz(26.4771, 32.3774, 61.3424)
Luminance0.3238 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A5CB #CB6842
analogous
#42CBAC #42A5CB #4261CB
triadic
#42A5CB #CB42A5 #A5CB42
tetradic
#42A5CB #AC42CB #CB6842 #61CB42
square
#42A5CB #AC42CB #CB6842 #61CB42
split-complementary
#42A5CB #CB4261 #CBAC42
monochromatic
#205C73 #2D82A3 #42A5CB #72BCD8 #A2D3E5

Accessibility & contrast

On white

2.81
#42A5CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#42A5CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42A5CB
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A5CB#FFFFFF#000000##000000
##42A5CB1.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#91A2CD
Deuteranopia (green-blind)
#7E94CB
Tritanopia (blue-blind)
#00B0B1
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #42a5cb;
/* rgb */ color: rgb(66, 165, 203);
/* oklch */ color: oklch(68.0% 0.106 227.1);
Tailwind
colors: {
  custom: {
    50: '#86bfdb',
    500: '#42a5cb',
    950: '#000000',
  },
}
SCSS
$custom: #42a5cb;
$custom-light: #86bfdb;
$custom-dark: #000000;
JSON
{
  "hex": "#42a5cb",
  "rgb": {
    "r": 66,
    "g": 165,
    "b": 203
  },
  "hsl": {
    "h": 196.642,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.67967,
    "c": 0.10643,
    "h": 227.1
  },
  "luminance": 0.3238
}

Semantic roles & 50–950 ramp

primary
#42A5CB
secondary
#D2A797
accent
#7248E0
background
#F8FBFD
surface
#F0F7FA
border
#CBD0D3
text
#0C1215
muted
#7D8183

Preview Lab

Preview with #42A5CB

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

Preview Lab → · Contrast checker → · Palette generator →

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