#42A6D2#42A6D2

#42A6D2 is a light, moderate cyan. Relative luminance 0.331; OKLCH L 68.5% C 0.112 H 230.6°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#42A6D2
RGBrgb(66, 166, 210)
HSLhsl(198, 62%, 54%)
HSVhsv(198, 69%, 82%)
CMYKcmyk(68.6%, 21%, 0%, 17.6%)
CIE-LABlab(64.23, -15.06, -30.85)
CIE-LCHlch(64.23, 34.33, 243.98°)
OKLaboklab(68.52% -0.071 -0.0865)
OKLCHoklch(68.52% 0.112 230.6)
XYZxyz(27.5112, 33.0808, 65.8956)
Luminance0.3308 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A6D2 #D26E42
analogous
#42D2B6 #42A6D2 #425ED2
triadic
#42A6D2 #D242A6 #A6D242
tetradic
#42A6D2 #B642D2 #D26E42 #5ED242
square
#42A6D2 #B642D2 #D26E42 #5ED242
split-complementary
#42A6D2 #D2425E #D2B642
monochromatic
#1E5F7C #2985AD #42A6D2 #73BDDE #A5D5EA

Accessibility & contrast

On white

2.76
#42A6D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#42A6D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42A6D2
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A6D2#FFFFFF#000000##000000
##42A6D21.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#90A4D4
Deuteranopia (green-blind)
#7C95D1
Tritanopia (blue-blind)
#00B2B5
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #42a6d2;
/* rgb */ color: rgb(66, 166, 210);
/* oklch */ color: oklch(68.5% 0.112 230.6);
Tailwind
colors: {
  custom: {
    50: '#87c0e0',
    500: '#42a6d2',
    950: '#000000',
  },
}
SCSS
$custom: #42a6d2;
$custom-light: #87c0e0;
$custom-dark: #000000;
JSON
{
  "hex": "#42a6d2",
  "rgb": {
    "r": 66,
    "g": 166,
    "b": 210
  },
  "hsl": {
    "h": 198.333,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.68516,
    "c": 0.1119,
    "h": 230.6
  },
  "luminance": 0.33084
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #42A6D2

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

Preview Lab → · Contrast checker → · Palette generator →

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