#407AE3#407AE3

#407AE3 is a mid, vivid blue. Relative luminance 0.206; OKLCH L 59.5% C 0.171 H 261.1°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#407AE3
RGBrgb(64, 122, 227)
HSLhsl(219, 74%, 57%)
HSVhsv(219, 72%, 89%)
CMYKcmyk(71.8%, 46.3%, 0%, 11%)
CIE-LABlab(52.46, 16.21, -58.93)
CIE-LCHlch(52.46, 61.12, 285.38°)
OKLaboklab(59.54% -0.0263 -0.169)
OKLCHoklch(59.54% 0.171 261.1)
XYZxyz(22.9340, 20.5526, 75.4165)
Luminance0.2056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407AE3 #E3A940
analogous
#40CCE3 #407AE3 #5840E3
triadic
#407AE3 #E3407A #7AE340
tetradic
#407AE3 #E340CC #E3A940 #40E358
square
#407AE3 #E340CC #E3A940 #40E358
split-complementary
#407AE3 #E35840 #CCE340
monochromatic
#164293 #1D5AC8 #407AE3 #759FEB #ABC4F3

Accessibility & contrast

On white

4.11
#407AE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#407AE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407AE3
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407AE3#FFFFFF#000000##000000
##407AE31.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4285E7
Deuteranopia (green-blind)
#1B76E1
Tritanopia (blue-blind)
#0093A3
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #407ae3;
/* rgb */ color: rgb(64, 122, 227);
/* oklch */ color: oklch(59.5% 0.171 261.1);
Tailwind
colors: {
  custom: {
    50: '#889fec',
    500: '#407ae3',
    950: '#000000',
  },
}
SCSS
$custom: #407ae3;
$custom-light: #889fec;
$custom-dark: #000000;
JSON
{
  "hex": "#407ae3",
  "rgb": {
    "r": 64,
    "g": 122,
    "b": 227
  },
  "hsl": {
    "h": 218.65,
    "s": 74.429,
    "l": 57.059
  },
  "oklch": {
    "l": 0.59541,
    "c": 0.171,
    "h": 261.1
  },
  "luminance": 0.20555
}

Semantic roles & 50–950 ramp

primary
#407AE3
secondary
#E1C99E
accent
#AF37F1
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #407AE3

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

Preview Lab → · Contrast checker → · Palette generator →

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