#405F90#405F90

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

Color values

HEX#405F90
RGBrgb(64, 95, 144)
HSLhsl(217, 38%, 41%)
HSVhsv(217, 56%, 56%)
CMYKcmyk(55.6%, 34%, 0%, 43.5%)
CIE-LABlab(40.06, 3.78, -30.48)
CIE-LCHlch(40.06, 30.71, 277.06°)
OKLaboklab(48.43% -0.0163 -0.0859)
OKLCHoklch(48.43% 0.087 259.2)
XYZxyz(11.2389, 11.2872, 27.9665)
Luminance0.1129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405F90 #907140
analogous
#408790 #405F90 #494090
triadic
#405F90 #90405F #5F9040
tetradic
#405F90 #904087 #907140 #409049
square
#405F90 #904087 #907140 #409049
split-complementary
#405F90 #904940 #879040
monochromatic
#1A273B #2D4366 #405F90 #587CB5 #839DC8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##405F90#FFFFFF#000000##FFFFFF
##405F901.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)
#4B6392
Deuteranopia (green-blind)
#425B8F
Tritanopia (blue-blind)
#116A71
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #405f90;
/* rgb */ color: rgb(64, 95, 144);
/* oklch */ color: oklch(48.4% 0.087 259.2);
Tailwind
colors: {
  custom: {
    50: '#7b8cb1',
    500: '#405f90',
    950: '#000000',
  },
}
SCSS
$custom: #405f90;
$custom-light: #7b8cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#405f90",
  "rgb": {
    "r": 64,
    "g": 95,
    "b": 144
  },
  "hsl": {
    "h": 216.75,
    "s": 38.462,
    "l": 40.784
  },
  "oklch": {
    "l": 0.48426,
    "c": 0.08748,
    "h": 259.2
  },
  "luminance": 0.11288
}

Semantic roles & 50–950 ramp

primary
#405F90
secondary
#B29C7A
accent
#A159CE
background
#F7F8FA
surface
#EEF0F5
border
#C9CBCF
text
#0A0C10
muted
#7C7D7F

Preview Lab

Preview with #405F90

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

Preview Lab → · Contrast checker → · Palette generator →

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