#42A3CC#42A3CC

#42A3CC is a light, moderate cyan. Relative luminance 0.317; OKLCH L 67.5% C 0.108 H 229.5°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#42A3CC
RGBrgb(66, 163, 204)
HSLhsl(198, 58%, 53%)
HSVhsv(198, 68%, 80%)
CMYKcmyk(67.6%, 20.1%, 0%, 20%)
CIE-LABlab(63.10, -15.39, -29.26)
CIE-LCHlch(63.10, 33.06, 242.25°)
OKLaboklab(67.54% -0.0701 -0.0819)
OKLCHoklch(67.54% 0.108 229.5)
XYZxyz(26.2387, 31.7094, 61.8527)
Luminance0.3171 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A3CC #CC6B42
analogous
#42CCB0 #42A3CC #425ECC
triadic
#42A3CC #CC42A3 #A3CC42
tetradic
#42A3CC #B042CC #CC6B42 #5ECC42
square
#42A3CC #B042CC #CC6B42 #5ECC42
split-complementary
#42A3CC #CC425E #CCB042
monochromatic
#1F5B74 #2C81A4 #42A3CC #72BAD9 #A2D2E6

Accessibility & contrast

On white

2.86
#42A3CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#42A3CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42A3CC
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A3CC#FFFFFF#000000##000000
##42A3CC1.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EA1CE
Deuteranopia (green-blind)
#7B93CB
Tritanopia (blue-blind)
#00AEB1
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #42a3cc;
/* rgb */ color: rgb(66, 163, 204);
/* oklch */ color: oklch(67.5% 0.108 229.5);
Tailwind
colors: {
  custom: {
    50: '#86bedb',
    500: '#42a3cc',
    950: '#000000',
  },
}
SCSS
$custom: #42a3cc;
$custom-light: #86bedb;
$custom-dark: #000000;
JSON
{
  "hex": "#42a3cc",
  "rgb": {
    "r": 66,
    "g": 163,
    "b": 204
  },
  "hsl": {
    "h": 197.826,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.6754,
    "c": 0.10785,
    "h": 229.5
  },
  "luminance": 0.31712
}

Semantic roles & 50–950 ramp

primary
#42A3CC
secondary
#D3A997
accent
#7547E1
background
#F8FBFD
surface
#F0F6FB
border
#CBD0D4
text
#0C1215
muted
#7D8183

Preview Lab

Preview with #42A3CC

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

Preview Lab → · Contrast checker → · Palette generator →

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