#404EBA#404EBA

#404EBA is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.7% C 0.169 H 272.6°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#404EBA
RGBrgb(64, 78, 186)
HSLhsl(233, 49%, 49%)
HSVhsv(233, 66%, 73%)
CMYKcmyk(65.6%, 58.1%, 0%, 27.1%)
CIE-LABlab(37.99, 29.43, -58.78)
CIE-LCHlch(37.99, 65.73, 296.60°)
OKLaboklab(47.7% 0.0078 -0.1692)
OKLCHoklch(47.7% 0.169 272.6)
XYZxyz(13.6987, 10.0827, 47.6691)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404EBA #BAAC40
analogous
#408BBA #404EBA #6F40BA
triadic
#404EBA #BA404E #4EBA40
tetradic
#404EBA #BA408B #BAAC40 #40BA6F
square
#404EBA #BA408B #BAAC40 #40BA6F
split-complementary
#404EBA #BA6F40 #8BBA40
monochromatic
#21285F #303B8C #404EBA #6B76CC #99A0DC

Accessibility & contrast

On white

6.96
#404EBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#404EBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #404EBA
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404EBA#FFFFFF#000000##FFFFFF
##404EBA1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBE
Deuteranopia (green-blind)
#0054B8
Tritanopia (blue-blind)
#00687C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #404eba;
/* rgb */ color: rgb(64, 78, 186);
/* oklch */ color: oklch(47.7% 0.169 272.6);
Tailwind
colors: {
  custom: {
    50: '#837fd0',
    500: '#404eba',
    950: '#000000',
  },
}
SCSS
$custom: #404eba;
$custom-light: #837fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#404eba",
  "rgb": {
    "r": 64,
    "g": 78,
    "b": 186
  },
  "hsl": {
    "h": 233.115,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.47696,
    "c": 0.16935,
    "h": 272.6
  },
  "luminance": 0.10084
}

Semantic roles & 50–950 ramp

primary
#404EBA
secondary
#C8C18E
accent
#C94FD8
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A14
muted
#7D7C82

Preview Lab

Preview with #404EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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