#42A5D2#42A5D2

#42A5D2 is a light, moderate cyan. Relative luminance 0.327; OKLCH L 68.3% C 0.112 H 231.5°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#42A5D2
RGBrgb(66, 165, 210)
HSLhsl(199, 62%, 54%)
HSVhsv(199, 69%, 82%)
CMYKcmyk(68.6%, 21.4%, 0%, 17.6%)
CIE-LABlab(63.93, -14.52, -31.31)
CIE-LCHlch(63.93, 34.51, 245.12°)
OKLaboklab(68.28% -0.07 -0.0878)
OKLCHoklch(68.28% 0.112 231.5)
XYZxyz(27.3301, 32.7186, 65.8352)
Luminance0.3272 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A5D2 #D26F42
analogous
#42D2B7 #42A5D2 #425DD2
triadic
#42A5D2 #D242A5 #A5D242
tetradic
#42A5D2 #B742D2 #D26F42 #5DD242
square
#42A5D2 #B742D2 #D26F42 #5DD242
split-complementary
#42A5D2 #D2425D #D2B742
monochromatic
#1E5F7C #2984AD #42A5D2 #73BDDE #A5D4EA

Accessibility & contrast

On white

2.78
#42A5D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#42A5D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42A5D2
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A5D2#FFFFFF#000000##000000
##42A5D21.002.787.547.54
#FFFFFF2.781.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EA3D4
Deuteranopia (green-blind)
#7B95D1
Tritanopia (blue-blind)
#00B1B4
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #42a5d2;
/* rgb */ color: rgb(66, 165, 210);
/* oklch */ color: oklch(68.3% 0.112 231.5);
Tailwind
colors: {
  custom: {
    50: '#87bfe0',
    500: '#42a5d2',
    950: '#000000',
  },
}
SCSS
$custom: #42a5d2;
$custom-light: #87bfe0;
$custom-dark: #000000;
JSON
{
  "hex": "#42a5d2",
  "rgb": {
    "r": 66,
    "g": 165,
    "b": 210
  },
  "hsl": {
    "h": 198.75,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.68282,
    "c": 0.11229,
    "h": 231.5
  },
  "luminance": 0.32722
}

Semantic roles & 50–950 ramp

primary
#42A5D2
secondary
#D7AC99
accent
#7643E5
background
#F8FBFD
surface
#F0F7FB
border
#CBD0D4
text
#0D1215
muted
#7D8183

Preview Lab

Preview with #42A5D2

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

Preview Lab → · Contrast checker → · Palette generator →

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