#405CA0#405CA0

#405CA0 is a mid, moderate blue. Relative luminance 0.113; OKLCH L 48.7% C 0.114 H 265.5°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#405CA0
RGBrgb(64, 92, 160)
HSLhsl(223, 43%, 44%)
HSVhsv(223, 60%, 63%)
CMYKcmyk(60%, 42.5%, 0%, 37.3%)
CIE-LABlab(40.05, 11.20, -40.08)
CIE-LCHlch(40.05, 41.62, 285.62°)
OKLaboklab(48.7% -0.0089 -0.114)
OKLCHoklch(48.7% 0.114 265.5)
XYZxyz(12.2845, 11.2813, 34.7810)
Luminance0.1128 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405CA0 #A08440
analogous
#408CA0 #405CA0 #5440A0
triadic
#405CA0 #A0405C #5CA040
tetradic
#405CA0 #A0408C #A08440 #40A054
square
#405CA0 #A0408C #A08440 #40A054
split-complementary
#405CA0 #A05440 #8CA040
monochromatic
#1D2A49 #2F4374 #405CA0 #5E7BBF #8A9FD0

Accessibility & contrast

On white

6.45
#405CA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#405CA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #405CA0
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405CA0#FFFFFF#000000##FFFFFF
##405CA01.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E63A3
Deuteranopia (green-blind)
#315A9F
Tritanopia (blue-blind)
#006B76
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #405ca0;
/* rgb */ color: rgb(64, 92, 160);
/* oklch */ color: oklch(48.7% 0.114 265.5);
Tailwind
colors: {
  custom: {
    50: '#7d89bc',
    500: '#405ca0',
    950: '#000000',
  },
}
SCSS
$custom: #405ca0;
$custom-light: #7d89bc;
$custom-dark: #000000;
JSON
{
  "hex": "#405ca0",
  "rgb": {
    "r": 64,
    "g": 92,
    "b": 160
  },
  "hsl": {
    "h": 222.5,
    "s": 42.857,
    "l": 43.922
  },
  "oklch": {
    "l": 0.48702,
    "c": 0.11437,
    "h": 265.5
  },
  "luminance": 0.11282
}

Semantic roles & 50–950 ramp

primary
#405CA0
secondary
#BBAA81
accent
#AE55D3
background
#F8F8FB
surface
#EFF0F6
border
#CACBD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #405CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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