#42A4D4#42A4D4

#42A4D4 is a light, moderate cyan. Relative luminance 0.325; OKLCH L 68.1% C 0.115 H 233.4°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#42A4D4
RGBrgb(66, 164, 212)
HSLhsl(200, 63%, 55%)
HSVhsv(200, 69%, 83%)
CMYKcmyk(68.9%, 22.6%, 0%, 16.9%)
CIE-LABlab(63.72, -13.32, -32.74)
CIE-LCHlch(63.72, 35.35, 247.86°)
OKLaboklab(68.14% -0.0683 -0.092)
OKLCHoklch(68.14% 0.115 233.4)
XYZxyz(27.4012, 32.4596, 67.0958)
Luminance0.3246 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A4D4 #D47242
analogous
#42D4BB #42A4D4 #425BD4
triadic
#42A4D4 #D442A4 #A4D442
tetradic
#42A4D4 #BB42D4 #D47242 #5BD442
square
#42A4D4 #BB42D4 #D47242 #5BD442
split-complementary
#42A4D4 #D4425B #D4BB42
monochromatic
#1D5F7F #2884B1 #42A4D4 #74BCDF #A6D4EB

Accessibility & contrast

On white

2.80
#42A4D4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#42A4D4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42A4D4
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A4D4#FFFFFF#000000##000000
##42A4D41.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CA2D6
Deuteranopia (green-blind)
#7894D3
Tritanopia (blue-blind)
#00B1B4
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #42a4d4;
/* rgb */ color: rgb(66, 164, 212);
/* oklch */ color: oklch(68.1% 0.115 233.4);
Tailwind
colors: {
  custom: {
    50: '#87bfe1',
    500: '#42a4d4',
    950: '#000000',
  },
}
SCSS
$custom: #42a4d4;
$custom-light: #87bfe1;
$custom-dark: #000000;
JSON
{
  "hex": "#42a4d4",
  "rgb": {
    "r": 66,
    "g": 164,
    "b": 212
  },
  "hsl": {
    "h": 199.726,
    "s": 62.931,
    "l": 54.51
  },
  "oklch": {
    "l": 0.6814,
    "c": 0.11454,
    "h": 233.4
  },
  "luminance": 0.32463
}

Semantic roles & 50–950 ramp

primary
#42A4D4
secondary
#D8AE9A
accent
#7842E6
background
#F8FBFD
surface
#F0F6FB
border
#CBD0D4
text
#0D1215
muted
#7D8183

Preview Lab

Preview with #42A4D4

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

Preview Lab → · Contrast checker → · Palette generator →

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