#42879F#42879F

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

Color values

HEX#42879F
RGBrgb(66, 135, 159)
HSLhsl(195, 41%, 44%)
HSVhsv(195, 58%, 62%)
CMYKcmyk(58.5%, 15.1%, 0%, 37.6%)
CIE-LABlab(52.94, -14.51, -19.36)
CIE-LCHlch(52.94, 24.20, 233.16°)
OKLaboklab(58.84% -0.0569 -0.0538)
OKLCHoklch(58.84% 0.078 223.4)
XYZxyz(17.1663, 20.9878, 35.9406)
Luminance0.2099 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42879F #9F5A42
analogous
#429F89 #42879F #42599F
triadic
#42879F #9F4287 #879F42
tetradic
#42879F #89429F #9F5A42 #599F42
square
#42879F #89429F #9F5A42 #599F42
split-complementary
#42879F #9F4259 #9F8942
monochromatic
#1E3E49 #306274 #42879F #61A5BD #8CBECF

Accessibility & contrast

On white

4.04
#42879F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#42879F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42879F
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42879F#FFFFFF#000000##000000
##42879F1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7984A0
Deuteranopia (green-blind)
#6C7A9F
Tritanopia (blue-blind)
#008E8F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #42879f;
/* rgb */ color: rgb(66, 135, 159);
/* oklch */ color: oklch(58.8% 0.078 223.4);
Tailwind
colors: {
  custom: {
    50: '#7faabb',
    500: '#42879f',
    950: '#000000',
  },
}
SCSS
$custom: #42879f;
$custom-light: #7faabb;
$custom-dark: #000000;
JSON
{
  "hex": "#42879f",
  "rgb": {
    "r": 66,
    "g": 135,
    "b": 159
  },
  "hsl": {
    "h": 195.484,
    "s": 41.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.58841,
    "c": 0.07836,
    "h": 223.4
  },
  "luminance": 0.20989
}

Semantic roles & 50–950 ramp

primary
#42879F
secondary
#BA9182
accent
#7657D1
background
#F8FAFB
surface
#EFF4F6
border
#CACED0
text
#0B1011
muted
#7C7F80

Preview Lab

Preview with #42879F

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

Preview Lab → · Contrast checker → · Palette generator →

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