#404FBE#404FBE

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

Color values

HEX#404FBE
RGBrgb(64, 79, 190)
HSLhsl(233, 50%, 50%)
HSVhsv(233, 66%, 75%)
CMYKcmyk(66.3%, 58.4%, 0%, 25.5%)
CIE-LABlab(38.55, 30.20, -60.21)
CIE-LCHlch(38.55, 67.36, 296.63°)
OKLaboklab(48.21% 0.007 -0.1734)
OKLCHoklch(48.21% 0.174 272.3)
XYZxyz(14.2015, 10.3984, 49.9639)
Luminance0.1040 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404FBE #BEAF40
analogous
#408EBE #404FBE #7040BE
triadic
#404FBE #BE404F #4FBE40
tetradic
#404FBE #BE408E #BEAF40 #40BE70
square
#404FBE #BE408E #BEAF40 #40BE70
split-complementary
#404FBE #BE7040 #8EBE40
monochromatic
#212962 #313C90 #404FBE #6D79CE #9BA3DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##404FBE#FFFFFF#000000##FFFFFF
##404FBE1.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)
#0061C2
Deuteranopia (green-blind)
#0055BC
Tritanopia (blue-blind)
#006A7F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #404fbe;
/* rgb */ color: rgb(64, 79, 190);
/* oklch */ color: oklch(48.2% 0.174 272.3);
Tailwind
colors: {
  custom: {
    50: '#8380d2',
    500: '#404fbe',
    950: '#000000',
  },
}
SCSS
$custom: #404fbe;
$custom-light: #8380d2;
$custom-dark: #000000;
JSON
{
  "hex": "#404fbe",
  "rgb": {
    "r": 64,
    "g": 79,
    "b": 190
  },
  "hsl": {
    "h": 232.857,
    "s": 49.606,
    "l": 49.804
  },
  "oklch": {
    "l": 0.48206,
    "c": 0.17352,
    "h": 272.3
  },
  "luminance": 0.104
}

Semantic roles & 50–950 ramp

primary
#404FBE
secondary
#C9C390
accent
#C94FD9
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #404FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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