#407BE0#407BE0

#407BE0 is a mid, vivid blue. Relative luminance 0.206; OKLCH L 59.6% C 0.166 H 260.4°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#407BE0
RGBrgb(64, 123, 224)
HSLhsl(218, 72%, 56%)
HSVhsv(218, 71%, 88%)
CMYKcmyk(71.4%, 45.1%, 0%, 12.2%)
CIE-LABlab(52.55, 14.51, -57.10)
CIE-LCHlch(52.55, 58.91, 284.26°)
OKLaboklab(59.55% -0.0277 -0.1635)
OKLCHoklch(59.55% 0.166 260.4)
XYZxyz(22.6470, 20.6353, 73.2960)
Luminance0.2064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407BE0 #E0A540
analogous
#40CBE0 #407BE0 #5540E0
triadic
#407BE0 #E0407B #7BE040
tetradic
#407BE0 #E040CB #E0A540 #40E055
square
#407BE0 #E040CB #E0A540 #40E055
split-complementary
#407BE0 #E05540 #CBE040
monochromatic
#17438E #205CC3 #407BE0 #759FE9 #A9C4F1

Accessibility & contrast

On white

4.10
#407BE0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#407BE0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407BE0
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407BE0#FFFFFF#000000##000000
##407BE01.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4785E4
Deuteranopia (green-blind)
#2677DE
Tritanopia (blue-blind)
#0093A2
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #407be0;
/* rgb */ color: rgb(64, 123, 224);
/* oklch */ color: oklch(59.6% 0.166 260.4);
Tailwind
colors: {
  custom: {
    50: '#88a0ea',
    500: '#407be0',
    950: '#000000',
  },
}
SCSS
$custom: #407be0;
$custom-light: #88a0ea;
$custom-dark: #000000;
JSON
{
  "hex": "#407be0",
  "rgb": {
    "r": 64,
    "g": 123,
    "b": 224
  },
  "hsl": {
    "h": 217.875,
    "s": 72.072,
    "l": 56.471
  },
  "oklch": {
    "l": 0.59553,
    "c": 0.16587,
    "h": 260.4
  },
  "luminance": 0.20638
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #407BE0

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

Preview Lab → · Contrast checker → · Palette generator →

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