#407CD3#407CD3

#407CD3 is a mid, vivid blue. Relative luminance 0.202; OKLCH L 58.9% C 0.148 H 257.9°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#407CD3
RGBrgb(64, 124, 211)
HSLhsl(216, 63%, 54%)
HSVhsv(216, 70%, 83%)
CMYKcmyk(69.7%, 41.2%, 0%, 17.3%)
CIE-LABlab(52.07, 9.23, -50.53)
CIE-LCHlch(52.07, 51.36, 280.35°)
OKLaboklab(58.94% -0.031 -0.1442)
OKLCHoklch(58.94% 0.148 257.9)
XYZxyz(21.0756, 20.2062, 64.4049)
Luminance0.2021 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407CD3 #D39740
analogous
#40C6D3 #407CD3 #4E40D3
triadic
#407CD3 #D3407C #7CD340
tetradic
#407CD3 #D340C6 #D39740 #40D34E
square
#407CD3 #D340C6 #D39740 #40D34E
split-complementary
#407CD3 #D34E40 #C6D340
monochromatic
#1D447C #285FAE #407CD3 #729EDE #A3C0EA

Accessibility & contrast

On white

4.17
#407CD3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#407CD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407CD3
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407CD3#FFFFFF#000000##000000
##407CD31.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5384D6
Deuteranopia (green-blind)
#3B76D1
Tritanopia (blue-blind)
#00909D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #407cd3;
/* rgb */ color: rgb(64, 124, 211);
/* oklch */ color: oklch(58.9% 0.148 257.9);
Tailwind
colors: {
  custom: {
    50: '#85a1e1',
    500: '#407cd3',
    950: '#000000',
  },
}
SCSS
$custom: #407cd3;
$custom-light: #85a1e1;
$custom-dark: #000000;
JSON
{
  "hex": "#407cd3",
  "rgb": {
    "r": 64,
    "g": 124,
    "b": 211
  },
  "hsl": {
    "h": 215.51,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.58938,
    "c": 0.14752,
    "h": 257.9
  },
  "luminance": 0.20208
}

Semantic roles & 50–950 ramp

primary
#407CD3
secondary
#D7BD98
accent
#A342E6
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #407CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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