#42B4DF#42B4DF

#42B4DF is a light, moderate cyan. Relative luminance 0.391; OKLCH L 72.4% C 0.118 H 227.2°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#42B4DF
RGBrgb(66, 180, 223)
HSLhsl(196, 71%, 57%)
HSVhsv(196, 70%, 87%)
CMYKcmyk(70.4%, 19.3%, 0%, 12.5%)
CIE-LABlab(68.84, -18.29, -30.87)
CIE-LCHlch(68.84, 35.89, 239.36°)
OKLaboklab(72.37% -0.0802 -0.0865)
OKLCHoklch(72.37% 0.118 227.2)
XYZxyz(31.8819, 39.1249, 75.6693)
Luminance0.3913 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42B4DF #DF6D42
analogous
#42DFBC #42B4DF #4266DF
triadic
#42B4DF #DF42B4 #B4DF42
tetradic
#42B4DF #BC42DF #DF6D42 #66DF42
square
#42B4DF #BC42DF #DF6D42 #66DF42
split-complementary
#42B4DF #DF4266 #DFBC42
monochromatic
#186E8E #2196C3 #42B4DF #76C9E8 #ABDEF1

Accessibility & contrast

On white

2.38
#42B4DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.83
#42B4DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42B4DF
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42B4DF#FFFFFF#000000##000000
##42B4DF1.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9DB1E1
Deuteranopia (green-blind)
#88A1DE
Tritanopia (blue-blind)
#00C0C2
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #42b4df;
/* rgb */ color: rgb(66, 180, 223);
/* oklch */ color: oklch(72.4% 0.118 227.2);
Tailwind
colors: {
  custom: {
    50: '#89cae9',
    500: '#42b4df',
    950: '#000000',
  },
}
SCSS
$custom: #42b4df;
$custom-light: #89cae9;
$custom-dark: #000000;
JSON
{
  "hex": "#42b4df",
  "rgb": {
    "r": 66,
    "g": 180,
    "b": 223
  },
  "hsl": {
    "h": 196.433,
    "s": 71.041,
    "l": 56.667
  },
  "oklch": {
    "l": 0.72372,
    "c": 0.11793,
    "h": 227.2
  },
  "luminance": 0.39128
}

Semantic roles & 50–950 ramp

primary
#42B4DF
secondary
#DFB09E
accent
#6B3AEE
background
#F9FCFE
surface
#F1F8FC
border
#CBD1D5
text
#0D1316
muted
#7E8284

Preview Lab

Preview with #42B4DF

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

Preview Lab → · Contrast checker → · Palette generator →

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