#407BD1#407BD1

#407BD1 is a mid, vivid blue. Relative luminance 0.199; OKLCH L 58.6% C 0.146 H 257.9°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#407BD1
RGBrgb(64, 123, 209)
HSLhsl(216, 61%, 54%)
HSVhsv(216, 69%, 82%)
CMYKcmyk(69.4%, 41.1%, 0%, 18%)
CIE-LABlab(51.68, 9.13, -50.02)
CIE-LCHlch(51.68, 50.85, 280.34°)
OKLaboklab(58.6% -0.0305 -0.1428)
OKLCHoklch(58.6% 0.146 257.9)
XYZxyz(20.7018, 19.8572, 63.0510)
Luminance0.1986 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407BD1 #D19640
analogous
#40C3D1 #407BD1 #4D40D1
triadic
#407BD1 #D1407B #7BD140
tetradic
#407BD1 #D140C3 #D19640 #40D14D
square
#407BD1 #D140C3 #D19640 #40D14D
split-complementary
#407BD1 #D14D40 #C3D140
monochromatic
#1D4379 #295EAB #407BD1 #719DDD #A3BFE9

Accessibility & contrast

On white

4.22
#407BD1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#407BD1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407BD1
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407BD1#FFFFFF#000000##000000
##407BD11.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5382D4
Deuteranopia (green-blind)
#3B75CF
Tritanopia (blue-blind)
#008F9C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #407bd1;
/* rgb */ color: rgb(64, 123, 209);
/* oklch */ color: oklch(58.6% 0.146 257.9);
Tailwind
colors: {
  custom: {
    50: '#85a0df',
    500: '#407bd1',
    950: '#000000',
  },
}
SCSS
$custom: #407bd1;
$custom-light: #85a0df;
$custom-dark: #000000;
JSON
{
  "hex": "#407bd1",
  "rgb": {
    "r": 64,
    "g": 123,
    "b": 209
  },
  "hsl": {
    "h": 215.586,
    "s": 61.181,
    "l": 53.529
  },
  "oklch": {
    "l": 0.58596,
    "c": 0.14598,
    "h": 257.9
  },
  "luminance": 0.19859
}

Semantic roles & 50–950 ramp

primary
#407BD1
secondary
#D5BC97
accent
#A344E4
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #407BD1

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

Preview Lab → · Contrast checker → · Palette generator →

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