#404FB0#404FB0

#404FB0 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.1% C 0.154 H 272.4°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#404FB0
RGBrgb(64, 79, 176)
HSLhsl(232, 47%, 47%)
HSVhsv(232, 64%, 69%)
CMYKcmyk(63.6%, 55.1%, 0%, 31%)
CIE-LABlab(37.51, 25.27, -53.66)
CIE-LCHlch(37.51, 59.32, 295.22°)
OKLaboklab(47.1% 0.0066 -0.1541)
OKLCHoklch(47.1% 0.154 272.4)
XYZxyz(12.7442, 9.8155, 42.2889)
Luminance0.0982 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404FB0 #B0A140
analogous
#4087B0 #404FB0 #6940B0
triadic
#404FB0 #B0404F #4FB040
tetradic
#404FB0 #B04087 #B0A140 #40B069
square
#404FB0 #B04087 #B0A140 #40B069
split-complementary
#404FB0 #B06940 #87B040
monochromatic
#1F2756 #303B83 #404FB0 #6673C7 #939CD8

Accessibility & contrast

On white

7.09
#404FB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#404FB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404FB0
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404FB0#FFFFFF#000000##FFFFFF
##404FB01.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#045DB3
Deuteranopia (green-blind)
#0053AE
Tritanopia (blue-blind)
#006678
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #404fb0;
/* rgb */ color: rgb(64, 79, 176);
/* oklch */ color: oklch(47.1% 0.154 272.4);
Tailwind
colors: {
  custom: {
    50: '#8180c8',
    500: '#404fb0',
    950: '#000000',
  },
}
SCSS
$custom: #404fb0;
$custom-light: #8180c8;
$custom-dark: #000000;
JSON
{
  "hex": "#404fb0",
  "rgb": {
    "r": 64,
    "g": 79,
    "b": 176
  },
  "hsl": {
    "h": 231.964,
    "s": 46.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.47103,
    "c": 0.15426,
    "h": 272.4
  },
  "luminance": 0.09817
}

Semantic roles & 50–950 ramp

primary
#404FB0
secondary
#C3BB89
accent
#C551D6
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #404FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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