#42A2D4#42A2D4

#42A2D4 is a light, moderate cyan. Relative luminance 0.318; OKLCH L 67.7% C 0.116 H 235.0°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#42A2D4
RGBrgb(66, 162, 212)
HSLhsl(201, 63%, 55%)
HSVhsv(201, 69%, 83%)
CMYKcmyk(68.9%, 23.6%, 0%, 16.9%)
CIE-LABlab(63.14, -12.23, -33.65)
CIE-LCHlch(63.14, 35.81, 250.03°)
OKLaboklab(67.67% -0.0663 -0.0946)
OKLCHoklch(67.67% 0.116 235)
XYZxyz(27.0461, 31.7494, 66.9774)
Luminance0.3175 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A2D4 #D47442
analogous
#42D4BD #42A2D4 #4259D4
triadic
#42A2D4 #D442A2 #A2D442
tetradic
#42A2D4 #BD42D4 #D47442 #59D442
square
#42A2D4 #BD42D4 #D47442 #59D442
split-complementary
#42A2D4 #D44259 #D4BD42
monochromatic
#1D5D7F #2882B1 #42A2D4 #74BBDF #A6D3EB

Accessibility & contrast

On white

2.86
#42A2D4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#42A2D4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42A2D4
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A2D4#FFFFFF#000000##000000
##42A2D41.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AA1D6
Deuteranopia (green-blind)
#7692D3
Tritanopia (blue-blind)
#00AFB3
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #42a2d4;
/* rgb */ color: rgb(66, 162, 212);
/* oklch */ color: oklch(67.7% 0.116 235.0);
Tailwind
colors: {
  custom: {
    50: '#87bde1',
    500: '#42a2d4',
    950: '#000000',
  },
}
SCSS
$custom: #42a2d4;
$custom-light: #87bde1;
$custom-dark: #000000;
JSON
{
  "hex": "#42a2d4",
  "rgb": {
    "r": 66,
    "g": 162,
    "b": 212
  },
  "hsl": {
    "h": 200.548,
    "s": 62.931,
    "l": 54.51
  },
  "oklch": {
    "l": 0.67674,
    "c": 0.11551,
    "h": 235
  },
  "luminance": 0.31752
}

Semantic roles & 50–950 ramp

primary
#42A2D4
secondary
#D8AF9A
accent
#7A42E6
background
#F8FBFD
surface
#F0F6FB
border
#CBD0D4
text
#0D1215
muted
#7D8183

Preview Lab

Preview with #42A2D4

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

Preview Lab → · Contrast checker → · Palette generator →

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