#404BC3#404BC3

#404BC3 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.9% C 0.185 H 273.1°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#404BC3
RGBrgb(64, 75, 195)
HSLhsl(235, 52%, 51%)
HSVhsv(235, 67%, 76%)
CMYKcmyk(67.2%, 61.5%, 0%, 23.5%)
CIE-LABlab(37.95, 34.48, -64.11)
CIE-LCHlch(37.95, 72.79, 298.27°)
OKLaboklab(47.89% 0.0102 -0.1848)
OKLCHoklch(47.89% 0.185 273.1)
XYZxyz(14.4775, 10.0609, 52.7982)
Luminance0.1006 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404BC3 #C3B840
analogous
#408CC3 #404BC3 #7640C3
triadic
#404BC3 #C3404B #4BC340
tetradic
#404BC3 #C3408C #C3B840 #40C376
square
#404BC3 #C3408C #C3B840 #40C376
split-complementary
#404BC3 #C37640 #8CC340
monochromatic
#212768 #2F3897 #404BC3 #6F77D2 #9DA3E0

Accessibility & contrast

On white

6.97
#404BC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#404BC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #404BC3
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404BC3#FFFFFF#000000##FFFFFF
##404BC31.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #404bc3;
/* rgb */ color: rgb(64, 75, 195);
/* oklch */ color: oklch(47.9% 0.185 273.1);
Tailwind
colors: {
  custom: {
    50: '#857dd6',
    500: '#404bc3',
    950: '#000000',
  },
}
SCSS
$custom: #404bc3;
$custom-light: #857dd6;
$custom-dark: #000000;
JSON
{
  "hex": "#404bc3",
  "rgb": {
    "r": 64,
    "g": 75,
    "b": 195
  },
  "hsl": {
    "h": 234.962,
    "s": 52.191,
    "l": 50.784
  },
  "oklch": {
    "l": 0.47888,
    "c": 0.18513,
    "h": 273.1
  },
  "luminance": 0.10062
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #404BC3

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

Preview Lab → · Contrast checker → · Palette generator →

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