#42A6D4#42A6D4

#42A6D4 is a light, moderate cyan. Relative luminance 0.332; OKLCH L 68.6% C 0.114 H 231.8°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#42A6D4
RGBrgb(66, 166, 212)
HSLhsl(199, 63%, 55%)
HSVhsv(199, 69%, 83%)
CMYKcmyk(68.9%, 21.7%, 0%, 16.9%)
CIE-LABlab(64.31, -14.41, -31.83)
CIE-LCHlch(64.31, 34.94, 245.65°)
OKLaboklab(68.61% -0.0703 -0.0893)
OKLCHoklch(68.61% 0.114 231.8)
XYZxyz(27.7619, 33.1811, 67.2161)
Luminance0.3318 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A6D4 #D47042
analogous
#42D4B9 #42A6D4 #425DD4
triadic
#42A6D4 #D442A6 #A6D442
tetradic
#42A6D4 #B942D4 #D47042 #5DD442
square
#42A6D4 #B942D4 #D47042 #5DD442
split-complementary
#42A6D4 #D4425D #D4B942
monochromatic
#1D607F #2886B1 #42A6D4 #74BDDF #A6D5EB

Accessibility & contrast

On white

2.75
#42A6D4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#42A6D4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42A6D4
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A6D4#FFFFFF#000000##000000
##42A6D41.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FA4D6
Deuteranopia (green-blind)
#7B96D3
Tritanopia (blue-blind)
#00B2B5
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #42a6d4;
/* rgb */ color: rgb(66, 166, 212);
/* oklch */ color: oklch(68.6% 0.114 231.8);
Tailwind
colors: {
  custom: {
    50: '#87c0e1',
    500: '#42a6d4',
    950: '#000000',
  },
}
SCSS
$custom: #42a6d4;
$custom-light: #87c0e1;
$custom-dark: #000000;
JSON
{
  "hex": "#42a6d4",
  "rgb": {
    "r": 66,
    "g": 166,
    "b": 212
  },
  "hsl": {
    "h": 198.904,
    "s": 62.931,
    "l": 54.51
  },
  "oklch": {
    "l": 0.68607,
    "c": 0.11366,
    "h": 231.8
  },
  "luminance": 0.33184
}

Semantic roles & 50–950 ramp

primary
#42A6D4
secondary
#D8AD9A
accent
#7642E6
background
#F8FBFD
surface
#F0F7FB
border
#CBD0D4
text
#0D1215
muted
#7D8183

Preview Lab

Preview with #42A6D4

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

Preview Lab → · Contrast checker → · Palette generator →

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