#42A5D4#42A5D4

#42A5D4 is a light, moderate cyan. Relative luminance 0.328; OKLCH L 68.4% C 0.114 H 232.6°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#42A5D4
RGBrgb(66, 165, 212)
HSLhsl(199, 63%, 55%)
HSVhsv(199, 69%, 83%)
CMYKcmyk(68.9%, 22.2%, 0%, 16.9%)
CIE-LABlab(64.01, -13.86, -32.29)
CIE-LCHlch(64.01, 35.14, 246.76°)
OKLaboklab(68.37% -0.0693 -0.0906)
OKLCHoklch(68.37% 0.114 232.6)
XYZxyz(27.5809, 32.8189, 67.1557)
Luminance0.3282 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A5D4 #D47142
analogous
#42D4BA #42A5D4 #425CD4
triadic
#42A5D4 #D442A5 #A5D442
tetradic
#42A5D4 #BA42D4 #D47142 #5CD442
square
#42A5D4 #BA42D4 #D47142 #5CD442
split-complementary
#42A5D4 #D4425C #D4BA42
monochromatic
#1D5F7F #2885B1 #42A5D4 #74BDDF #A6D4EB

Accessibility & contrast

On white

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

On black

7.56
#42A5D4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42A5D4
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A5D4#FFFFFF#000000##000000
##42A5D41.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EA3D6
Deuteranopia (green-blind)
#7A95D3
Tritanopia (blue-blind)
#00B2B5
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #42a5d4;
/* rgb */ color: rgb(66, 165, 212);
/* oklch */ color: oklch(68.4% 0.114 232.6);
Tailwind
colors: {
  custom: {
    50: '#87bfe1',
    500: '#42a5d4',
    950: '#000000',
  },
}
SCSS
$custom: #42a5d4;
$custom-light: #87bfe1;
$custom-dark: #000000;
JSON
{
  "hex": "#42a5d4",
  "rgb": {
    "r": 66,
    "g": 165,
    "b": 212
  },
  "hsl": {
    "h": 199.315,
    "s": 62.931,
    "l": 54.51
  },
  "oklch": {
    "l": 0.68374,
    "c": 0.11409,
    "h": 232.6
  },
  "luminance": 0.32822
}

Semantic roles & 50–950 ramp

primary
#42A5D4
secondary
#D8AE9A
accent
#7742E6
background
#F8FBFD
surface
#F0F7FB
border
#CBD0D4
text
#0D1215
muted
#7D8183

Preview Lab

Preview with #42A5D4

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

Preview Lab → · Contrast checker → · Palette generator →

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