#42879D#42879D

#42879D is a mid, moderate cyan. Relative luminance 0.209; OKLCH L 58.8% C 0.077 H 221.4°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#42879D
RGBrgb(66, 135, 157)
HSLhsl(195, 41%, 44%)
HSVhsv(195, 58%, 62%)
CMYKcmyk(58%, 14%, 0%, 38.4%)
CIE-LABlab(52.86, -15.13, -18.32)
CIE-LCHlch(52.86, 23.76, 230.45°)
OKLaboklab(58.76% -0.0577 -0.0509)
OKLCHoklch(58.76% 0.077 221.4)
XYZxyz(16.9942, 20.9189, 35.0339)
Luminance0.2092 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42879D #9D5842
analogous
#429D85 #42879D #42599D
triadic
#42879D #9D4287 #879D42
tetradic
#42879D #85429D #9D5842 #599D42
square
#42879D #85429D #9D5842 #599D42
split-complementary
#42879D #9D4259 #9D8542
monochromatic
#1E3D47 #306272 #42879D #60A6BC #8BBECE

Accessibility & contrast

On white

4.05
#42879D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#42879D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42879D
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42879D#FFFFFF#000000##000000
##42879D1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A849E
Deuteranopia (green-blind)
#6D7A9D
Tritanopia (blue-blind)
#008E8E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #42879d;
/* rgb */ color: rgb(66, 135, 157);
/* oklch */ color: oklch(58.8% 0.077 221.4);
Tailwind
colors: {
  custom: {
    50: '#7faaba',
    500: '#42879d',
    950: '#000000',
  },
}
SCSS
$custom: #42879d;
$custom-light: #7faaba;
$custom-dark: #000000;
JSON
{
  "hex": "#42879d",
  "rgb": {
    "r": 66,
    "g": 135,
    "b": 157
  },
  "hsl": {
    "h": 194.505,
    "s": 40.807,
    "l": 43.725
  },
  "oklch": {
    "l": 0.58756,
    "c": 0.07697,
    "h": 221.4
  },
  "luminance": 0.20921
}

Semantic roles & 50–950 ramp

primary
#42879D
secondary
#B98F82
accent
#7557D1
background
#F8FAFB
surface
#EFF4F6
border
#CACED0
text
#0B1011
muted
#7C7F80

Preview Lab

Preview with #42879D

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

Preview Lab → · Contrast checker → · Palette generator →

#42879D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva