#407AD9#407AD9

#407AD9 is a mid, vivid blue. Relative luminance 0.200; OKLCH L 58.9% C 0.158 H 259.8°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#407AD9
RGBrgb(64, 122, 217)
HSLhsl(217, 67%, 55%)
HSVhsv(217, 71%, 85%)
CMYKcmyk(70.5%, 43.8%, 0%, 14.9%)
CIE-LABlab(51.86, 12.61, -54.26)
CIE-LCHlch(51.86, 55.71, 283.08°)
OKLaboklab(58.89% -0.028 -0.1552)
OKLCHoklch(58.89% 0.158 259.8)
XYZxyz(21.5938, 20.0165, 68.3577)
Luminance0.2002 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407AD9 #D99F40
analogous
#40C6D9 #407AD9 #5340D9
triadic
#407AD9 #D9407A #7AD940
tetradic
#407AD9 #D940C6 #D99F40 #40D953
square
#407AD9 #D940C6 #D99F40 #40D953
split-complementary
#407AD9 #D95340 #C6D940
monochromatic
#1A4284 #245CB7 #407AD9 #739EE3 #A6C1ED

Accessibility & contrast

On white

4.20
#407AD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#407AD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407AD9
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407AD9#FFFFFF#000000##000000
##407AD91.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B83DD
Deuteranopia (green-blind)
#2F75D7
Tritanopia (blue-blind)
#00909F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #407ad9;
/* rgb */ color: rgb(64, 122, 217);
/* oklch */ color: oklch(58.9% 0.158 259.8);
Tailwind
colors: {
  custom: {
    50: '#869fe5',
    500: '#407ad9',
    950: '#000000',
  },
}
SCSS
$custom: #407ad9;
$custom-light: #869fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#407ad9",
  "rgb": {
    "r": 64,
    "g": 122,
    "b": 217
  },
  "hsl": {
    "h": 217.255,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.58885,
    "c": 0.15774,
    "h": 259.8
  },
  "luminance": 0.20019
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #407AD9

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

Preview Lab → · Contrast checker → · Palette generator →

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