#42879E#42879E

#42879E is a mid, moderate cyan. Relative luminance 0.210; OKLCH L 58.8% C 0.078 H 222.4°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#42879E
RGBrgb(66, 135, 158)
HSLhsl(195, 41%, 44%)
HSVhsv(195, 58%, 62%)
CMYKcmyk(58.2%, 14.6%, 0%, 38%)
CIE-LABlab(52.90, -14.82, -18.84)
CIE-LCHlch(52.90, 23.97, 231.81°)
OKLaboklab(58.8% -0.0573 -0.0524)
OKLCHoklch(58.8% 0.078 222.4)
XYZxyz(17.0799, 20.9532, 35.4854)
Luminance0.2095 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42879E #9E5942
analogous
#429E87 #42879E #42599E
triadic
#42879E #9E4287 #879E42
tetradic
#42879E #87429E #9E5942 #599E42
square
#42879E #87429E #9E5942 #599E42
split-complementary
#42879E #9E4259 #9E8742
monochromatic
#1E3D48 #306273 #42879E #60A6BD #8CBECF

Accessibility & contrast

On white

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

On black

5.19
#42879E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42879E
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42879E#FFFFFF#000000##000000
##42879E1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #42879e;
/* rgb */ color: rgb(66, 135, 158);
/* oklch */ color: oklch(58.8% 0.078 222.4);
Tailwind
colors: {
  custom: {
    50: '#7faaba',
    500: '#42879e',
    950: '#000000',
  },
}
SCSS
$custom: #42879e;
$custom-light: #7faaba;
$custom-dark: #000000;
JSON
{
  "hex": "#42879e",
  "rgb": {
    "r": 66,
    "g": 135,
    "b": 158
  },
  "hsl": {
    "h": 195,
    "s": 41.071,
    "l": 43.922
  },
  "oklch": {
    "l": 0.58799,
    "c": 0.07766,
    "h": 222.4
  },
  "luminance": 0.20955
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #42879E

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

Preview Lab → · Contrast checker → · Palette generator →

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