#404CA0#404CA0

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

Color values

HEX#404CA0
RGBrgb(64, 76, 160)
HSLhsl(233, 43%, 44%)
HSVhsv(233, 60%, 63%)
CMYKcmyk(60%, 52.5%, 0%, 37.3%)
CIE-LABlab(35.59, 21.61, -47.23)
CIE-LCHlch(35.59, 51.93, 294.58°)
OKLaboklab(45.3% 0.0086 -0.1352)
OKLCHoklch(45.3% 0.135 273.6)
XYZxyz(11.0419, 8.7961, 34.3668)
Luminance0.0880 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404CA0 #A09440
analogous
#407CA0 #404CA0 #6440A0
triadic
#404CA0 #A0404C #4CA040
tetradic
#404CA0 #A0407C #A09440 #40A064
square
#404CA0 #A0407C #A09440 #40A064
split-complementary
#404CA0 #A06440 #7CA040
monochromatic
#1D2249 #2F3774 #404CA0 #5E6ABF #8A93D0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##404CA0#FFFFFF#000000##FFFFFF
##404CA01.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)
#1C58A3
Deuteranopia (green-blind)
#03509E
Tritanopia (blue-blind)
#005F6E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #404ca0;
/* rgb */ color: rgb(64, 76, 160);
/* oklch */ color: oklch(45.3% 0.135 273.6);
Tailwind
colors: {
  custom: {
    50: '#7e7dbd',
    500: '#404ca0',
    950: '#000000',
  },
}
SCSS
$custom: #404ca0;
$custom-light: #7e7dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#404ca0",
  "rgb": {
    "r": 64,
    "g": 76,
    "b": 160
  },
  "hsl": {
    "h": 232.5,
    "s": 42.857,
    "l": 43.922
  },
  "oklch": {
    "l": 0.45302,
    "c": 0.13548,
    "h": 273.6
  },
  "luminance": 0.08797
}

Semantic roles & 50–950 ramp

primary
#404CA0
secondary
#BBB481
accent
#C355D3
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0B0912
muted
#7C7B81

Preview Lab

Preview with #404CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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