#404DBC#404DBC

#404DBC is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.7% C 0.173 H 272.9°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#404DBC
RGBrgb(64, 77, 188)
HSLhsl(234, 49%, 49%)
HSVhsv(234, 66%, 74%)
CMYKcmyk(66%, 59%, 0%, 26.3%)
CIE-LABlab(37.89, 30.77, -60.11)
CIE-LCHlch(37.89, 67.53, 297.11°)
OKLaboklab(47.67% 0.0087 -0.1731)
OKLCHoklch(47.67% 0.173 272.9)
XYZxyz(13.8423, 10.0273, 48.7732)
Luminance0.1003 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404DBC #BCAF40
analogous
#408BBC #404DBC #7140BC
triadic
#404DBC #BC404D #4DBC40
tetradic
#404DBC #BC408B #BCAF40 #40BC71
square
#404DBC #BC408B #BCAF40 #40BC71
split-complementary
#404DBC #BC7140 #8BBC40
monochromatic
#212861 #303A8E #404DBC #6C76CD #9AA1DD

Accessibility & contrast

On white

6.99
#404DBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #404DBC
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404DBC#FFFFFF#000000##FFFFFF
##404DBC1.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC0
Deuteranopia (green-blind)
#0054BA
Tritanopia (blue-blind)
#00687D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #404dbc;
/* rgb */ color: rgb(64, 77, 188);
/* oklch */ color: oklch(47.7% 0.173 272.9);
Tailwind
colors: {
  custom: {
    50: '#837ed1',
    500: '#404dbc',
    950: '#000000',
  },
}
SCSS
$custom: #404dbc;
$custom-light: #837ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#404dbc",
  "rgb": {
    "r": 64,
    "g": 77,
    "b": 188
  },
  "hsl": {
    "h": 233.71,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.4767,
    "c": 0.17332,
    "h": 272.9
  },
  "luminance": 0.10029
}

Semantic roles & 50–950 ramp

primary
#404DBC
secondary
#C9C38F
accent
#CA4FD9
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A14
muted
#7D7C82

Preview Lab

Preview with #404DBC

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

Preview Lab → · Contrast checker → · Palette generator →

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