#405BB0#405BB0

#405BB0 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.5% C 0.139 H 267.8°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#405BB0
RGBrgb(64, 91, 176)
HSLhsl(226, 47%, 47%)
HSVhsv(226, 64%, 69%)
CMYKcmyk(63.6%, 48.3%, 0%, 31%)
CIE-LABlab(40.74, 17.50, -48.45)
CIE-LCHlch(40.74, 51.51, 289.86°)
OKLaboklab(49.55% -0.0052 -0.1386)
OKLCHoklch(49.55% 0.139 267.8)
XYZxyz(13.6892, 11.7055, 42.6039)
Luminance0.1171 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405BB0 #B09540
analogous
#4093B0 #405BB0 #5D40B0
triadic
#405BB0 #B0405B #5BB040
tetradic
#405BB0 #B04093 #B09540 #40B05D
square
#405BB0 #B04093 #B09540 #40B05D
split-complementary
#405BB0 #B05D40 #93B040
monochromatic
#1F2D56 #304483 #405BB0 #667DC7 #93A3D8

Accessibility & contrast

On white

6.28
#405BB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#405BB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #405BB0
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405BB0#FFFFFF#000000##FFFFFF
##405BB01.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F65B3
Deuteranopia (green-blind)
#195BAE
Tritanopia (blue-blind)
#006F7D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #405bb0;
/* rgb */ color: rgb(64, 91, 176);
/* oklch */ color: oklch(49.5% 0.139 267.8);
Tailwind
colors: {
  custom: {
    50: '#8089c8',
    500: '#405bb0',
    950: '#000000',
  },
}
SCSS
$custom: #405bb0;
$custom-light: #8089c8;
$custom-dark: #000000;
JSON
{
  "hex": "#405bb0",
  "rgb": {
    "r": 64,
    "g": 91,
    "b": 176
  },
  "hsl": {
    "h": 225.536,
    "s": 46.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.49549,
    "c": 0.13871,
    "h": 267.8
  },
  "luminance": 0.11707
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #405BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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