#42A7CA#42A7CA

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

Color values

HEX#42A7CA
RGBrgb(66, 167, 202)
HSLhsl(195, 56%, 53%)
HSVhsv(195, 67%, 79%)
CMYKcmyk(67.3%, 17.3%, 0%, 20.8%)
CIE-LABlab(64.21, -18.17, -26.44)
CIE-LCHlch(64.21, 32.08, 235.50°)
OKLaboklab(68.4% -0.0749 -0.0739)
OKLCHoklch(68.4% 0.105 224.6)
XYZxyz(26.7218, 33.0570, 60.8380)
Luminance0.3306 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A7CA #CA6542
analogous
#42CAA9 #42A7CA #4263CA
triadic
#42A7CA #CA42A7 #A7CA42
tetradic
#42A7CA #A942CA #CA6542 #63CA42
square
#42A7CA #A942CA #CA6542 #63CA42
split-complementary
#42A7CA #CA4263 #CAA942
monochromatic
#205D72 #2D84A2 #42A7CA #72BDD7 #A2D4E5

Accessibility & contrast

On white

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

On black

7.61
#42A7CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42A7CA
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A7CA#FFFFFF#000000##000000
##42A7CA1.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#94A3CC
Deuteranopia (green-blind)
#8196CA
Tritanopia (blue-blind)
#00B2B2
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #42a7ca;
/* rgb */ color: rgb(66, 167, 202);
/* oklch */ color: oklch(68.4% 0.105 224.6);
Tailwind
colors: {
  custom: {
    50: '#86c1da',
    500: '#42a7ca',
    950: '#000000',
  },
}
SCSS
$custom: #42a7ca;
$custom-light: #86c1da;
$custom-dark: #000000;
JSON
{
  "hex": "#42a7ca",
  "rgb": {
    "r": 66,
    "g": 167,
    "b": 202
  },
  "hsl": {
    "h": 195.441,
    "s": 56.198,
    "l": 52.549
  },
  "oklch": {
    "l": 0.68397,
    "c": 0.10522,
    "h": 224.6
  },
  "luminance": 0.3306
}

Semantic roles & 50–950 ramp

primary
#42A7CA
secondary
#D1A696
accent
#6F48DF
background
#F8FBFD
surface
#F0F7FA
border
#CBD0D3
text
#0C1214
muted
#7D8183

Preview Lab

Preview with #42A7CA

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

Preview Lab → · Contrast checker → · Palette generator →

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