#42879B#42879B

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

Color values

HEX#42879B
RGBrgb(66, 135, 155)
HSLhsl(193, 40%, 43%)
HSVhsv(193, 57%, 61%)
CMYKcmyk(57.4%, 12.9%, 0%, 39.2%)
CIE-LABlab(52.79, -15.75, -17.28)
CIE-LCHlch(52.79, 23.38, 227.65°)
OKLaboklab(58.67% -0.0586 -0.0479)
OKLCHoklch(58.67% 0.076 219.3)
XYZxyz(16.8248, 20.8512, 34.1420)
Luminance0.2085 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42879B #9B5642
analogous
#429B82 #42879B #425A9B
triadic
#42879B #9B4287 #879B42
tetradic
#42879B #82429B #9B5642 #5A9B42
square
#42879B #82429B #9B5642 #5A9B42
split-complementary
#42879B #9B425A #9B8242
monochromatic
#1D3C45 #306270 #42879B #5FA6BB #8ABECD

Accessibility & contrast

On white

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

On black

5.17
#42879B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42879B
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42879B#FFFFFF#000000##000000
##42879B1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #42879b;
/* rgb */ color: rgb(66, 135, 155);
/* oklch */ color: oklch(58.7% 0.076 219.3);
Tailwind
colors: {
  custom: {
    50: '#7eaab8',
    500: '#42879b',
    950: '#000000',
  },
}
SCSS
$custom: #42879b;
$custom-light: #7eaab8;
$custom-dark: #000000;
JSON
{
  "hex": "#42879b",
  "rgb": {
    "r": 66,
    "g": 135,
    "b": 155
  },
  "hsl": {
    "h": 193.483,
    "s": 40.271,
    "l": 43.333
  },
  "oklch": {
    "l": 0.58672,
    "c": 0.07568,
    "h": 219.3
  },
  "luminance": 0.20853
}

Semantic roles & 50–950 ramp

primary
#42879B
secondary
#B88D81
accent
#7358D0
background
#F8FAFB
surface
#EFF4F6
border
#CACED0
text
#0B1011
muted
#7C7F80

Preview Lab

Preview with #42879B

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

Preview Lab → · Contrast checker → · Palette generator →

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