#404BC6#404BC6

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

Color values

HEX#404BC6
RGBrgb(64, 75, 198)
HSLhsl(235, 54%, 51%)
HSVhsv(235, 68%, 78%)
CMYKcmyk(67.7%, 62.1%, 0%, 22.4%)
CIE-LABlab(38.20, 35.52, -65.46)
CIE-LCHlch(38.20, 74.47, 298.48°)
OKLaboklab(48.14% 0.01 -0.1888)
OKLCHoklch(48.14% 0.189 273)
XYZxyz(14.8201, 10.1980, 54.6025)
Luminance0.1020 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404BC6 #C6BB40
analogous
#408EC6 #404BC6 #7840C6
triadic
#404BC6 #C6404B #4BC640
tetradic
#404BC6 #C6408E #C6BB40 #40C678
square
#404BC6 #C6408E #C6BB40 #40C678
split-complementary
#404BC6 #C67840 #8EC640
monochromatic
#20266C #2E379B #404BC6 #6F77D4 #9EA4E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##404BC6#FFFFFF#000000##FFFFFF
##404BC61.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)
#0060CA
Deuteranopia (green-blind)
#0054C4
Tritanopia (blue-blind)
#006A81
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #404bc6;
/* rgb */ color: rgb(64, 75, 198);
/* oklch */ color: oklch(48.1% 0.189 273.0);
Tailwind
colors: {
  custom: {
    50: '#857dd8',
    500: '#404bc6',
    950: '#000000',
  },
}
SCSS
$custom: #404bc6;
$custom-light: #857dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#404bc6",
  "rgb": {
    "r": 64,
    "g": 75,
    "b": 198
  },
  "hsl": {
    "h": 235.075,
    "s": 54.032,
    "l": 51.373
  },
  "oklch": {
    "l": 0.48143,
    "c": 0.18908,
    "h": 273
  },
  "luminance": 0.10199
}

Semantic roles & 50–950 ramp

primary
#404BC6
secondary
#CECA93
accent
#D14ADD
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #404BC6

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

Preview Lab → · Contrast checker → · Palette generator →

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