#42A4D5#42A4D5

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

Color values

HEX#42A4D5
RGBrgb(66, 164, 213)
HSLhsl(200, 64%, 55%)
HSVhsv(200, 69%, 84%)
CMYKcmyk(69%, 23%, 0%, 16.5%)
CIE-LABlab(63.76, -12.99, -33.23)
CIE-LCHlch(63.76, 35.68, 248.65°)
OKLaboklab(68.19% -0.0679 -0.0934)
OKLCHoklch(68.19% 0.115 234)
XYZxyz(27.5277, 32.5102, 67.7622)
Luminance0.3251 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A4D5 #D57342
analogous
#42D5BC #42A4D5 #425BD5
triadic
#42A4D5 #D542A4 #A4D542
tetradic
#42A4D5 #BC42D5 #D57342 #5BD542
square
#42A4D5 #BC42D5 #D57342 #5BD542
split-complementary
#42A4D5 #D5425B #D5BC42
monochromatic
#1C5F80 #2884B2 #42A4D5 #74BCE0 #A6D4EB

Accessibility & contrast

On white

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

On black

7.50
#42A4D5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42A4D5
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A4D5#FFFFFF#000000##000000
##42A4D51.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #42a4d5;
/* rgb */ color: rgb(66, 164, 213);
/* oklch */ color: oklch(68.2% 0.115 234.0);
Tailwind
colors: {
  custom: {
    50: '#87bfe2',
    500: '#42a4d5',
    950: '#000000',
  },
}
SCSS
$custom: #42a4d5;
$custom-light: #87bfe2;
$custom-dark: #000000;
JSON
{
  "hex": "#42a4d5",
  "rgb": {
    "r": 66,
    "g": 164,
    "b": 213
  },
  "hsl": {
    "h": 200,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.68187,
    "c": 0.11548,
    "h": 234
  },
  "luminance": 0.32513
}

Semantic roles & 50–950 ramp

primary
#42A4D5
secondary
#D8AF9A
accent
#7841E7
background
#F9FBFD
surface
#F1F6FB
border
#CBD0D4
text
#0D1215
muted
#7E8183

Preview Lab

Preview with #42A4D5

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

Preview Lab → · Contrast checker → · Palette generator →

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