#407EB4#407EB4

#407EB4 is a mid, moderate cyan. Relative luminance 0.193; OKLCH L 57.6% C 0.105 H 247.1°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#407EB4
RGBrgb(64, 126, 180)
HSLhsl(208, 48%, 48%)
HSVhsv(208, 64%, 71%)
CMYKcmyk(64.4%, 30%, 0%, 29.4%)
CIE-LABlab(51.04, -2.86, -34.44)
CIE-LCHlch(51.04, 34.55, 265.26°)
OKLaboklab(57.61% -0.041 -0.0972)
OKLCHoklch(57.61% 0.105 247.1)
XYZxyz(17.8104, 19.3052, 45.9588)
Luminance0.1931 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407EB4 #B47640
analogous
#40B4B0 #407EB4 #4044B4
triadic
#407EB4 #B4407E #7EB440
tetradic
#407EB4 #B040B4 #B47640 #44B440
square
#407EB4 #B040B4 #B47640 #44B440
split-complementary
#407EB4 #B44044 #B4B040
monochromatic
#203F5A #305E87 #407EB4 #689CC9 #95BAD9

Accessibility & contrast

On white

4.32
#407EB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#407EB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407EB4
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407EB4#FFFFFF#000000##000000
##407EB41.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6680B6
Deuteranopia (green-blind)
#5775B3
Tritanopia (blue-blind)
#008B91
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #407eb4;
/* rgb */ color: rgb(64, 126, 180);
/* oklch */ color: oklch(57.6% 0.105 247.1);
Tailwind
colors: {
  custom: {
    50: '#80a3ca',
    500: '#407eb4',
    950: '#000000',
  },
}
SCSS
$custom: #407eb4;
$custom-light: #80a3ca;
$custom-dark: #000000;
JSON
{
  "hex": "#407eb4",
  "rgb": {
    "r": 64,
    "g": 126,
    "b": 180
  },
  "hsl": {
    "h": 207.931,
    "s": 47.541,
    "l": 47.843
  },
  "oklch": {
    "l": 0.57612,
    "c": 0.10546,
    "h": 247.1
  },
  "luminance": 0.19307
}

Semantic roles & 50–950 ramp

primary
#407EB4
secondary
#C5A68B
accent
#8F51D7
background
#F8FAFC
surface
#EFF3F8
border
#CACDD1
text
#0B0F13
muted
#7C7F82

Preview Lab

Preview with #407EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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