#42A8D3#42A8D3

#42A8D3 is a light, moderate cyan. Relative luminance 0.339; OKLCH L 69.0% C 0.112 H 229.6°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#42A8D3
RGBrgb(66, 168, 211)
HSLhsl(198, 62%, 54%)
HSVhsv(198, 69%, 83%)
CMYKcmyk(68.7%, 20.4%, 0%, 17.3%)
CIE-LABlab(64.85, -15.81, -30.43)
CIE-LCHlch(64.85, 34.29, 242.55°)
OKLaboklab(69.03% -0.0726 -0.0853)
OKLCHoklch(69.03% 0.112 229.6)
XYZxyz(28.0026, 33.8636, 66.6759)
Luminance0.3387 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A8D3 #D36D42
analogous
#42D3B6 #42A8D3 #4260D3
triadic
#42A8D3 #D342A8 #A8D342
tetradic
#42A8D3 #B642D3 #D36D42 #60D342
square
#42A8D3 #B642D3 #D36D42 #60D342
split-complementary
#42A8D3 #D34260 #D3B642
monochromatic
#1D617D #2987AF #42A8D3 #74BFDF #A5D6EA

Accessibility & contrast

On white

2.70
#42A8D3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#42A8D3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42A8D3
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A8D3#FFFFFF#000000##000000
##42A8D31.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#92A5D5
Deuteranopia (green-blind)
#7E97D2
Tritanopia (blue-blind)
#00B4B6
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #42a8d3;
/* rgb */ color: rgb(66, 168, 211);
/* oklch */ color: oklch(69.0% 0.112 229.6);
Tailwind
colors: {
  custom: {
    50: '#87c1e0',
    500: '#42a8d3',
    950: '#000000',
  },
}
SCSS
$custom: #42a8d3;
$custom-light: #87c1e0;
$custom-dark: #000000;
JSON
{
  "hex": "#42a8d3",
  "rgb": {
    "r": 66,
    "g": 168,
    "b": 211
  },
  "hsl": {
    "h": 197.793,
    "s": 62.232,
    "l": 54.314
  },
  "oklch": {
    "l": 0.6903,
    "c": 0.11203,
    "h": 229.6
  },
  "luminance": 0.33867
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #42A8D3

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

Preview Lab → · Contrast checker → · Palette generator →

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