#42789C#42789C

#42789C is a mid, moderate cyan. Relative luminance 0.170; OKLCH L 55.1% C 0.080 H 239.6°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#42789C
RGBrgb(66, 120, 156)
HSLhsl(204, 41%, 44%)
HSVhsv(204, 58%, 61%)
CMYKcmyk(57.7%, 23.1%, 0%, 38.8%)
CIE-LABlab(48.25, -6.96, -24.83)
CIE-LCHlch(48.25, 25.79, 254.35°)
OKLaboklab(55.07% -0.0407 -0.0694)
OKLCHoklch(55.07% 0.08 239.6)
XYZxyz(14.9618, 16.9902, 33.9370)
Luminance0.1699 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42789C #9C6642
analogous
#429C93 #42789C #424B9C
triadic
#42789C #9C4278 #789C42
tetradic
#42789C #93429C #9C6642 #4B9C42
square
#42789C #93429C #9C6642 #4B9C42
split-complementary
#42789C #9C424B #9C9342
monochromatic
#1E3646 #305771 #42789C #6097BC #8BB3CE

Accessibility & contrast

On white

4.77
#42789C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#42789C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #42789C
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42789C#FFFFFF#000000##FFFFFF
##42789C1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#68789E
Deuteranopia (green-blind)
#5C6E9B
Tritanopia (blue-blind)
#008184
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #42789c;
/* rgb */ color: rgb(66, 120, 156);
/* oklch */ color: oklch(55.1% 0.080 239.6);
Tailwind
colors: {
  custom: {
    50: '#7e9eb9',
    500: '#42789c',
    950: '#000000',
  },
}
SCSS
$custom: #42789c;
$custom-light: #7e9eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#42789c",
  "rgb": {
    "r": 66,
    "g": 120,
    "b": 156
  },
  "hsl": {
    "h": 204,
    "s": 40.541,
    "l": 43.529
  },
  "oklch": {
    "l": 0.55072,
    "c": 0.08048,
    "h": 239.6
  },
  "luminance": 0.16991
}

Semantic roles & 50–950 ramp

primary
#42789C
secondary
#B99781
accent
#8857D0
background
#F8F9FB
surface
#EFF2F6
border
#CACCD0
text
#0A0E11
muted
#7C7E80

Preview Lab

Preview with #42789C

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

Preview Lab → · Contrast checker → · Palette generator →

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