#404E90#404E90

#404E90 is a dark, moderate blue. Relative luminance 0.086; OKLCH L 44.6% C 0.109 H 272.3°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#404E90
RGBrgb(64, 78, 144)
HSLhsl(230, 38%, 41%)
HSVhsv(230, 56%, 56%)
CMYKcmyk(55.6%, 45.8%, 0%, 43.5%)
CIE-LABlab(35.11, 14.74, -38.32)
CIE-LCHlch(35.11, 41.06, 291.04°)
OKLaboklab(44.6% 0.0043 -0.109)
OKLCHoklch(44.6% 0.109 272.3)
XYZxyz(9.8711, 8.5517, 27.5106)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404E90 #908240
analogous
#407690 #404E90 #5A4090
triadic
#404E90 #90404E #4E9040
tetradic
#404E90 #904076 #908240 #40905A
square
#404E90 #904076 #908240 #40905A
split-complementary
#404E90 #905A40 #769040
monochromatic
#1A203B #2D3766 #404E90 #5868B5 #838FC8

Accessibility & contrast

On white

7.75
#404E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#404E90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404E90
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404E90#FFFFFF#000000##FFFFFF
##404E901.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315692
Deuteranopia (green-blind)
#284F8F
Tritanopia (blue-blind)
#175C68
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #404e90;
/* rgb */ color: rgb(64, 78, 144);
/* oklch */ color: oklch(44.6% 0.109 272.3);
Tailwind
colors: {
  custom: {
    50: '#7b7fb1',
    500: '#404e90',
    950: '#000000',
  },
}
SCSS
$custom: #404e90;
$custom-light: #7b7fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#404e90",
  "rgb": {
    "r": 64,
    "g": 78,
    "b": 144
  },
  "hsl": {
    "h": 229.5,
    "s": 38.462,
    "l": 40.784
  },
  "oklch": {
    "l": 0.44603,
    "c": 0.10911,
    "h": 272.3
  },
  "luminance": 0.08552
}

Semantic roles & 50–950 ramp

primary
#404E90
secondary
#B2A87A
accent
#BA59CE
background
#F7F7FA
surface
#EEEEF5
border
#C9C9CF
text
#0A0A11
muted
#7C7C80

Preview Lab

Preview with #404E90

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

Preview Lab → · Contrast checker → · Palette generator →

#404E90 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva