#407B8A#407B8A

#407B8A is a mid, moderate cyan. Relative luminance 0.171; OKLCH L 54.9% C 0.066 H 216.4°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#407B8A
RGBrgb(64, 123, 138)
HSLhsl(192, 37%, 40%)
HSVhsv(192, 54%, 54%)
CMYKcmyk(53.6%, 10.9%, 0%, 45.9%)
CIE-LABlab(48.37, -14.78, -14.06)
CIE-LCHlch(48.37, 20.40, 223.56°)
OKLaboklab(54.91% -0.0528 -0.0389)
OKLCHoklch(54.91% 0.066 216.4)
XYZxyz(13.7830, 17.0897, 26.6121)
Luminance0.1709 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407B8A #8A4F40
analogous
#408A74 #407B8A #40568A
triadic
#407B8A #8A407B #7B8A40
tetradic
#407B8A #74408A #8A4F40 #568A40
square
#407B8A #74408A #8A4F40 #568A40
split-complementary
#407B8A #8A4056 #8A7440
monochromatic
#193036 #2D5660 #407B8A #569EB1 #80B6C4

Accessibility & contrast

On white

4.75
#407B8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#407B8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407B8A
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407B8A#FFFFFF#000000##FFFFFF
##407B8A1.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)
#71788B
Deuteranopia (green-blind)
#656F8A
Tritanopia (blue-blind)
#0C8180
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #407b8a;
/* rgb */ color: rgb(64, 123, 138);
/* oklch */ color: oklch(54.9% 0.066 216.4);
Tailwind
colors: {
  custom: {
    50: '#7ba1ac',
    500: '#407b8a',
    950: '#000000',
  },
}
SCSS
$custom: #407b8a;
$custom-light: #7ba1ac;
$custom-dark: #000000;
JSON
{
  "hex": "#407b8a",
  "rgb": {
    "r": 64,
    "g": 123,
    "b": 138
  },
  "hsl": {
    "h": 192.162,
    "s": 36.634,
    "l": 39.608
  },
  "oklch": {
    "l": 0.54913,
    "c": 0.06561,
    "h": 216.4
  },
  "luminance": 0.17091
}

Semantic roles & 50–950 ramp

primary
#407B8A
secondary
#AF8277
accent
#725BCD
background
#F7F9FA
surface
#EEF2F4
border
#C9CCCE
text
#0A0F10
muted
#7C7E7F

Preview Lab

Preview with #407B8A

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

Preview Lab → · Contrast checker → · Palette generator →

#407B8A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva