#42A5CA#42A5CA

#42A5CA is a light, moderate cyan. Relative luminance 0.323; OKLCH L 67.9% C 0.106 H 226.4°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#42A5CA
RGBrgb(66, 165, 202)
HSLhsl(196, 56%, 53%)
HSVhsv(196, 67%, 79%)
CMYKcmyk(67.3%, 18.3%, 0%, 20.8%)
CIE-LABlab(63.61, -17.11, -27.35)
CIE-LCHlch(63.61, 32.26, 237.98°)
OKLaboklab(67.92% -0.0729 -0.0765)
OKLCHoklch(67.92% 0.106 226.4)
XYZxyz(26.3583, 32.3299, 60.7168)
Luminance0.3233 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A5CA #CA6742
analogous
#42CAAB #42A5CA #4261CA
triadic
#42A5CA #CA42A5 #A5CA42
tetradic
#42A5CA #AB42CA #CA6742 #61CA42
square
#42A5CA #AB42CA #CA6742 #61CA42
split-complementary
#42A5CA #CA4261 #CAAB42
monochromatic
#205B72 #2D82A2 #42A5CA #72BCD7 #A2D3E5

Accessibility & contrast

On white

2.81
#42A5CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#42A5CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42A5CA
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A5CA#FFFFFF#000000##000000
##42A5CA1.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#91A2CC
Deuteranopia (green-blind)
#7E94CA
Tritanopia (blue-blind)
#00B0B1
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #42a5ca;
/* rgb */ color: rgb(66, 165, 202);
/* oklch */ color: oklch(67.9% 0.106 226.4);
Tailwind
colors: {
  custom: {
    50: '#86bfda',
    500: '#42a5ca',
    950: '#000000',
  },
}
SCSS
$custom: #42a5ca;
$custom-light: #86bfda;
$custom-dark: #000000;
JSON
{
  "hex": "#42a5ca",
  "rgb": {
    "r": 66,
    "g": 165,
    "b": 202
  },
  "hsl": {
    "h": 196.324,
    "s": 56.198,
    "l": 52.549
  },
  "oklch": {
    "l": 0.67923,
    "c": 0.10565,
    "h": 226.4
  },
  "luminance": 0.32333
}

Semantic roles & 50–950 ramp

primary
#42A5CA
secondary
#D1A696
accent
#7148DF
background
#F8FBFD
surface
#F0F7FA
border
#CBD0D3
text
#0C1214
muted
#7D8183

Preview Lab

Preview with #42A5CA

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

Preview Lab → · Contrast checker → · Palette generator →

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