#42A5CE#42A5CE

#42A5CE is a light, moderate cyan. Relative luminance 0.325; OKLCH L 68.1% C 0.109 H 229.0°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#42A5CE
RGBrgb(66, 165, 206)
HSLhsl(198, 59%, 53%)
HSVhsv(198, 68%, 81%)
CMYKcmyk(68%, 19.9%, 0%, 19.2%)
CIE-LABlab(63.77, -15.82, -29.33)
CIE-LCHlch(63.77, 33.33, 241.66°)
OKLaboklab(68.1% -0.0714 -0.0822)
OKLCHoklch(68.1% 0.109 229)
XYZxyz(26.8380, 32.5218, 63.2435)
Luminance0.3252 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A5CE #CE6B42
analogous
#42CEB1 #42A5CE #425FCE
triadic
#42A5CE #CE42A5 #A5CE42
tetradic
#42A5CE #B142CE #CE6B42 #5FCE42
square
#42A5CE #B142CE #CE6B42 #5FCE42
split-complementary
#42A5CE #CE425F #CEB142
monochromatic
#1F5D77 #2B83A7 #42A5CE #73BCDB #A3D3E7

Accessibility & contrast

On white

2.80
#42A5CE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#42A5CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42A5CE
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A5CE#FFFFFF#000000##000000
##42A5CE1.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#90A2D0
Deuteranopia (green-blind)
#7C94CD
Tritanopia (blue-blind)
#00B1B2
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #42a5ce;
/* rgb */ color: rgb(66, 165, 206);
/* oklch */ color: oklch(68.1% 0.109 229.0);
Tailwind
colors: {
  custom: {
    50: '#86bfdd',
    500: '#42a5ce',
    950: '#000000',
  },
}
SCSS
$custom: #42a5ce;
$custom-light: #86bfdd;
$custom-dark: #000000;
JSON
{
  "hex": "#42a5ce",
  "rgb": {
    "r": 66,
    "g": 165,
    "b": 206
  },
  "hsl": {
    "h": 197.571,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.68101,
    "c": 0.10886,
    "h": 229
  },
  "luminance": 0.32525
}

Semantic roles & 50–950 ramp

primary
#42A5CE
secondary
#D4A998
accent
#7446E2
background
#F8FBFD
surface
#F0F7FB
border
#CBD0D4
text
#0C1215
muted
#7D8183

Preview Lab

Preview with #42A5CE

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

Preview Lab → · Contrast checker → · Palette generator →

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