#407BD0#407BD0

#407BD0 is a mid, vivid blue. Relative luminance 0.198; OKLCH L 58.5% C 0.145 H 257.7°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#407BD0
RGBrgb(64, 123, 208)
HSLhsl(215, 61%, 53%)
HSVhsv(215, 69%, 82%)
CMYKcmyk(69.2%, 40.9%, 0%, 18.4%)
CIE-LABlab(51.62, 8.77, -49.54)
CIE-LCHlch(51.62, 50.31, 280.04°)
OKLaboklab(58.54% -0.0307 -0.1413)
OKLCHoklch(58.54% 0.145 257.7)
XYZxyz(20.5784, 19.8078, 62.4011)
Luminance0.1981 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407BD0 #D09540
analogous
#40C3D0 #407BD0 #4D40D0
triadic
#407BD0 #D0407B #7BD040
tetradic
#407BD0 #D040C3 #D09540 #40D04D
square
#407BD0 #D040C3 #D09540 #40D04D
split-complementary
#407BD0 #D04D40 #C3D040
monochromatic
#1E4378 #2A5EA9 #407BD0 #719DDC #A2BFE8

Accessibility & contrast

On white

4.23
#407BD0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#407BD0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407BD0
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407BD0#FFFFFF#000000##000000
##407BD01.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5382D3
Deuteranopia (green-blind)
#3C75CE
Tritanopia (blue-blind)
#008F9B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #407bd0;
/* rgb */ color: rgb(64, 123, 208);
/* oklch */ color: oklch(58.5% 0.145 257.7);
Tailwind
colors: {
  custom: {
    50: '#85a0df',
    500: '#407bd0',
    950: '#000000',
  },
}
SCSS
$custom: #407bd0;
$custom-light: #85a0df;
$custom-dark: #000000;
JSON
{
  "hex": "#407bd0",
  "rgb": {
    "r": 64,
    "g": 123,
    "b": 208
  },
  "hsl": {
    "h": 215.417,
    "s": 60.504,
    "l": 53.333
  },
  "oklch": {
    "l": 0.58535,
    "c": 0.14465,
    "h": 257.7
  },
  "luminance": 0.1981
}

Semantic roles & 50–950 ramp

primary
#407BD0
secondary
#D5BB97
accent
#A244E4
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #407BD0

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

Preview Lab → · Contrast checker → · Palette generator →

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