#404AC3#404AC3

#404AC3 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.7% C 0.186 H 273.4°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#404AC3
RGBrgb(64, 74, 195)
HSLhsl(235, 52%, 51%)
HSVhsv(235, 67%, 76%)
CMYKcmyk(67.2%, 62.1%, 0%, 23.5%)
CIE-LABlab(37.71, 35.10, -64.50)
CIE-LCHlch(37.71, 73.43, 298.56°)
OKLaboklab(47.71% 0.0109 -0.186)
OKLCHoklch(47.71% 0.186 273.4)
XYZxyz(14.4102, 9.9264, 52.7757)
Luminance0.0993 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404AC3 #C3B940
analogous
#408BC3 #404AC3 #7740C3
triadic
#404AC3 #C3404A #4AC340
tetradic
#404AC3 #C3408B #C3B940 #40C377
square
#404AC3 #C3408B #C3B940 #40C377
split-complementary
#404AC3 #C37740 #8BC340
monochromatic
#212668 #2F3797 #404AC3 #6F76D2 #9DA2E0

Accessibility & contrast

On white

7.03
#404AC3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#404AC3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404AC3
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404AC3#FFFFFF#000000##FFFFFF
##404AC31.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC7
Deuteranopia (green-blind)
#0053C1
Tritanopia (blue-blind)
#00697F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #404ac3;
/* rgb */ color: rgb(64, 74, 195);
/* oklch */ color: oklch(47.7% 0.186 273.4);
Tailwind
colors: {
  custom: {
    50: '#857cd6',
    500: '#404ac3',
    950: '#000000',
  },
}
SCSS
$custom: #404ac3;
$custom-light: #857cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#404ac3",
  "rgb": {
    "r": 64,
    "g": 74,
    "b": 195
  },
  "hsl": {
    "h": 235.42,
    "s": 52.191,
    "l": 50.784
  },
  "oklch": {
    "l": 0.4771,
    "c": 0.18634,
    "h": 273.4
  },
  "luminance": 0.09928
}

Semantic roles & 50–950 ramp

primary
#404AC3
secondary
#CCC892
accent
#D14CDC
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #404AC3

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

Preview Lab → · Contrast checker → · Palette generator →

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