#42789A#42789A

#42789A is a mid, moderate cyan. Relative luminance 0.169; OKLCH L 55.0% C 0.078 H 238.1°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#42789A
RGBrgb(66, 120, 154)
HSLhsl(203, 40%, 43%)
HSVhsv(203, 57%, 60%)
CMYKcmyk(57.1%, 22.1%, 0%, 39.6%)
CIE-LABlab(48.16, -7.61, -23.79)
CIE-LCHlch(48.16, 24.97, 252.27°)
OKLaboklab(54.98% -0.0414 -0.0665)
OKLCHoklch(54.98% 0.078 238.1)
XYZxyz(14.7938, 16.9230, 33.0524)
Luminance0.1692 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42789A #9A6442
analogous
#429A90 #42789A #424C9A
triadic
#42789A #9A4278 #789A42
tetradic
#42789A #90429A #9A6442 #4C9A42
square
#42789A #90429A #9A6442 #4C9A42
split-complementary
#42789A #9A424C #9A9042
monochromatic
#1D3544 #30576F #42789A #5F97BA #8AB3CD

Accessibility & contrast

On white

4.79
#42789A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#42789A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #42789A
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42789A#FFFFFF#000000##FFFFFF
##42789A1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#68779C
Deuteranopia (green-blind)
#5C6E99
Tritanopia (blue-blind)
#008183
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #42789a;
/* rgb */ color: rgb(66, 120, 154);
/* oklch */ color: oklch(55.0% 0.078 238.1);
Tailwind
colors: {
  custom: {
    50: '#7d9eb8',
    500: '#42789a',
    950: '#000000',
  },
}
SCSS
$custom: #42789a;
$custom-light: #7d9eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#42789a",
  "rgb": {
    "r": 66,
    "g": 120,
    "b": 154
  },
  "hsl": {
    "h": 203.182,
    "s": 40,
    "l": 43.137
  },
  "oklch": {
    "l": 0.54977,
    "c": 0.07829,
    "h": 238.1
  },
  "luminance": 0.16924
}

Semantic roles & 50–950 ramp

primary
#42789A
secondary
#B89680
accent
#8658D0
background
#F8F9FB
surface
#EFF2F6
border
#CACCD0
text
#0A0E11
muted
#7C7E80

Preview Lab

Preview with #42789A

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

Preview Lab → · Contrast checker → · Palette generator →

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