#404FAC#404FAC

#404FAC is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.8% C 0.149 H 272.5°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#404FAC
RGBrgb(64, 79, 172)
HSLhsl(232, 46%, 46%)
HSVhsv(232, 63%, 67%)
CMYKcmyk(62.8%, 54.1%, 0%, 32.5%)
CIE-LABlab(37.22, 23.86, -51.75)
CIE-LCHlch(37.22, 56.99, 294.75°)
OKLaboklab(46.8% 0.0064 -0.1485)
OKLCHoklch(46.8% 0.149 272.5)
XYZxyz(12.3543, 9.6595, 40.2351)
Luminance0.0966 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404FAC #AC9D40
analogous
#4085AC #404FAC #6740AC
triadic
#404FAC #AC404F #4FAC40
tetradic
#404FAC #AC4085 #AC9D40 #40AC67
square
#404FAC #AC4085 #AC9D40 #40AC67
split-complementary
#404FAC #AC6740 #85AC40
monochromatic
#1F2653 #2F3B7F #404FAC #6471C5 #919AD6

Accessibility & contrast

On white

7.16
#404FAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#404FAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404FAC
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404FAC#FFFFFF#000000##FFFFFF
##404FAC1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#115DAF
Deuteranopia (green-blind)
#0053AA
Tritanopia (blue-blind)
#006576
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #404fac;
/* rgb */ color: rgb(64, 79, 172);
/* oklch */ color: oklch(46.8% 0.149 272.5);
Tailwind
colors: {
  custom: {
    50: '#8080c5',
    500: '#404fac',
    950: '#000000',
  },
}
SCSS
$custom: #404fac;
$custom-light: #8080c5;
$custom-dark: #000000;
JSON
{
  "hex": "#404fac",
  "rgb": {
    "r": 64,
    "g": 79,
    "b": 172
  },
  "hsl": {
    "h": 231.667,
    "s": 45.763,
    "l": 46.275
  },
  "oklch": {
    "l": 0.46799,
    "c": 0.14864,
    "h": 272.5
  },
  "luminance": 0.09661
}

Semantic roles & 50–950 ramp

primary
#404FAC
secondary
#C1B987
accent
#C352D5
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #404FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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