#404FC3#404FC3

#404FC3 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.6% C 0.180 H 272.2°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#404FC3
RGBrgb(64, 79, 195)
HSLhsl(233, 52%, 51%)
HSVhsv(233, 67%, 76%)
CMYKcmyk(67.2%, 59.5%, 0%, 23.5%)
CIE-LABlab(38.93, 31.95, -62.51)
CIE-LCHlch(38.93, 70.20, 297.08°)
OKLaboklab(48.61% 0.007 -0.1801)
OKLCHoklch(48.61% 0.18 272.2)
XYZxyz(14.7574, 10.6207, 52.8915)
Luminance0.1062 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404FC3 #C3B440
analogous
#4090C3 #404FC3 #7240C3
triadic
#404FC3 #C3404F #4FC340
tetradic
#404FC3 #C34090 #C3B440 #40C372
square
#404FC3 #C34090 #C3B440 #40C372
split-complementary
#404FC3 #C37240 #90C340
monochromatic
#212968 #2F3B97 #404FC3 #6F7AD2 #9DA5E0

Accessibility & contrast

On white

6.72
#404FC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#404FC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #404FC3
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404FC3#FFFFFF#000000##FFFFFF
##404FC31.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C7
Deuteranopia (green-blind)
#0056C1
Tritanopia (blue-blind)
#006C81
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #404fc3;
/* rgb */ color: rgb(64, 79, 195);
/* oklch */ color: oklch(48.6% 0.180 272.2);
Tailwind
colors: {
  custom: {
    50: '#8480d6',
    500: '#404fc3',
    950: '#000000',
  },
}
SCSS
$custom: #404fc3;
$custom-light: #8480d6;
$custom-dark: #000000;
JSON
{
  "hex": "#404fc3",
  "rgb": {
    "r": 64,
    "g": 79,
    "b": 195
  },
  "hsl": {
    "h": 233.13,
    "s": 52.191,
    "l": 50.784
  },
  "oklch": {
    "l": 0.48614,
    "c": 0.18024,
    "h": 272.2
  },
  "luminance": 0.10622
}

Semantic roles & 50–950 ramp

primary
#404FC3
secondary
#CCC692
accent
#CB4CDC
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #404FC3

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

Preview Lab → · Contrast checker → · Palette generator →

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