#42A2CB#42A2CB

#42A2CB is a light, moderate cyan. Relative luminance 0.313; OKLCH L 67.3% C 0.107 H 229.7°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#42A2CB
RGBrgb(66, 162, 203)
HSLhsl(198, 57%, 53%)
HSVhsv(198, 67%, 80%)
CMYKcmyk(67.5%, 20.2%, 0%, 20.4%)
CIE-LABlab(62.77, -15.18, -29.22)
CIE-LCHlch(62.77, 32.92, 242.55°)
OKLaboklab(67.26% -0.0694 -0.0819)
OKLCHoklch(67.26% 0.107 229.7)
XYZxyz(25.9423, 31.3079, 61.1642)
Luminance0.3131 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A2CB #CB6B42
analogous
#42CBAF #42A2CB #425ECB
triadic
#42A2CB #CB42A2 #A2CB42
tetradic
#42A2CB #AF42CB #CB6B42 #5ECB42
square
#42A2CB #AF42CB #CB6B42 #5ECB42
split-complementary
#42A2CB #CB425E #CBAF42
monochromatic
#205A73 #2D80A3 #42A2CB #72BAD8 #A2D1E5

Accessibility & contrast

On white

2.89
#42A2CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#42A2CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42A2CB
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A2CB#FFFFFF#000000##000000
##42A2CB1.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DA0CD
Deuteranopia (green-blind)
#7A92CA
Tritanopia (blue-blind)
#00ADB0
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #42a2cb;
/* rgb */ color: rgb(66, 162, 203);
/* oklch */ color: oklch(67.3% 0.107 229.7);
Tailwind
colors: {
  custom: {
    50: '#86bddb',
    500: '#42a2cb',
    950: '#000000',
  },
}
SCSS
$custom: #42a2cb;
$custom-light: #86bddb;
$custom-dark: #000000;
JSON
{
  "hex": "#42a2cb",
  "rgb": {
    "r": 66,
    "g": 162,
    "b": 203
  },
  "hsl": {
    "h": 197.956,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.67259,
    "c": 0.10734,
    "h": 229.7
  },
  "luminance": 0.31311
}

Semantic roles & 50–950 ramp

primary
#42A2CB
secondary
#D2A897
accent
#7548E0
background
#F8FBFD
surface
#F0F6FB
border
#CBD0D4
text
#0C1215
muted
#7D8183

Preview Lab

Preview with #42A2CB

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

Preview Lab → · Contrast checker → · Palette generator →

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