#404CC0#404CC0

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

Color values

HEX#404CC0
RGBrgb(64, 76, 192)
HSLhsl(234, 50%, 50%)
HSVhsv(234, 67%, 75%)
CMYKcmyk(66.7%, 60.4%, 0%, 24.7%)
CIE-LABlab(37.96, 32.80, -62.35)
CIE-LCHlch(37.96, 70.45, 297.75°)
OKLaboklab(47.82% 0.0094 -0.1797)
OKLCHoklch(47.82% 0.18 273)
XYZxyz(14.2100, 10.0634, 51.0525)
Luminance0.1007 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404CC0 #C0B440
analogous
#408CC0 #404CC0 #7440C0
triadic
#404CC0 #C0404C #4CC040
tetradic
#404CC0 #C0408C #C0B440 #40C074
square
#404CC0 #C0408C #C0B440 #40C074
split-complementary
#404CC0 #C07440 #8CC040
monochromatic
#212764 #303A92 #404CC0 #6E77CF #9CA2DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##404CC0#FFFFFF#000000##FFFFFF
##404CC01.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)
#005FC4
Deuteranopia (green-blind)
#0054BE
Tritanopia (blue-blind)
#00697E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #404cc0;
/* rgb */ color: rgb(64, 76, 192);
/* oklch */ color: oklch(47.8% 0.180 273.0);
Tailwind
colors: {
  custom: {
    50: '#847ed4',
    500: '#404cc0',
    950: '#000000',
  },
}
SCSS
$custom: #404cc0;
$custom-light: #847ed4;
$custom-dark: #000000;
JSON
{
  "hex": "#404cc0",
  "rgb": {
    "r": 64,
    "g": 76,
    "b": 192
  },
  "hsl": {
    "h": 234.375,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.47816,
    "c": 0.17993,
    "h": 273
  },
  "luminance": 0.10065
}

Semantic roles & 50–950 ramp

primary
#404CC0
secondary
#CBC591
accent
#CD4EDA
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #404CC0

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

Preview Lab → · Contrast checker → · Palette generator →

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