#404FBD#404FBD

#404FBD is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.1% C 0.172 H 272.3°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#404FBD
RGBrgb(64, 79, 189)
HSLhsl(233, 49%, 50%)
HSVhsv(233, 66%, 74%)
CMYKcmyk(66.1%, 58.2%, 0%, 25.9%)
CIE-LABlab(38.47, 29.85, -59.75)
CIE-LCHlch(38.47, 66.79, 296.54°)
OKLaboklab(48.13% 0.007 -0.172)
OKLCHoklch(48.13% 0.172 272.3)
XYZxyz(14.0926, 10.3548, 49.3903)
Luminance0.1036 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404FBD #BDAE40
analogous
#408EBD #404FBD #7040BD
triadic
#404FBD #BD404F #4FBD40
tetradic
#404FBD #BD408E #BDAE40 #40BD70
square
#404FBD #BD408E #BDAE40 #40BD70
split-complementary
#404FBD #BD7040 #8EBD40
monochromatic
#212962 #313C8F #404FBD #6D78CD #9AA2DD

Accessibility & contrast

On white

6.84
#404FBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#404FBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #404FBD
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404FBD#FFFFFF#000000##FFFFFF
##404FBD1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C1
Deuteranopia (green-blind)
#0055BB
Tritanopia (blue-blind)
#006A7E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #404fbd;
/* rgb */ color: rgb(64, 79, 189);
/* oklch */ color: oklch(48.1% 0.172 272.3);
Tailwind
colors: {
  custom: {
    50: '#8380d2',
    500: '#404fbd',
    950: '#000000',
  },
}
SCSS
$custom: #404fbd;
$custom-light: #8380d2;
$custom-dark: #000000;
JSON
{
  "hex": "#404fbd",
  "rgb": {
    "r": 64,
    "g": 79,
    "b": 189
  },
  "hsl": {
    "h": 232.8,
    "s": 49.407,
    "l": 49.608
  },
  "oklch": {
    "l": 0.48126,
    "c": 0.17217,
    "h": 272.3
  },
  "luminance": 0.10356
}

Semantic roles & 50–950 ramp

primary
#404FBD
secondary
#C9C290
accent
#C84FD9
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #404FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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