#42789B#42789B

#42789B is a mid, moderate cyan. Relative luminance 0.170; OKLCH L 55.0% C 0.079 H 238.9°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#42789B
RGBrgb(66, 120, 155)
HSLhsl(204, 40%, 43%)
HSVhsv(204, 57%, 61%)
CMYKcmyk(57.4%, 22.6%, 0%, 39.2%)
CIE-LABlab(48.21, -7.28, -24.31)
CIE-LCHlch(48.21, 25.38, 253.32°)
OKLaboklab(55.02% -0.041 -0.068)
OKLCHoklch(55.02% 0.079 238.9)
XYZxyz(14.8774, 16.9564, 33.4929)
Luminance0.1696 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42789B #9B6542
analogous
#429B91 #42789B #424B9B
triadic
#42789B #9B4278 #789B42
tetradic
#42789B #91429B #9B6542 #4B9B42
square
#42789B #91429B #9B6542 #4B9B42
split-complementary
#42789B #9B424B #9B9142
monochromatic
#1D3645 #305770 #42789B #5F97BB #8AB3CD

Accessibility & contrast

On white

4.78
#42789B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#42789B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #42789B
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42789B#FFFFFF#000000##FFFFFF
##42789B1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#68789D
Deuteranopia (green-blind)
#5C6E9A
Tritanopia (blue-blind)
#008184
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #42789b;
/* rgb */ color: rgb(66, 120, 155);
/* oklch */ color: oklch(55.0% 0.079 238.9);
Tailwind
colors: {
  custom: {
    50: '#7e9eb8',
    500: '#42789b',
    950: '#000000',
  },
}
SCSS
$custom: #42789b;
$custom-light: #7e9eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#42789b",
  "rgb": {
    "r": 66,
    "g": 120,
    "b": 155
  },
  "hsl": {
    "h": 203.596,
    "s": 40.271,
    "l": 43.333
  },
  "oklch": {
    "l": 0.55024,
    "c": 0.07939,
    "h": 238.9
  },
  "luminance": 0.16958
}

Semantic roles & 50–950 ramp

primary
#42789B
secondary
#B89681
accent
#8758D0
background
#F8F9FB
surface
#EFF2F6
border
#CACCD0
text
#0A0E11
muted
#7C7E80

Preview Lab

Preview with #42789B

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

Preview Lab → · Contrast checker → · Palette generator →

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