#405AB0#405AB0

#405AB0 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.3% C 0.140 H 268.3°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#405AB0
RGBrgb(64, 90, 176)
HSLhsl(226, 47%, 47%)
HSVhsv(226, 64%, 69%)
CMYKcmyk(63.6%, 48.9%, 0%, 31%)
CIE-LABlab(40.47, 18.15, -48.89)
CIE-LCHlch(40.47, 52.15, 290.36°)
OKLaboklab(49.34% -0.0042 -0.1399)
OKLCHoklch(49.34% 0.14 268.3)
XYZxyz(13.6043, 11.5357, 42.5756)
Luminance0.1154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405AB0 #B09640
analogous
#4092B0 #405AB0 #5E40B0
triadic
#405AB0 #B0405A #5AB040
tetradic
#405AB0 #B04092 #B09640 #40B05E
square
#405AB0 #B04092 #B09640 #40B05E
split-complementary
#405AB0 #B05E40 #92B040
monochromatic
#1F2C56 #304383 #405AB0 #667DC7 #93A3D8

Accessibility & contrast

On white

6.35
#405AB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#405AB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #405AB0
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405AB0#FFFFFF#000000##FFFFFF
##405AB01.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D65B3
Deuteranopia (green-blind)
#165BAE
Tritanopia (blue-blind)
#006E7C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #405ab0;
/* rgb */ color: rgb(64, 90, 176);
/* oklch */ color: oklch(49.3% 0.140 268.3);
Tailwind
colors: {
  custom: {
    50: '#8088c8',
    500: '#405ab0',
    950: '#000000',
  },
}
SCSS
$custom: #405ab0;
$custom-light: #8088c8;
$custom-dark: #000000;
JSON
{
  "hex": "#405ab0",
  "rgb": {
    "r": 64,
    "g": 90,
    "b": 176
  },
  "hsl": {
    "h": 226.071,
    "s": 46.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.49339,
    "c": 0.13999,
    "h": 268.3
  },
  "luminance": 0.11537
}

Semantic roles & 50–950 ramp

primary
#405AB0
secondary
#C3B589
accent
#B751D6
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #405AB0

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

Preview Lab → · Contrast checker → · Palette generator →

#405AB0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva