#407C8A#407C8A

#407C8A is a mid, moderate cyan. Relative luminance 0.173; OKLCH L 55.2% C 0.066 H 214.8°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#407C8A
RGBrgb(64, 124, 138)
HSLhsl(191, 37%, 40%)
HSVhsv(191, 54%, 54%)
CMYKcmyk(53.6%, 10.1%, 0%, 45.9%)
CIE-LABlab(48.68, -15.34, -13.59)
CIE-LCHlch(48.68, 20.49, 221.54°)
OKLaboklab(55.16% -0.054 -0.0376)
OKLCHoklch(55.16% 0.066 214.8)
XYZxyz(13.9077, 17.3390, 26.6537)
Luminance0.1734 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407C8A #8A4E40
analogous
#408A73 #407C8A #40578A
triadic
#407C8A #8A407C #7C8A40
tetradic
#407C8A #73408A #8A4E40 #578A40
square
#407C8A #73408A #8A4E40 #578A40
split-complementary
#407C8A #8A4057 #8A7340
monochromatic
#193136 #2D5660 #407C8A #56A0B1 #80B7C4

Accessibility & contrast

On white

4.70
#407C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#407C8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407C8A
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407C8A#FFFFFF#000000##FFFFFF
##407C8A1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72798B
Deuteranopia (green-blind)
#67708A
Tritanopia (blue-blind)
#0B8180
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #407c8a;
/* rgb */ color: rgb(64, 124, 138);
/* oklch */ color: oklch(55.2% 0.066 214.8);
Tailwind
colors: {
  custom: {
    50: '#7ba2ac',
    500: '#407c8a',
    950: '#000000',
  },
}
SCSS
$custom: #407c8a;
$custom-light: #7ba2ac;
$custom-dark: #000000;
JSON
{
  "hex": "#407c8a",
  "rgb": {
    "r": 64,
    "g": 124,
    "b": 138
  },
  "hsl": {
    "h": 191.351,
    "s": 36.634,
    "l": 39.608
  },
  "oklch": {
    "l": 0.55162,
    "c": 0.06582,
    "h": 214.8
  },
  "luminance": 0.1734
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #407C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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