#407BED#407BED

#407BED is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.4% C 0.183 H 261.9°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#407BED
RGBrgb(64, 123, 237)
HSLhsl(220, 83%, 59%)
HSVhsv(220, 73%, 93%)
CMYKcmyk(73%, 48.1%, 0%, 7.1%)
CIE-LABlab(53.35, 19.19, -63.09)
CIE-LCHlch(53.35, 65.94, 286.92°)
OKLaboklab(60.43% -0.0257 -0.1812)
OKLCHoklch(60.43% 0.183 261.9)
XYZxyz(24.4779, 21.3676, 82.9387)
Luminance0.2137 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407BED #EDB240
analogous
#40D1ED #407BED #5C40ED
triadic
#407BED #ED407B #7BED40
tetradic
#407BED #ED40D1 #EDB240 #40ED5C
square
#407BED #ED40D1 #EDB240 #40ED5C
split-complementary
#407BED #ED5C40 #D1ED40
monochromatic
#0F42A3 #1558DB #407BED #78A2F2 #B0C8F8

Accessibility & contrast

On white

3.98
#407BED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#407BED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407BED
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407BED#FFFFFF#000000##000000
##407BED1.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A88F1
Deuteranopia (green-blind)
#0078EB
Tritanopia (blue-blind)
#0096A9
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #407bed;
/* rgb */ color: rgb(64, 123, 237);
/* oklch */ color: oklch(60.4% 0.183 261.9);
Tailwind
colors: {
  custom: {
    50: '#8aa0f3',
    500: '#407bed',
    950: '#000000',
  },
}
SCSS
$custom: #407bed;
$custom-light: #8aa0f3;
$custom-dark: #000000;
JSON
{
  "hex": "#407bed",
  "rgb": {
    "r": 64,
    "g": 123,
    "b": 237
  },
  "hsl": {
    "h": 219.538,
    "s": 82.775,
    "l": 59.02
  },
  "oklch": {
    "l": 0.60425,
    "c": 0.18298,
    "h": 261.9
  },
  "luminance": 0.2137
}

Semantic roles & 50–950 ramp

primary
#407BED
secondary
#E6CFA2
accent
#B42FF9
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E17
muted
#7E7E85

Preview Lab

Preview with #407BED

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

Preview Lab → · Contrast checker → · Palette generator →

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