#42789F#42789F

#42789F is a mid, moderate cyan. Relative luminance 0.171; OKLCH L 55.2% C 0.084 H 241.8°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#42789F
RGBrgb(66, 120, 159)
HSLhsl(205, 41%, 44%)
HSVhsv(205, 58%, 62%)
CMYKcmyk(58.5%, 24.5%, 0%, 37.6%)
CIE-LABlab(48.38, -5.98, -26.39)
CIE-LCHlch(48.38, 27.06, 257.24°)
OKLaboklab(55.22% -0.0396 -0.0739)
OKLCHoklch(55.22% 0.084 241.8)
XYZxyz(15.2189, 17.0930, 35.2914)
Luminance0.1709 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42789F #9F6942
analogous
#429F98 #42789F #424A9F
triadic
#42789F #9F4278 #789F42
tetradic
#42789F #98429F #9F6942 #4A9F42
square
#42789F #98429F #9F6942 #4A9F42
split-complementary
#42789F #9F424A #9F9842
monochromatic
#1E3749 #305774 #42789F #6197BD #8CB3CF

Accessibility & contrast

On white

4.75
#42789F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#42789F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #42789F
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42789F#FFFFFF#000000##FFFFFF
##42789F1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6778A1
Deuteranopia (green-blind)
#5A6F9E
Tritanopia (blue-blind)
#008285
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #42789f;
/* rgb */ color: rgb(66, 120, 159);
/* oklch */ color: oklch(55.2% 0.084 241.8);
Tailwind
colors: {
  custom: {
    50: '#7e9ebb',
    500: '#42789f',
    950: '#000000',
  },
}
SCSS
$custom: #42789f;
$custom-light: #7e9ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#42789f",
  "rgb": {
    "r": 66,
    "g": 120,
    "b": 159
  },
  "hsl": {
    "h": 205.161,
    "s": 41.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.55217,
    "c": 0.08387,
    "h": 241.8
  },
  "luminance": 0.17094
}

Semantic roles & 50–950 ramp

primary
#42789F
secondary
#BA9A82
accent
#8A57D1
background
#F8F9FB
surface
#EFF2F6
border
#CACCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #42789F

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

Preview Lab → · Contrast checker → · Palette generator →

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