#42B5CC#42B5CC

#42B5CC is a light, moderate cyan. Relative luminance 0.386; OKLCH L 71.8% C 0.106 H 213.6°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#42B5CC
RGBrgb(66, 181, 204)
HSLhsl(190, 58%, 53%)
HSVhsv(190, 68%, 80%)
CMYKcmyk(67.6%, 11.3%, 0%, 20%)
CIE-LABlab(68.43, -24.77, -21.08)
CIE-LCHlch(68.43, 32.53, 220.39°)
OKLaboklab(71.81% -0.0884 -0.0586)
OKLCHoklch(71.81% 0.106 213.6)
XYZxyz(29.6652, 38.5623, 62.9949)
Luminance0.3857 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42B5CC #CC5942
analogous
#42CC9E #42B5CC #4270CC
triadic
#42B5CC #CC42B5 #B5CC42
tetradic
#42B5CC #9E42CC #CC5942 #70CC42
square
#42B5CC #9E42CC #CC5942 #70CC42
split-complementary
#42B5CC #CC4270 #CC9E42
monochromatic
#1F6674 #2C90A4 #42B5CC #72C8D9 #A2DBE6

Accessibility & contrast

On white

2.41
#42B5CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#42B5CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42B5CC
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42B5CC#FFFFFF#000000##000000
##42B5CC1.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4AFCD
Deuteranopia (green-blind)
#90A1CC
Tritanopia (blue-blind)
#00BEBC
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #42b5cc;
/* rgb */ color: rgb(66, 181, 204);
/* oklch */ color: oklch(71.8% 0.106 213.6);
Tailwind
colors: {
  custom: {
    50: '#87cbdb',
    500: '#42b5cc',
    950: '#000000',
  },
}
SCSS
$custom: #42b5cc;
$custom-light: #87cbdb;
$custom-dark: #000000;
JSON
{
  "hex": "#42b5cc",
  "rgb": {
    "r": 66,
    "g": 181,
    "b": 204
  },
  "hsl": {
    "h": 190,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.71812,
    "c": 0.10607,
    "h": 213.6
  },
  "luminance": 0.38566
}

Semantic roles & 50–950 ramp

primary
#42B5CC
secondary
#D3A197
accent
#6147E1
background
#F9FCFD
surface
#F1F8FB
border
#CBD1D4
text
#0D1315
muted
#7E8283

Preview Lab

Preview with #42B5CC

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

Preview Lab → · Contrast checker → · Palette generator →

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