#404D9C#404D9C

#404D9C is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.2% C 0.128 H 273.2°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#404D9C
RGBrgb(64, 77, 156)
HSLhsl(232, 42%, 43%)
HSVhsv(232, 59%, 61%)
CMYKcmyk(59%, 50.6%, 0%, 38.8%)
CIE-LABlab(35.59, 19.55, -44.82)
CIE-LCHlch(35.59, 48.90, 293.57°)
OKLaboklab(45.22% 0.0071 -0.1281)
OKLCHoklch(45.22% 0.128 273.2)
XYZxyz(10.7670, 8.7972, 32.5767)
Luminance0.0880 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404D9C #9C8F40
analogous
#407B9C #404D9C #61409C
triadic
#404D9C #9C404D #4D9C40
tetradic
#404D9C #9C407B #9C8F40 #409C61
square
#404D9C #9C407B #9C8F40 #409C61
split-complementary
#404D9C #9C6140 #7B9C40
monochromatic
#1C2245 #2E3871 #404D9C #5D6ABC #8892CE

Accessibility & contrast

On white

7.61
#404D9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#404D9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404D9C
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404D9C#FFFFFF#000000##FFFFFF
##404D9C1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24589F
Deuteranopia (green-blind)
#14509A
Tritanopia (blue-blind)
#005F6D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #404d9c;
/* rgb */ color: rgb(64, 77, 156);
/* oklch */ color: oklch(45.2% 0.128 273.2);
Tailwind
colors: {
  custom: {
    50: '#7d7eba',
    500: '#404d9c',
    950: '#000000',
  },
}
SCSS
$custom: #404d9c;
$custom-light: #7d7eba;
$custom-dark: #000000;
JSON
{
  "hex": "#404d9c",
  "rgb": {
    "r": 64,
    "g": 77,
    "b": 156
  },
  "hsl": {
    "h": 231.522,
    "s": 41.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.45217,
    "c": 0.12831,
    "h": 273.2
  },
  "luminance": 0.08798
}

Semantic roles & 50–950 ramp

primary
#404D9C
secondary
#B9B17F
accent
#C056D2
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0A0A11
muted
#7C7C80

Preview Lab

Preview with #404D9C

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

Preview Lab → · Contrast checker → · Palette generator →

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