#407BD6#407BD6

#407BD6 is a mid, vivid blue. Relative luminance 0.201; OKLCH L 58.9% C 0.153 H 258.9°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#407BD6
RGBrgb(64, 123, 214)
HSLhsl(216, 65%, 55%)
HSVhsv(216, 70%, 84%)
CMYKcmyk(70.1%, 42.5%, 0%, 16.1%)
CIE-LABlab(51.96, 10.92, -52.40)
CIE-LCHlch(51.96, 53.52, 281.77°)
OKLaboklab(58.91% -0.0295 -0.1497)
OKLCHoklch(58.91% 0.153 258.9)
XYZxyz(21.3305, 20.1087, 66.3625)
Luminance0.2011 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407BD6 #D69B40
analogous
#40C6D6 #407BD6 #5040D6
triadic
#407BD6 #D6407B #7BD640
tetradic
#407BD6 #D640C6 #D69B40 #40D650
square
#407BD6 #D640C6 #D69B40 #40D650
split-complementary
#407BD6 #D65040 #C6D640
monochromatic
#1B4380 #265DB2 #407BD6 #729EE1 #A5C1EC

Accessibility & contrast

On white

4.18
#407BD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#407BD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407BD6
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407BD6#FFFFFF#000000##000000
##407BD61.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F83DA
Deuteranopia (green-blind)
#3575D4
Tritanopia (blue-blind)
#00909E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #407bd6;
/* rgb */ color: rgb(64, 123, 214);
/* oklch */ color: oklch(58.9% 0.153 258.9);
Tailwind
colors: {
  custom: {
    50: '#86a0e3',
    500: '#407bd6',
    950: '#000000',
  },
}
SCSS
$custom: #407bd6;
$custom-light: #86a0e3;
$custom-dark: #000000;
JSON
{
  "hex": "#407bd6",
  "rgb": {
    "r": 64,
    "g": 123,
    "b": 214
  },
  "hsl": {
    "h": 216.4,
    "s": 64.655,
    "l": 54.51
  },
  "oklch": {
    "l": 0.58909,
    "c": 0.15261,
    "h": 258.9
  },
  "luminance": 0.20111
}

Semantic roles & 50–950 ramp

primary
#407BD6
secondary
#D9C099
accent
#A640E8
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #407BD6

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

Preview Lab → · Contrast checker → · Palette generator →

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