#407BD3#407BD3

#407BD3 is a mid, vivid blue. Relative luminance 0.200; OKLCH L 58.7% C 0.149 H 258.3°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#407BD3
RGBrgb(64, 123, 211)
HSLhsl(216, 63%, 54%)
HSVhsv(216, 70%, 83%)
CMYKcmyk(69.7%, 41.7%, 0%, 17.3%)
CIE-LABlab(51.79, 9.84, -50.97)
CIE-LCHlch(51.79, 51.92, 280.93°)
OKLaboklab(58.72% -0.0301 -0.1456)
OKLCHoklch(58.72% 0.149 258.3)
XYZxyz(20.9509, 19.9569, 64.3633)
Luminance0.1996 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407BD3 #D39840
analogous
#40C5D3 #407BD3 #4F40D3
triadic
#407BD3 #D3407B #7BD340
tetradic
#407BD3 #D340C5 #D39840 #40D34F
square
#407BD3 #D340C5 #D39840 #40D34F
split-complementary
#407BD3 #D34F40 #C5D340
monochromatic
#1D437C #285EAE #407BD3 #729DDE #A3C0EA

Accessibility & contrast

On white

4.21
#407BD3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#407BD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407BD3
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407BD3#FFFFFF#000000##000000
##407BD31.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5183D6
Deuteranopia (green-blind)
#3975D1
Tritanopia (blue-blind)
#008F9D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #407bd3;
/* rgb */ color: rgb(64, 123, 211);
/* oklch */ color: oklch(58.7% 0.149 258.3);
Tailwind
colors: {
  custom: {
    50: '#85a0e1',
    500: '#407bd3',
    950: '#000000',
  },
}
SCSS
$custom: #407bd3;
$custom-light: #85a0e1;
$custom-dark: #000000;
JSON
{
  "hex": "#407bd3",
  "rgb": {
    "r": 64,
    "g": 123,
    "b": 211
  },
  "hsl": {
    "h": 215.918,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.58721,
    "c": 0.14863,
    "h": 258.3
  },
  "luminance": 0.19959
}

Semantic roles & 50–950 ramp

primary
#407BD3
secondary
#D7BE98
accent
#A442E6
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #407BD3

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

Preview Lab → · Contrast checker → · Palette generator →

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