#404CC3#404CC3

#404CC3 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 48.1% C 0.184 H 272.9°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#404CC3
RGBrgb(64, 76, 195)
HSLhsl(235, 52%, 51%)
HSVhsv(235, 67%, 76%)
CMYKcmyk(67.2%, 61%, 0%, 23.5%)
CIE-LABlab(38.19, 33.85, -63.71)
CIE-LCHlch(38.19, 72.14, 297.98°)
OKLaboklab(48.07% 0.0094 -0.1837)
OKLCHoklch(48.07% 0.184 272.9)
XYZxyz(14.5458, 10.1977, 52.8210)
Luminance0.1020 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404CC3 #C3B740
analogous
#408DC3 #404CC3 #7540C3
triadic
#404CC3 #C3404C #4CC340
tetradic
#404CC3 #C3408D #C3B740 #40C375
square
#404CC3 #C3408D #C3B740 #40C375
split-complementary
#404CC3 #C37540 #8DC340
monochromatic
#212768 #2F3997 #404CC3 #6F78D2 #9DA3E0

Accessibility & contrast

On white

6.91
#404CC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#404CC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #404CC3
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404CC3#FFFFFF#000000##FFFFFF
##404CC31.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C7
Deuteranopia (green-blind)
#0054C1
Tritanopia (blue-blind)
#006A80
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #404cc3;
/* rgb */ color: rgb(64, 76, 195);
/* oklch */ color: oklch(48.1% 0.184 272.9);
Tailwind
colors: {
  custom: {
    50: '#847ed6',
    500: '#404cc3',
    950: '#000000',
  },
}
SCSS
$custom: #404cc3;
$custom-light: #847ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#404cc3",
  "rgb": {
    "r": 64,
    "g": 76,
    "b": 195
  },
  "hsl": {
    "h": 234.504,
    "s": 52.191,
    "l": 50.784
  },
  "oklch": {
    "l": 0.48067,
    "c": 0.18392,
    "h": 272.9
  },
  "luminance": 0.10199
}

Semantic roles & 50–950 ramp

primary
#404CC3
secondary
#CCC792
accent
#CE4CDC
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #404CC3

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

Preview Lab → · Contrast checker → · Palette generator →

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