#407AD3#407AD3

#407AD3 is a mid, vivid blue. Relative luminance 0.197; OKLCH L 58.5% C 0.150 H 258.8°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#407AD3
RGBrgb(64, 122, 211)
HSLhsl(216, 63%, 54%)
HSVhsv(216, 70%, 83%)
CMYKcmyk(69.7%, 42.2%, 0%, 17.3%)
CIE-LABlab(51.51, 10.46, -51.42)
CIE-LCHlch(51.51, 52.48, 281.50°)
OKLaboklab(58.5% -0.0291 -0.1469)
OKLCHoklch(58.5% 0.15 258.8)
XYZxyz(20.8275, 19.7100, 64.3222)
Luminance0.1971 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407AD3 #D39940
analogous
#40C3D3 #407AD3 #5040D3
triadic
#407AD3 #D3407A #7AD340
tetradic
#407AD3 #D340C3 #D39940 #40D350
square
#407AD3 #D340C3 #D39940 #40D350
split-complementary
#407AD3 #D35040 #C3D340
monochromatic
#1D427C #285DAE #407AD3 #729DDE #A3BFEA

Accessibility & contrast

On white

4.25
#407AD3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#407AD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407AD3
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407AD3#FFFFFF#000000##000000
##407AD31.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5082D6
Deuteranopia (green-blind)
#3774D1
Tritanopia (blue-blind)
#008F9C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #407ad3;
/* rgb */ color: rgb(64, 122, 211);
/* oklch */ color: oklch(58.5% 0.150 258.8);
Tailwind
colors: {
  custom: {
    50: '#859fe1',
    500: '#407ad3',
    950: '#000000',
  },
}
SCSS
$custom: #407ad3;
$custom-light: #859fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#407ad3",
  "rgb": {
    "r": 64,
    "g": 122,
    "b": 211
  },
  "hsl": {
    "h": 216.327,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.58503,
    "c": 0.14975,
    "h": 258.8
  },
  "luminance": 0.19712
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #407AD3

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

Preview Lab → · Contrast checker → · Palette generator →

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