#406090#406090

#406090 is a mid, moderate blue. Relative luminance 0.115; OKLCH L 48.7% C 0.086 H 258.3°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#406090
RGBrgb(64, 96, 144)
HSLhsl(216, 38%, 41%)
HSVhsv(216, 56%, 56%)
CMYKcmyk(55.6%, 33.3%, 0%, 43.5%)
CIE-LABlab(40.36, 3.15, -30.01)
CIE-LCHlch(40.36, 30.17, 275.99°)
OKLaboklab(48.66% -0.0175 -0.0846)
OKLCHoklch(48.66% 0.086 258.3)
XYZxyz(11.3295, 11.4685, 27.9968)
Luminance0.1147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406090 #907040
analogous
#408890 #406090 #484090
triadic
#406090 #904060 #609040
tetradic
#406090 #904088 #907040 #409048
square
#406090 #904088 #907040 #409048
split-complementary
#406090 #904840 #889040
monochromatic
#1A283B #2D4466 #406090 #587DB5 #839EC8

Accessibility & contrast

On white

6.38
#406090 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#406090 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406090
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406090#FFFFFF#000000##FFFFFF
##4060901.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D6392
Deuteranopia (green-blind)
#435C8F
Tritanopia (blue-blind)
#116B71
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #406090;
/* rgb */ color: rgb(64, 96, 144);
/* oklch */ color: oklch(48.7% 0.086 258.3);
Tailwind
colors: {
  custom: {
    50: '#7b8cb0',
    500: '#406090',
    950: '#000000',
  },
}
SCSS
$custom: #406090;
$custom-light: #7b8cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#406090",
  "rgb": {
    "r": 64,
    "g": 96,
    "b": 144
  },
  "hsl": {
    "h": 216,
    "s": 38.462,
    "l": 40.784
  },
  "oklch": {
    "l": 0.48659,
    "c": 0.08637,
    "h": 258.3
  },
  "luminance": 0.11469
}

Semantic roles & 50–950 ramp

primary
#406090
secondary
#B29C7A
accent
#A059CE
background
#F7F8FA
surface
#EEF0F5
border
#C9CBCF
text
#0A0C10
muted
#7C7D7F

Preview Lab

Preview with #406090

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

Preview Lab → · Contrast checker → · Palette generator →

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