#405490#405490

#405490 is a mid, moderate blue. Relative luminance 0.094; OKLCH L 45.9% C 0.101 H 268.3°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#405490
RGBrgb(64, 84, 144)
HSLhsl(225, 38%, 41%)
HSVhsv(225, 56%, 56%)
CMYKcmyk(55.6%, 41.7%, 0%, 43.5%)
CIE-LABlab(36.82, 10.82, -35.59)
CIE-LCHlch(36.82, 37.20, 286.91°)
OKLaboklab(45.92% -0.0029 -0.1009)
OKLCHoklch(45.92% 0.101 268.3)
XYZxyz(10.3171, 9.4435, 27.6593)
Luminance0.0944 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405490 #907C40
analogous
#407C90 #405490 #544090
triadic
#405490 #904054 #549040
tetradic
#405490 #90407C #907C40 #409054
square
#405490 #90407C #907C40 #409054
split-complementary
#405490 #905440 #7C9040
monochromatic
#1A233B #2D3B66 #405490 #586FB5 #8394C8

Accessibility & contrast

On white

7.27
#405490 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#405490 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405490
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405490#FFFFFF#000000##FFFFFF
##4054901.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5A92
Deuteranopia (green-blind)
#32538F
Tritanopia (blue-blind)
#15616B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #405490;
/* rgb */ color: rgb(64, 84, 144);
/* oklch */ color: oklch(45.9% 0.101 268.3);
Tailwind
colors: {
  custom: {
    50: '#7b83b1',
    500: '#405490',
    950: '#000000',
  },
}
SCSS
$custom: #405490;
$custom-light: #7b83b1;
$custom-dark: #000000;
JSON
{
  "hex": "#405490",
  "rgb": {
    "r": 64,
    "g": 84,
    "b": 144
  },
  "hsl": {
    "h": 225,
    "s": 38.462,
    "l": 40.784
  },
  "oklch": {
    "l": 0.4592,
    "c": 0.10098,
    "h": 268.3
  },
  "luminance": 0.09444
}

Semantic roles & 50–950 ramp

primary
#405490
secondary
#B2A47A
accent
#B159CE
background
#F7F8FA
surface
#EEEFF5
border
#C9CACF
text
#0A0A10
muted
#7C7C7F

Preview Lab

Preview with #405490

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

Preview Lab → · Contrast checker → · Palette generator →

#405490 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva