#404BCA#404BCA

#404BCA is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.5% C 0.194 H 272.9°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#404BCA
RGBrgb(64, 75, 202)
HSLhsl(235, 57%, 52%)
HSVhsv(235, 68%, 79%)
CMYKcmyk(68.3%, 62.9%, 0%, 20.8%)
CIE-LABlab(38.52, 36.90, -67.24)
CIE-LCHlch(38.52, 76.70, 298.75°)
OKLaboklab(48.49% 0.0099 -0.194)
OKLCHoklch(48.49% 0.194 272.9)
XYZxyz(15.2875, 10.3850, 57.0645)
Luminance0.1039 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404BCA #CABF40
analogous
#4090CA #404BCA #7A40CA
triadic
#404BCA #CA404B #4BCA40
tetradic
#404BCA #CA4090 #CABF40 #40CA7A
square
#404BCA #CA4090 #CABF40 #40CA7A
split-complementary
#404BCA #CA7A40 #90CA40
monochromatic
#1F2670 #2C36A0 #404BCA #7078D7 #A0A5E5

Accessibility & contrast

On white

6.82
#404BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#404BCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #404BCA
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404BCA#FFFFFF#000000##FFFFFF
##404BCA1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CE
Deuteranopia (green-blind)
#0054C8
Tritanopia (blue-blind)
#006C83
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #404bca;
/* rgb */ color: rgb(64, 75, 202);
/* oklch */ color: oklch(48.5% 0.194 272.9);
Tailwind
colors: {
  custom: {
    50: '#867ddb',
    500: '#404bca',
    950: '#000000',
  },
}
SCSS
$custom: #404bca;
$custom-light: #867ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#404bca",
  "rgb": {
    "r": 64,
    "g": 75,
    "b": 202
  },
  "hsl": {
    "h": 235.217,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.48487,
    "c": 0.1943,
    "h": 272.9
  },
  "luminance": 0.10386
}

Semantic roles & 50–950 ramp

primary
#404BCA
secondary
#D1CC95
accent
#D448E0
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0D0915
muted
#7D7B83

Preview Lab

Preview with #404BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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