#42A6CA#42A6CA

#42A6CA is a light, moderate cyan. Relative luminance 0.327; OKLCH L 68.2% C 0.105 H 225.5°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#42A6CA
RGBrgb(66, 166, 202)
HSLhsl(196, 56%, 53%)
HSVhsv(196, 67%, 79%)
CMYKcmyk(67.3%, 17.8%, 0%, 20.8%)
CIE-LABlab(63.91, -17.64, -26.90)
CIE-LCHlch(63.91, 32.16, 236.74°)
OKLaboklab(68.16% -0.0739 -0.0752)
OKLCHoklch(68.16% 0.105 225.5)
XYZxyz(26.5394, 32.6921, 60.7772)
Luminance0.3270 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A6CA #CA6642
analogous
#42CAAA #42A6CA #4262CA
triadic
#42A6CA #CA42A6 #A6CA42
tetradic
#42A6CA #AA42CA #CA6642 #62CA42
square
#42A6CA #AA42CA #CA6642 #62CA42
split-complementary
#42A6CA #CA4262 #CAAA42
monochromatic
#205C72 #2D83A2 #42A6CA #72BDD7 #A2D3E5

Accessibility & contrast

On white

2.79
#42A6CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#42A6CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42A6CA
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A6CA#FFFFFF#000000##000000
##42A6CA1.002.797.547.54
#FFFFFF2.791.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#92A3CC
Deuteranopia (green-blind)
#7F95CA
Tritanopia (blue-blind)
#00B1B2
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #42a6ca;
/* rgb */ color: rgb(66, 166, 202);
/* oklch */ color: oklch(68.2% 0.105 225.5);
Tailwind
colors: {
  custom: {
    50: '#86c0da',
    500: '#42a6ca',
    950: '#000000',
  },
}
SCSS
$custom: #42a6ca;
$custom-light: #86c0da;
$custom-dark: #000000;
JSON
{
  "hex": "#42a6ca",
  "rgb": {
    "r": 66,
    "g": 166,
    "b": 202
  },
  "hsl": {
    "h": 195.882,
    "s": 56.198,
    "l": 52.549
  },
  "oklch": {
    "l": 0.6816,
    "c": 0.10543,
    "h": 225.5
  },
  "luminance": 0.32695
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #42A6CA

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

Preview Lab → · Contrast checker → · Palette generator →

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