#42879A#42879A

#42879A is a mid, moderate cyan. Relative luminance 0.208; OKLCH L 58.6% C 0.075 H 218.2°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#42879A
RGBrgb(66, 135, 154)
HSLhsl(193, 40%, 43%)
HSVhsv(193, 57%, 60%)
CMYKcmyk(57.1%, 12.3%, 0%, 39.6%)
CIE-LABlab(52.75, -16.06, -16.75)
CIE-LCHlch(52.75, 23.21, 226.22°)
OKLaboklab(58.63% -0.059 -0.0465)
OKLCHoklch(58.63% 0.075 218.2)
XYZxyz(16.7412, 20.8177, 33.7016)
Luminance0.2082 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42879A #9A5542
analogous
#429A81 #42879A #425B9A
triadic
#42879A #9A4287 #879A42
tetradic
#42879A #81429A #9A5542 #5B9A42
square
#42879A #81429A #9A5542 #5B9A42
split-complementary
#42879A #9A425B #9A8142
monochromatic
#1D3C44 #30616F #42879A #5FA7BA #8ABECD

Accessibility & contrast

On white

4.07
#42879A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#42879A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42879A
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42879A#FFFFFF#000000##000000
##42879A1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B839B
Deuteranopia (green-blind)
#6E7A9A
Tritanopia (blue-blind)
#008E8D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #42879a;
/* rgb */ color: rgb(66, 135, 154);
/* oklch */ color: oklch(58.6% 0.075 218.2);
Tailwind
colors: {
  custom: {
    50: '#7eaab7',
    500: '#42879a',
    950: '#000000',
  },
}
SCSS
$custom: #42879a;
$custom-light: #7eaab7;
$custom-dark: #000000;
JSON
{
  "hex": "#42879a",
  "rgb": {
    "r": 66,
    "g": 135,
    "b": 154
  },
  "hsl": {
    "h": 192.955,
    "s": 40,
    "l": 43.137
  },
  "oklch": {
    "l": 0.5863,
    "c": 0.07507,
    "h": 218.2
  },
  "luminance": 0.20819
}

Semantic roles & 50–950 ramp

primary
#42879A
secondary
#B88C80
accent
#7258D0
background
#F8FAFB
surface
#EFF4F6
border
#CACED0
text
#0B1011
muted
#7C7F80

Preview Lab

Preview with #42879A

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

Preview Lab → · Contrast checker → · Palette generator →

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