#407AD2#407AD2

#407AD2 is a mid, vivid blue. Relative luminance 0.197; OKLCH L 58.4% C 0.148 H 258.6°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#407AD2
RGBrgb(64, 122, 210)
HSLhsl(216, 62%, 54%)
HSVhsv(216, 70%, 82%)
CMYKcmyk(69.5%, 41.9%, 0%, 17.6%)
CIE-LABlab(51.45, 10.10, -50.95)
CIE-LCHlch(51.45, 51.94, 281.22°)
OKLaboklab(58.44% -0.0293 -0.1455)
OKLCHoklch(58.44% 0.148 258.6)
XYZxyz(20.7025, 19.6600, 63.6640)
Luminance0.1966 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407AD2 #D29840
analogous
#40C3D2 #407AD2 #4F40D2
triadic
#407AD2 #D2407A #7AD240
tetradic
#407AD2 #D240C3 #D29840 #40D24F
square
#407AD2 #D240C3 #D29840 #40D24F
split-complementary
#407AD2 #D24F40 #C3D240
monochromatic
#1D427B #295DAC #407AD2 #729CDE #A3BFE9

Accessibility & contrast

On white

4.26
#407AD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#407AD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407AD2
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407AD2#FFFFFF#000000##000000
##407AD21.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5082D5
Deuteranopia (green-blind)
#3874D0
Tritanopia (blue-blind)
#008E9C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #407ad2;
/* rgb */ color: rgb(64, 122, 210);
/* oklch */ color: oklch(58.4% 0.148 258.6);
Tailwind
colors: {
  custom: {
    50: '#859fe0',
    500: '#407ad2',
    950: '#000000',
  },
}
SCSS
$custom: #407ad2;
$custom-light: #859fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#407ad2",
  "rgb": {
    "r": 64,
    "g": 122,
    "b": 210
  },
  "hsl": {
    "h": 216.164,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.58441,
    "c": 0.14842,
    "h": 258.6
  },
  "luminance": 0.19662
}

Semantic roles & 50–950 ramp

primary
#407AD2
secondary
#D6BD98
accent
#A543E5
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #407AD2

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

Preview Lab → · Contrast checker → · Palette generator →

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