#407AE1#407AE1

#407AE1 is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.4% C 0.168 H 260.9°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#407AE1
RGBrgb(64, 122, 225)
HSLhsl(218, 73%, 57%)
HSVhsv(218, 72%, 88%)
CMYKcmyk(71.6%, 45.8%, 0%, 11.8%)
CIE-LABlab(52.33, 15.49, -58.00)
CIE-LCHlch(52.33, 60.03, 284.95°)
OKLaboklab(59.41% -0.0266 -0.1662)
OKLCHoklch(59.41% 0.168 260.9)
XYZxyz(22.6596, 20.4429, 73.9712)
Luminance0.2044 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407AE1 #E1A740
analogous
#40CBE1 #407AE1 #5740E1
triadic
#407AE1 #E1407A #7AE140
tetradic
#407AE1 #E140CB #E1A740 #40E157
square
#407AE1 #E140CB #E1A740 #40E157
split-complementary
#407AE1 #E15740 #CBE140
monochromatic
#174290 #1F5BC5 #407AE1 #759FE9 #AAC4F2

Accessibility & contrast

On white

4.13
#407AE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#407AE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407AE1
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407AE1#FFFFFF#000000##000000
##407AE11.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4485E5
Deuteranopia (green-blind)
#2076DF
Tritanopia (blue-blind)
#0092A2
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #407ae1;
/* rgb */ color: rgb(64, 122, 225);
/* oklch */ color: oklch(59.4% 0.168 260.9);
Tailwind
colors: {
  custom: {
    50: '#889feb',
    500: '#407ae1',
    950: '#000000',
  },
}
SCSS
$custom: #407ae1;
$custom-light: #889feb;
$custom-dark: #000000;
JSON
{
  "hex": "#407ae1",
  "rgb": {
    "r": 64,
    "g": 122,
    "b": 225
  },
  "hsl": {
    "h": 218.385,
    "s": 72.851,
    "l": 56.667
  },
  "oklch": {
    "l": 0.59408,
    "c": 0.16835,
    "h": 260.9
  },
  "luminance": 0.20445
}

Semantic roles & 50–950 ramp

primary
#407AE1
secondary
#DFC89D
accent
#AE38F0
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #407AE1

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

Preview Lab → · Contrast checker → · Palette generator →

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