#407EB5#407EB5

#407EB5 is a mid, moderate cyan. Relative luminance 0.193; OKLCH L 57.7% C 0.107 H 247.6°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#407EB5
RGBrgb(64, 126, 181)
HSLhsl(208, 48%, 48%)
HSVhsv(208, 65%, 71%)
CMYKcmyk(64.6%, 30.4%, 0%, 29%)
CIE-LABlab(51.09, -2.51, -34.94)
CIE-LCHlch(51.09, 35.03, 265.89°)
OKLaboklab(57.67% -0.0407 -0.0986)
OKLCHoklch(57.67% 0.107 247.6)
XYZxyz(17.9126, 19.3461, 46.4973)
Luminance0.1935 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407EB5 #B57740
analogous
#40B5B1 #407EB5 #4044B5
triadic
#407EB5 #B5407E #7EB540
tetradic
#407EB5 #B140B5 #B57740 #44B540
square
#407EB5 #B140B5 #B57740 #44B540
split-complementary
#407EB5 #B54044 #B5B140
monochromatic
#203F5B #305F88 #407EB5 #689CCA #96BADA

Accessibility & contrast

On white

4.31
#407EB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#407EB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407EB5
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407EB5#FFFFFF#000000##000000
##407EB51.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6680B7
Deuteranopia (green-blind)
#5675B4
Tritanopia (blue-blind)
#008B91
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #407eb5;
/* rgb */ color: rgb(64, 126, 181);
/* oklch */ color: oklch(57.7% 0.107 247.6);
Tailwind
colors: {
  custom: {
    50: '#80a3cb',
    500: '#407eb5',
    950: '#000000',
  },
}
SCSS
$custom: #407eb5;
$custom-light: #80a3cb;
$custom-dark: #000000;
JSON
{
  "hex": "#407eb5",
  "rgb": {
    "r": 64,
    "g": 126,
    "b": 181
  },
  "hsl": {
    "h": 208.205,
    "s": 47.755,
    "l": 48.039
  },
  "oklch": {
    "l": 0.57665,
    "c": 0.10669,
    "h": 247.6
  },
  "luminance": 0.19348
}

Semantic roles & 50–950 ramp

primary
#407EB5
secondary
#C5A78B
accent
#9050D7
background
#F8FAFC
surface
#EFF3F8
border
#CACDD1
text
#0B0F13
muted
#7C7F82

Preview Lab

Preview with #407EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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