#42B4E2#42B4E2

#42B4E2 is a light, vivid cyan. Relative luminance 0.393; OKLCH L 72.5% C 0.120 H 228.9°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#42B4E2
RGBrgb(66, 180, 226)
HSLhsl(197, 73%, 57%)
HSVhsv(197, 71%, 89%)
CMYKcmyk(70.8%, 20.4%, 0%, 11.4%)
CIE-LABlab(68.96, -17.32, -32.33)
CIE-LCHlch(68.96, 36.68, 241.82°)
OKLaboklab(72.51% -0.0791 -0.0907)
OKLCHoklch(72.51% 0.12 228.9)
XYZxyz(32.2900, 39.2881, 77.8183)
Luminance0.3929 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42B4E2 #E27042
analogous
#42E2C0 #42B4E2 #4264E2
triadic
#42B4E2 #E242B4 #B4E242
tetradic
#42B4E2 #C042E2 #E27042 #64E242
square
#42B4E2 #C042E2 #E27042 #64E242
split-complementary
#42B4E2 #E24264 #E2C042
monochromatic
#176F93 #1F97C8 #42B4E2 #77C9EA #ACDEF2

Accessibility & contrast

On white

2.37
#42B4E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.86
#42B4E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42B4E2
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42B4E2#FFFFFF#000000##000000
##42B4E21.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9CB1E4
Deuteranopia (green-blind)
#86A1E1
Tritanopia (blue-blind)
#00C1C3
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #42b4e2;
/* rgb */ color: rgb(66, 180, 226);
/* oklch */ color: oklch(72.5% 0.120 228.9);
Tailwind
colors: {
  custom: {
    50: '#8acaeb',
    500: '#42b4e2',
    950: '#000000',
  },
}
SCSS
$custom: #42b4e2;
$custom-light: #8acaeb;
$custom-dark: #000000;
JSON
{
  "hex": "#42b4e2",
  "rgb": {
    "r": 66,
    "g": 180,
    "b": 226
  },
  "hsl": {
    "h": 197.25,
    "s": 73.394,
    "l": 57.255
  },
  "oklch": {
    "l": 0.72505,
    "c": 0.12033,
    "h": 228.9
  },
  "luminance": 0.39292
}

Semantic roles & 50–950 ramp

primary
#42B4E2
secondary
#E0B29F
accent
#6D38F0
background
#F9FCFE
surface
#F1F8FD
border
#CBD1D5
text
#0D1316
muted
#7E8284

Preview Lab

Preview with #42B4E2

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

Preview Lab → · Contrast checker → · Palette generator →

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