#42A7CB#42A7CB

#42A7CB is a light, moderate cyan. Relative luminance 0.331; OKLCH L 68.4% C 0.106 H 225.3°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#42A7CB
RGBrgb(66, 167, 203)
HSLhsl(196, 57%, 53%)
HSVhsv(196, 67%, 80%)
CMYKcmyk(67.5%, 17.7%, 0%, 20.4%)
CIE-LABlab(64.25, -17.85, -26.94)
CIE-LCHlch(64.25, 32.31, 236.47°)
OKLaboklab(68.44% -0.0745 -0.0753)
OKLCHoklch(68.44% 0.106 225.3)
XYZxyz(26.8406, 33.1045, 61.4636)
Luminance0.3311 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A7CB #CB6642
analogous
#42CBAA #42A7CB #4263CB
triadic
#42A7CB #CB42A7 #A7CB42
tetradic
#42A7CB #AA42CB #CB6642 #63CB42
square
#42A7CB #AA42CB #CB6642 #63CB42
split-complementary
#42A7CB #CB4263 #CBAA42
monochromatic
#205D73 #2D84A3 #42A7CB #72BDD8 #A2D4E5

Accessibility & contrast

On white

2.76
#42A7CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#42A7CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42A7CB
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A7CB#FFFFFF#000000##000000
##42A7CB1.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#93A4CD
Deuteranopia (green-blind)
#8096CB
Tritanopia (blue-blind)
#00B2B3
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #42a7cb;
/* rgb */ color: rgb(66, 167, 203);
/* oklch */ color: oklch(68.4% 0.106 225.3);
Tailwind
colors: {
  custom: {
    50: '#86c1db',
    500: '#42a7cb',
    950: '#000000',
  },
}
SCSS
$custom: #42a7cb;
$custom-light: #86c1db;
$custom-dark: #000000;
JSON
{
  "hex": "#42a7cb",
  "rgb": {
    "r": 66,
    "g": 167,
    "b": 203
  },
  "hsl": {
    "h": 195.766,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.6844,
    "c": 0.10596,
    "h": 225.3
  },
  "luminance": 0.33107
}

Semantic roles & 50–950 ramp

primary
#42A7CB
secondary
#D2A697
accent
#7048E0
background
#F8FBFD
surface
#F0F7FA
border
#CBD0D3
text
#0C1215
muted
#7D8183

Preview Lab

Preview with #42A7CB

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

Preview Lab → · Contrast checker → · Palette generator →

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