#42B5DF#42B5DF

#42B5DF is a light, moderate cyan. Relative luminance 0.395; OKLCH L 72.6% C 0.118 H 226.4°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#42B5DF
RGBrgb(66, 181, 223)
HSLhsl(196, 71%, 57%)
HSVhsv(196, 70%, 87%)
CMYKcmyk(70.4%, 18.8%, 0%, 12.5%)
CIE-LABlab(69.13, -18.81, -30.42)
CIE-LCHlch(69.13, 35.77, 238.27°)
OKLaboklab(72.61% -0.0811 -0.0852)
OKLCHoklch(72.61% 0.118 226.4)
XYZxyz(32.0845, 39.5301, 75.7368)
Luminance0.3953 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42B5DF #DF6C42
analogous
#42DFBB #42B5DF #4267DF
triadic
#42B5DF #DF42B5 #B5DF42
tetradic
#42B5DF #BB42DF #DF6C42 #67DF42
square
#42B5DF #BB42DF #DF6C42 #67DF42
split-complementary
#42B5DF #DF4267 #DFBB42
monochromatic
#186F8E #2198C3 #42B5DF #76C9E8 #ABDEF1

Accessibility & contrast

On white

2.36
#42B5DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.91
#42B5DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42B5DF
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42B5DF#FFFFFF#000000##000000
##42B5DF1.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9EB2E1
Deuteranopia (green-blind)
#89A2DE
Tritanopia (blue-blind)
#00C1C3
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #42b5df;
/* rgb */ color: rgb(66, 181, 223);
/* oklch */ color: oklch(72.6% 0.118 226.4);
Tailwind
colors: {
  custom: {
    50: '#8acbe9',
    500: '#42b5df',
    950: '#000000',
  },
}
SCSS
$custom: #42b5df;
$custom-light: #8acbe9;
$custom-dark: #000000;
JSON
{
  "hex": "#42b5df",
  "rgb": {
    "r": 66,
    "g": 181,
    "b": 223
  },
  "hsl": {
    "h": 196.051,
    "s": 71.041,
    "l": 56.667
  },
  "oklch": {
    "l": 0.72606,
    "c": 0.11766,
    "h": 226.4
  },
  "luminance": 0.39534
}

Semantic roles & 50–950 ramp

primary
#42B5DF
secondary
#DFAF9E
accent
#6A3AEE
background
#F9FCFE
surface
#F1F8FC
border
#CBD1D5
text
#0D1316
muted
#7E8284

Preview Lab

Preview with #42B5DF

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

Preview Lab → · Contrast checker → · Palette generator →

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