#42A3C7#42A3C7

#42A3C7 is a light, moderate cyan. Relative luminance 0.315; OKLCH L 67.3% C 0.104 H 226.1°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#42A3C7
RGBrgb(66, 163, 199)
HSLhsl(196, 54%, 52%)
HSVhsv(196, 67%, 78%)
CMYKcmyk(66.8%, 18.1%, 0%, 22%)
CIE-LABlab(62.91, -17.00, -26.77)
CIE-LCHlch(62.91, 31.72, 237.58°)
OKLaboklab(67.32% -0.0719 -0.0748)
OKLCHoklch(67.32% 0.104 226.1)
XYZxyz(25.6486, 31.4734, 58.7450)
Luminance0.3148 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A3C7 #C76642
analogous
#42C7A9 #42A3C7 #4260C7
triadic
#42A3C7 #C742A3 #A3C742
tetradic
#42A3C7 #A942C7 #C76642 #60C742
square
#42A3C7 #A942C7 #C76642 #60C742
split-complementary
#42A3C7 #C74260 #C7A942
monochromatic
#21596E #2F7F9D #42A3C7 #71BAD5 #A0D1E3

Accessibility & contrast

On white

2.88
#42A3C7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#42A3C7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42A3C7
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A3C7#FFFFFF#000000##000000
##42A3C71.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#90A0C9
Deuteranopia (green-blind)
#7D92C7
Tritanopia (blue-blind)
#00AEAF
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #42a3c7;
/* rgb */ color: rgb(66, 163, 199);
/* oklch */ color: oklch(67.3% 0.104 226.1);
Tailwind
colors: {
  custom: {
    50: '#85bed8',
    500: '#42a3c7',
    950: '#000000',
  },
}
SCSS
$custom: #42a3c7;
$custom-light: #85bed8;
$custom-dark: #000000;
JSON
{
  "hex": "#42a3c7",
  "rgb": {
    "r": 66,
    "g": 163,
    "b": 199
  },
  "hsl": {
    "h": 196.241,
    "s": 54.286,
    "l": 51.961
  },
  "oklch": {
    "l": 0.67317,
    "c": 0.10382,
    "h": 226.1
  },
  "luminance": 0.31476
}

Semantic roles & 50–950 ramp

primary
#42A3C7
secondary
#D0A595
accent
#724ADE
background
#F8FBFD
surface
#F0F6FA
border
#CBD0D3
text
#0C1214
muted
#7D8183

Preview Lab

Preview with #42A3C7

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

Preview Lab → · Contrast checker → · Palette generator →

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