#42A3D4#42A3D4

#42A3D4 is a light, moderate cyan. Relative luminance 0.321; OKLCH L 67.9% C 0.115 H 234.2°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#42A3D4
RGBrgb(66, 163, 212)
HSLhsl(200, 63%, 55%)
HSVhsv(200, 69%, 83%)
CMYKcmyk(68.9%, 23.1%, 0%, 16.9%)
CIE-LABlab(63.43, -12.78, -33.20)
CIE-LCHlch(63.43, 35.57, 248.95°)
OKLaboklab(67.91% -0.0673 -0.0933)
OKLCHoklch(67.91% 0.115 234.2)
XYZxyz(27.2229, 32.1031, 67.0364)
Luminance0.3211 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A3D4 #D47342
analogous
#42D4BC #42A3D4 #425AD4
triadic
#42A3D4 #D442A3 #A3D442
tetradic
#42A3D4 #BC42D4 #D47342 #5AD442
square
#42A3D4 #BC42D4 #D47342 #5AD442
split-complementary
#42A3D4 #D4425A #D4BC42
monochromatic
#1D5E7F #2883B1 #42A3D4 #74BBDF #A6D4EB

Accessibility & contrast

On white

2.83
#42A3D4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#42A3D4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42A3D4
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A3D4#FFFFFF#000000##000000
##42A3D41.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BA2D6
Deuteranopia (green-blind)
#7793D3
Tritanopia (blue-blind)
#00B0B3
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #42a3d4;
/* rgb */ color: rgb(66, 163, 212);
/* oklch */ color: oklch(67.9% 0.115 234.2);
Tailwind
colors: {
  custom: {
    50: '#87bee1',
    500: '#42a3d4',
    950: '#000000',
  },
}
SCSS
$custom: #42a3d4;
$custom-light: #87bee1;
$custom-dark: #000000;
JSON
{
  "hex": "#42a3d4",
  "rgb": {
    "r": 66,
    "g": 163,
    "b": 212
  },
  "hsl": {
    "h": 200.137,
    "s": 62.931,
    "l": 54.51
  },
  "oklch": {
    "l": 0.67907,
    "c": 0.11502,
    "h": 234.2
  },
  "luminance": 0.32106
}

Semantic roles & 50–950 ramp

primary
#42A3D4
secondary
#D8AF9A
accent
#7942E6
background
#F8FBFD
surface
#F0F6FB
border
#CBD0D4
text
#0D1215
muted
#7D8183

Preview Lab

Preview with #42A3D4

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

Preview Lab → · Contrast checker → · Palette generator →

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