#407E8D#407E8D

#407E8D is a mid, moderate cyan. Relative luminance 0.179; OKLCH L 55.8% C 0.068 H 215.5°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#407E8D
RGBrgb(64, 126, 141)
HSLhsl(192, 38%, 40%)
HSVhsv(192, 55%, 55%)
CMYKcmyk(54.6%, 10.6%, 0%, 44.7%)
CIE-LABlab(49.42, -15.53, -14.24)
CIE-LCHlch(49.42, 21.07, 222.53°)
OKLaboklab(55.78% -0.0552 -0.0394)
OKLCHoklch(55.78% 0.068 215.5)
XYZxyz(14.3811, 17.9335, 27.8978)
Luminance0.1794 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407E8D #8D4F40
analogous
#408D75 #407E8D #40588D
triadic
#407E8D #8D407E #7E8D40
tetradic
#407E8D #75408D #8D4F40 #588D40
square
#407E8D #75408D #8D4F40 #588D40
split-complementary
#407E8D #8D4058 #8D7540
monochromatic
#1A3339 #2D5863 #407E8D #57A1B3 #81B9C6

Accessibility & contrast

On white

4.58
#407E8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#407E8D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407E8D
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407E8D#FFFFFF#000000##000000
##407E8D1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#737B8E
Deuteranopia (green-blind)
#68728D
Tritanopia (blue-blind)
#028483
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #407e8d;
/* rgb */ color: rgb(64, 126, 141);
/* oklch */ color: oklch(55.8% 0.068 215.5);
Tailwind
colors: {
  custom: {
    50: '#7ba3ae',
    500: '#407e8d',
    950: '#000000',
  },
}
SCSS
$custom: #407e8d;
$custom-light: #7ba3ae;
$custom-dark: #000000;
JSON
{
  "hex": "#407e8d",
  "rgb": {
    "r": 64,
    "g": 126,
    "b": 141
  },
  "hsl": {
    "h": 191.688,
    "s": 37.561,
    "l": 40.196
  },
  "oklch": {
    "l": 0.55783,
    "c": 0.06782,
    "h": 215.5
  },
  "luminance": 0.17935
}

Semantic roles & 50–950 ramp

primary
#407E8D
secondary
#B08378
accent
#715ACE
background
#F7FAFA
surface
#EEF3F4
border
#C9CDCE
text
#0A0F10
muted
#7C7F7F

Preview Lab

Preview with #407E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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