#407BD9#407BD9

#407BD9 is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.1% C 0.157 H 259.4°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#407BD9
RGBrgb(64, 123, 217)
HSLhsl(217, 67%, 55%)
HSVhsv(217, 71%, 85%)
CMYKcmyk(70.5%, 43.3%, 0%, 14.9%)
CIE-LABlab(52.13, 11.99, -53.82)
CIE-LCHlch(52.13, 55.14, 282.56°)
OKLaboklab(59.1% -0.0289 -0.1539)
OKLCHoklch(59.1% 0.157 259.4)
XYZxyz(21.7172, 20.2634, 68.3989)
Luminance0.2027 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407BD9 #D99E40
analogous
#40C7D9 #407BD9 #5240D9
triadic
#407BD9 #D9407B #7BD940
tetradic
#407BD9 #D940C7 #D99E40 #40D952
square
#407BD9 #D940C7 #D99E40 #40D952
split-complementary
#407BD9 #D95240 #C7D940
monochromatic
#1A4384 #245DB7 #407BD9 #739EE3 #A6C2ED

Accessibility & contrast

On white

4.16
#407BD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#407BD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407BD9
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407BD9#FFFFFF#000000##000000
##407BD91.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D84DD
Deuteranopia (green-blind)
#3176D7
Tritanopia (blue-blind)
#00919F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #407bd9;
/* rgb */ color: rgb(64, 123, 217);
/* oklch */ color: oklch(59.1% 0.157 259.4);
Tailwind
colors: {
  custom: {
    50: '#86a0e5',
    500: '#407bd9',
    950: '#000000',
  },
}
SCSS
$custom: #407bd9;
$custom-light: #86a0e5;
$custom-dark: #000000;
JSON
{
  "hex": "#407bd9",
  "rgb": {
    "r": 64,
    "g": 123,
    "b": 217
  },
  "hsl": {
    "h": 216.863,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.59099,
    "c": 0.1566,
    "h": 259.4
  },
  "luminance": 0.20266
}

Semantic roles & 50–950 ramp

primary
#407BD9
secondary
#DAC29A
accent
#A83EEA
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0D0E16
muted
#7D7E84

Preview Lab

Preview with #407BD9

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

Preview Lab → · Contrast checker → · Palette generator →

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