#42879C#42879C

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

Color values

HEX#42879C
RGBrgb(66, 135, 156)
HSLhsl(194, 41%, 44%)
HSVhsv(194, 58%, 61%)
CMYKcmyk(57.7%, 13.5%, 0%, 38.8%)
CIE-LABlab(52.82, -15.44, -17.80)
CIE-LCHlch(52.82, 23.57, 229.06°)
OKLaboklab(58.71% -0.0581 -0.0494)
OKLCHoklch(58.71% 0.076 220.4)
XYZxyz(16.9091, 20.8849, 34.5861)
Luminance0.2089 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42879C #9C5742
analogous
#429C84 #42879C #425A9C
triadic
#42879C #9C4287 #879C42
tetradic
#42879C #84429C #9C5742 #5A9C42
square
#42879C #84429C #9C5742 #5A9C42
split-complementary
#42879C #9C425A #9C8442
monochromatic
#1E3D46 #306271 #42879C #60A6BC #8BBECE

Accessibility & contrast

On white

4.06
#42879C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##42879C#FFFFFF#000000##000000
##42879C1.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #42879c;
/* rgb */ color: rgb(66, 135, 156);
/* oklch */ color: oklch(58.7% 0.076 220.4);
Tailwind
colors: {
  custom: {
    50: '#7eaab9',
    500: '#42879c',
    950: '#000000',
  },
}
SCSS
$custom: #42879c;
$custom-light: #7eaab9;
$custom-dark: #000000;
JSON
{
  "hex": "#42879c",
  "rgb": {
    "r": 66,
    "g": 135,
    "b": 156
  },
  "hsl": {
    "h": 194,
    "s": 40.541,
    "l": 43.529
  },
  "oklch": {
    "l": 0.58714,
    "c": 0.07631,
    "h": 220.4
  },
  "luminance": 0.20886
}

Semantic roles & 50–950 ramp

primary
#42879C
secondary
#B98E81
accent
#7457D0
background
#F8FAFB
surface
#EFF4F6
border
#CACED0
text
#0B1011
muted
#7C7F80

Preview Lab

Preview with #42879C

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

Preview Lab → · Contrast checker → · Palette generator →

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