#42AFD4#42AFD4

#42AFD4 is a light, moderate cyan. Relative luminance 0.366; OKLCH L 70.7% C 0.111 H 224.4°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#42AFD4
RGBrgb(66, 175, 212)
HSLhsl(195, 63%, 55%)
HSVhsv(195, 69%, 83%)
CMYKcmyk(68.9%, 17.5%, 0%, 16.9%)
CIE-LABlab(66.95, -19.19, -27.75)
CIE-LCHlch(66.95, 33.74, 235.33°)
OKLaboklab(70.72% -0.0793 -0.0776)
OKLCHoklch(70.72% 0.111 224.4)
XYZxyz(29.4556, 36.5684, 67.7806)
Luminance0.3657 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42AFD4 #D46742
analogous
#42D4B0 #42AFD4 #4266D4
triadic
#42AFD4 #D442AF #AFD442
tetradic
#42AFD4 #B042D4 #D46742 #66D442
square
#42AFD4 #B042D4 #D46742 #66D442
split-complementary
#42AFD4 #D44266 #D4B042
monochromatic
#1D667F #288EB1 #42AFD4 #74C4DF #A6D9EB

Accessibility & contrast

On white

2.53
#42AFD4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#42AFD4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42AFD4
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42AFD4#FFFFFF#000000##000000
##42AFD41.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AABD6
Deuteranopia (green-blind)
#869CD4
Tritanopia (blue-blind)
#00BABB
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #42afd4;
/* rgb */ color: rgb(66, 175, 212);
/* oklch */ color: oklch(70.7% 0.111 224.4);
Tailwind
colors: {
  custom: {
    50: '#88c7e1',
    500: '#42afd4',
    950: '#000000',
  },
}
SCSS
$custom: #42afd4;
$custom-light: #88c7e1;
$custom-dark: #000000;
JSON
{
  "hex": "#42afd4",
  "rgb": {
    "r": 66,
    "g": 175,
    "b": 212
  },
  "hsl": {
    "h": 195.205,
    "s": 62.931,
    "l": 54.51
  },
  "oklch": {
    "l": 0.7072,
    "c": 0.11092,
    "h": 224.4
  },
  "luminance": 0.36572
}

Semantic roles & 50–950 ramp

primary
#42AFD4
secondary
#D8AA9A
accent
#6B42E6
background
#F9FCFD
surface
#F1F8FB
border
#CBD1D4
text
#0D1315
muted
#7E8283

Preview Lab

Preview with #42AFD4

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

Preview Lab → · Contrast checker → · Palette generator →

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