#404EBF#404EBF

#404EBF is a mid, vivid blue. Relative luminance 0.103; OKLCH L 48.1% C 0.176 H 272.5°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#404EBF
RGBrgb(64, 78, 191)
HSLhsl(233, 50%, 50%)
HSVhsv(233, 66%, 75%)
CMYKcmyk(66.5%, 59.2%, 0%, 25.1%)
CIE-LABlab(38.37, 31.19, -61.08)
CIE-LCHlch(38.37, 68.58, 297.05°)
OKLaboklab(48.1% 0.0078 -0.1759)
OKLCHoklch(48.1% 0.176 272.5)
XYZxyz(14.2396, 10.2991, 50.5176)
Luminance0.1030 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404EBF #BFB140
analogous
#408DBF #404EBF #7240BF
triadic
#404EBF #BF404E #4EBF40
tetradic
#404EBF #BF408D #BFB140 #40BF72
square
#404EBF #BF408D #BFB140 #40BF72
split-complementary
#404EBF #BF7240 #8DBF40
monochromatic
#212963 #313B91 #404EBF #6E78CE #9CA3DE

Accessibility & contrast

On white

6.86
#404EBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#404EBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #404EBF
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404EBF#FFFFFF#000000##FFFFFF
##404EBF1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C3
Deuteranopia (green-blind)
#0055BD
Tritanopia (blue-blind)
#006A7F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #404ebf;
/* rgb */ color: rgb(64, 78, 191);
/* oklch */ color: oklch(48.1% 0.176 272.5);
Tailwind
colors: {
  custom: {
    50: '#847fd3',
    500: '#404ebf',
    950: '#000000',
  },
}
SCSS
$custom: #404ebf;
$custom-light: #847fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#404ebf",
  "rgb": {
    "r": 64,
    "g": 78,
    "b": 191
  },
  "hsl": {
    "h": 233.386,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.48101,
    "c": 0.17611,
    "h": 272.5
  },
  "luminance": 0.103
}

Semantic roles & 50–950 ramp

primary
#404EBF
secondary
#CAC491
accent
#CA4ED9
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #404EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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