#407AE0#407AE0

#407AE0 is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.3% C 0.167 H 260.8°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#407AE0
RGBrgb(64, 122, 224)
HSLhsl(218, 72%, 56%)
HSVhsv(218, 71%, 88%)
CMYKcmyk(71.4%, 45.5%, 0%, 12.2%)
CIE-LABlab(52.27, 15.13, -57.54)
CIE-LCHlch(52.27, 59.49, 284.73°)
OKLaboklab(59.34% -0.0268 -0.1649)
OKLCHoklch(59.34% 0.167 260.8)
XYZxyz(22.5236, 20.3885, 73.2549)
Luminance0.2039 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407AE0 #E0A640
analogous
#40CAE0 #407AE0 #5640E0
triadic
#407AE0 #E0407A #7AE040
tetradic
#407AE0 #E040CA #E0A640 #40E056
square
#407AE0 #E040CA #E0A640 #40E056
split-complementary
#407AE0 #E05640 #CAE040
monochromatic
#17428E #205BC3 #407AE0 #759FE9 #A9C3F1

Accessibility & contrast

On white

4.14
#407AE0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#407AE0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407AE0
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407AE0#FFFFFF#000000##000000
##407AE01.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4585E4
Deuteranopia (green-blind)
#2376DE
Tritanopia (blue-blind)
#0092A2
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #407ae0;
/* rgb */ color: rgb(64, 122, 224);
/* oklch */ color: oklch(59.3% 0.167 260.8);
Tailwind
colors: {
  custom: {
    50: '#889fea',
    500: '#407ae0',
    950: '#000000',
  },
}
SCSS
$custom: #407ae0;
$custom-light: #889fea;
$custom-dark: #000000;
JSON
{
  "hex": "#407ae0",
  "rgb": {
    "r": 64,
    "g": 122,
    "b": 224
  },
  "hsl": {
    "h": 218.25,
    "s": 72.072,
    "l": 56.471
  },
  "oklch": {
    "l": 0.59341,
    "c": 0.16702,
    "h": 260.8
  },
  "luminance": 0.20391
}

Semantic roles & 50–950 ramp

primary
#407AE0
secondary
#DFC79D
accent
#AD39EF
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #407AE0

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

Preview Lab → · Contrast checker → · Palette generator →

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