#404BCC#404BCC

#404BCC is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.7% C 0.197 H 272.8°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#404BCC
RGBrgb(64, 75, 204)
HSLhsl(235, 58%, 53%)
HSVhsv(235, 69%, 80%)
CMYKcmyk(68.6%, 63.2%, 0%, 20%)
CIE-LABlab(38.69, 37.59, -68.13)
CIE-LCHlch(38.69, 77.81, 298.89°)
OKLaboklab(48.66% 0.0098 -0.1966)
OKLCHoklch(48.66% 0.197 272.8)
XYZxyz(15.5259, 10.4803, 58.3197)
Luminance0.1048 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404BCC #CCC140
analogous
#4091CC #404BCC #7B40CC
triadic
#404BCC #CC404B #4BCC40
tetradic
#404BCC #CC4091 #CCC140 #40CC7B
square
#404BCC #CC4091 #CCC140 #40CC7B
split-complementary
#404BCC #CC7B40 #91CC40
monochromatic
#1F2573 #2C35A3 #404BCC #7079D9 #A1A6E6

Accessibility & contrast

On white

6.78
#404BCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#404BCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #404BCC
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404BCC#FFFFFF#000000##FFFFFF
##404BCC1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D0
Deuteranopia (green-blind)
#0055CA
Tritanopia (blue-blind)
#006C84
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #404bcc;
/* rgb */ color: rgb(64, 75, 204);
/* oklch */ color: oklch(48.7% 0.197 272.8);
Tailwind
colors: {
  custom: {
    50: '#867ddd',
    500: '#404bcc',
    950: '#000000',
  },
}
SCSS
$custom: #404bcc;
$custom-light: #867ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#404bcc",
  "rgb": {
    "r": 64,
    "g": 75,
    "b": 204
  },
  "hsl": {
    "h": 235.286,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.48661,
    "c": 0.19689,
    "h": 272.8
  },
  "luminance": 0.10482
}

Semantic roles & 50–950 ramp

primary
#404BCC
secondary
#D2CE95
accent
#D547E1
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #404BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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