#407D8A#407D8A

#407D8A is a mid, moderate cyan. Relative luminance 0.176; OKLCH L 55.4% C 0.066 H 213.3°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#407D8A
RGBrgb(64, 125, 138)
HSLhsl(191, 37%, 40%)
HSVhsv(191, 54%, 54%)
CMYKcmyk(53.6%, 9.4%, 0%, 45.9%)
CIE-LABlab(49.00, -15.89, -13.11)
CIE-LCHlch(49.00, 20.60, 219.54°)
OKLaboklab(55.41% -0.0553 -0.0362)
OKLCHoklch(55.41% 0.066 213.3)
XYZxyz(14.0336, 17.5910, 26.6957)
Luminance0.1759 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407D8A #8A4D40
analogous
#408A72 #407D8A #40588A
triadic
#407D8A #8A407D #7D8A40
tetradic
#407D8A #72408A #8A4D40 #588A40
square
#407D8A #72408A #8A4D40 #588A40
split-complementary
#407D8A #8A4058 #8A7240
monochromatic
#193136 #2D5760 #407D8A #56A1B1 #80B8C4

Accessibility & contrast

On white

4.65
#407D8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#407D8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #407D8A
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407D8A#FFFFFF#000000##FFFFFF
##407D8A1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73798B
Deuteranopia (green-blind)
#68718A
Tritanopia (blue-blind)
#0B8281
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #407d8a;
/* rgb */ color: rgb(64, 125, 138);
/* oklch */ color: oklch(55.4% 0.066 213.3);
Tailwind
colors: {
  custom: {
    50: '#7ba2ac',
    500: '#407d8a',
    950: '#000000',
  },
}
SCSS
$custom: #407d8a;
$custom-light: #7ba2ac;
$custom-dark: #000000;
JSON
{
  "hex": "#407d8a",
  "rgb": {
    "r": 64,
    "g": 125,
    "b": 138
  },
  "hsl": {
    "h": 190.541,
    "s": 36.634,
    "l": 39.608
  },
  "oklch": {
    "l": 0.55412,
    "c": 0.0661,
    "h": 213.3
  },
  "luminance": 0.17592
}

Semantic roles & 50–950 ramp

primary
#407D8A
secondary
#AF8177
accent
#6F5BCD
background
#F7FAFA
surface
#EEF3F4
border
#C9CDCE
text
#0A0F10
muted
#7C7F7F

Preview Lab

Preview with #407D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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