#42A7D3#42A7D3

#42A7D3 is a light, moderate cyan. Relative luminance 0.335; OKLCH L 68.8% C 0.112 H 230.4°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#42A7D3
RGBrgb(66, 167, 211)
HSLhsl(198, 62%, 54%)
HSVhsv(198, 69%, 83%)
CMYKcmyk(68.7%, 20.9%, 0%, 17.3%)
CIE-LABlab(64.56, -15.27, -30.89)
CIE-LCHlch(64.56, 34.46, 243.69°)
OKLaboklab(68.8% -0.0716 -0.0866)
OKLCHoklch(68.8% 0.112 230.4)
XYZxyz(27.8187, 33.4958, 66.6146)
Luminance0.3350 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A7D3 #D36E42
analogous
#42D3B7 #42A7D3 #425FD3
triadic
#42A7D3 #D342A7 #A7D342
tetradic
#42A7D3 #B742D3 #D36E42 #5FD342
square
#42A7D3 #B742D3 #D36E42 #5FD342
split-complementary
#42A7D3 #D3425F #D3B742
monochromatic
#1D607D #2986AF #42A7D3 #74BEDF #A5D5EA

Accessibility & contrast

On white

2.73
#42A7D3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#42A7D3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42A7D3
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A7D3#FFFFFF#000000##000000
##42A7D31.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#91A5D5
Deuteranopia (green-blind)
#7D96D2
Tritanopia (blue-blind)
#00B3B6
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #42a7d3;
/* rgb */ color: rgb(66, 167, 211);
/* oklch */ color: oklch(68.8% 0.112 230.4);
Tailwind
colors: {
  custom: {
    50: '#87c1e0',
    500: '#42a7d3',
    950: '#000000',
  },
}
SCSS
$custom: #42a7d3;
$custom-light: #87c1e0;
$custom-dark: #000000;
JSON
{
  "hex": "#42a7d3",
  "rgb": {
    "r": 66,
    "g": 167,
    "b": 211
  },
  "hsl": {
    "h": 198.207,
    "s": 62.232,
    "l": 54.314
  },
  "oklch": {
    "l": 0.68796,
    "c": 0.11239,
    "h": 230.4
  },
  "luminance": 0.33499
}

Semantic roles & 50–950 ramp

primary
#42A7D3
secondary
#D7AC9A
accent
#7442E5
background
#F8FBFD
surface
#F0F7FB
border
#CBD0D4
text
#0D1215
muted
#7D8183

Preview Lab

Preview with #42A7D3

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

Preview Lab → · Contrast checker → · Palette generator →

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