#42A4CB#42A4CB

#42A4CB is a light, moderate cyan. Relative luminance 0.320; OKLCH L 67.7% C 0.107 H 227.9°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#42A4CB
RGBrgb(66, 164, 203)
HSLhsl(197, 57%, 53%)
HSVhsv(197, 67%, 80%)
CMYKcmyk(67.5%, 19.2%, 0%, 20.4%)
CIE-LABlab(63.36, -16.25, -28.30)
CIE-LCHlch(63.36, 32.64, 240.14°)
OKLaboklab(67.73% -0.0715 -0.0792)
OKLCHoklch(67.73% 0.107 227.9)
XYZxyz(26.2974, 32.0181, 61.2825)
Luminance0.3202 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A4CB #CB6942
analogous
#42CBAD #42A4CB #4260CB
triadic
#42A4CB #CB42A4 #A4CB42
tetradic
#42A4CB #AD42CB #CB6942 #60CB42
square
#42A4CB #AD42CB #CB6942 #60CB42
split-complementary
#42A4CB #CB4260 #CBAD42
monochromatic
#205B73 #2D81A3 #42A4CB #72BBD8 #A2D2E5

Accessibility & contrast

On white

2.84
#42A4CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#42A4CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42A4CB
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A4CB#FFFFFF#000000##000000
##42A4CB1.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FA1CD
Deuteranopia (green-blind)
#7D93CB
Tritanopia (blue-blind)
#00AFB1
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #42a4cb;
/* rgb */ color: rgb(66, 164, 203);
/* oklch */ color: oklch(67.7% 0.107 227.9);
Tailwind
colors: {
  custom: {
    50: '#86bfdb',
    500: '#42a4cb',
    950: '#000000',
  },
}
SCSS
$custom: #42a4cb;
$custom-light: #86bfdb;
$custom-dark: #000000;
JSON
{
  "hex": "#42a4cb",
  "rgb": {
    "r": 66,
    "g": 164,
    "b": 203
  },
  "hsl": {
    "h": 197.08,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.67731,
    "c": 0.10671,
    "h": 227.9
  },
  "luminance": 0.32021
}

Semantic roles & 50–950 ramp

primary
#42A4CB
secondary
#D2A897
accent
#7348E0
background
#F8FBFD
surface
#F0F7FA
border
#CBD0D3
text
#0C1215
muted
#7D8183

Preview Lab

Preview with #42A4CB

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

Preview Lab → · Contrast checker → · Palette generator →

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