#407C8B#407C8B

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

Color values

HEX#407C8B
RGBrgb(64, 124, 139)
HSLhsl(192, 37%, 40%)
HSVhsv(192, 54%, 55%)
CMYKcmyk(54%, 10.8%, 0%, 45.5%)
CIE-LABlab(48.72, -15.03, -14.12)
CIE-LCHlch(48.72, 20.62, 223.21°)
OKLaboklab(55.2% -0.0536 -0.0391)
OKLCHoklch(55.2% 0.066 216.1)
XYZxyz(13.9804, 17.3681, 27.0367)
Luminance0.1737 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407C8B #8B4F40
analogous
#408B75 #407C8B #40578B
triadic
#407C8B #8B407C #7C8B40
tetradic
#407C8B #75408B #8B4F40 #578B40
square
#407C8B #75408B #8B4F40 #578B40
split-complementary
#407C8B #8B4057 #8B7540
monochromatic
#193137 #2D5761 #407C8B #579FB2 #81B7C5

Accessibility & contrast

On white

4.69
#407C8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #407C8B
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407C8B#FFFFFF#000000##FFFFFF
##407C8B1.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72798C
Deuteranopia (green-blind)
#66708B
Tritanopia (blue-blind)
#098281
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #407c8b;
/* rgb */ color: rgb(64, 124, 139);
/* oklch */ color: oklch(55.2% 0.066 216.1);
Tailwind
colors: {
  custom: {
    50: '#7ba2ac',
    500: '#407c8b',
    950: '#000000',
  },
}
SCSS
$custom: #407c8b;
$custom-light: #7ba2ac;
$custom-dark: #000000;
JSON
{
  "hex": "#407c8b",
  "rgb": {
    "r": 64,
    "g": 124,
    "b": 139
  },
  "hsl": {
    "h": 192,
    "s": 36.946,
    "l": 39.804
  },
  "oklch": {
    "l": 0.55203,
    "c": 0.06635,
    "h": 216.1
  },
  "luminance": 0.17369
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #407C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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