#405290#405290

#405290 is a mid, moderate blue. Relative luminance 0.091; OKLCH L 45.5% C 0.104 H 269.7°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#405290
RGBrgb(64, 82, 144)
HSLhsl(227, 38%, 41%)
HSVhsv(227, 56%, 56%)
CMYKcmyk(55.6%, 43.1%, 0%, 43.5%)
CIE-LABlab(36.25, 12.12, -36.51)
CIE-LCHlch(36.25, 38.46, 288.37°)
OKLaboklab(45.48% -0.0005 -0.1036)
OKLCHoklch(45.48% 0.104 269.7)
XYZxyz(10.1640, 9.1375, 27.6083)
Luminance0.0914 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405290 #907E40
analogous
#407A90 #405290 #564090
triadic
#405290 #904052 #529040
tetradic
#405290 #90407A #907E40 #409056
square
#405290 #90407A #907E40 #409056
split-complementary
#405290 #905640 #7A9040
monochromatic
#1A223B #2D3A66 #405290 #586DB5 #8392C8

Accessibility & contrast

On white

7.43
#405290 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#405290 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405290
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405290#FFFFFF#000000##FFFFFF
##4052901.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385992
Deuteranopia (green-blind)
#2F528F
Tritanopia (blue-blind)
#165F6A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #405290;
/* rgb */ color: rgb(64, 82, 144);
/* oklch */ color: oklch(45.5% 0.104 269.7);
Tailwind
colors: {
  custom: {
    50: '#7b82b1',
    500: '#405290',
    950: '#000000',
  },
}
SCSS
$custom: #405290;
$custom-light: #7b82b1;
$custom-dark: #000000;
JSON
{
  "hex": "#405290",
  "rgb": {
    "r": 64,
    "g": 82,
    "b": 144
  },
  "hsl": {
    "h": 226.5,
    "s": 38.462,
    "l": 40.784
  },
  "oklch": {
    "l": 0.45477,
    "c": 0.10365,
    "h": 269.7
  },
  "luminance": 0.09138
}

Semantic roles & 50–950 ramp

primary
#405290
secondary
#B2A57A
accent
#B459CE
background
#F7F7FA
surface
#EEEEF5
border
#C9C9CF
text
#0A0A10
muted
#7C7C7F

Preview Lab

Preview with #405290

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

Preview Lab → · Contrast checker → · Palette generator →

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