#404FB3#404FB3

#404FB3 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.3% C 0.158 H 272.4°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#404FB3
RGBrgb(64, 79, 179)
HSLhsl(232, 47%, 48%)
HSVhsv(232, 64%, 70%)
CMYKcmyk(64.2%, 55.9%, 0%, 29.8%)
CIE-LABlab(37.73, 26.33, -55.09)
CIE-LCHlch(37.73, 61.05, 295.55°)
OKLaboklab(47.33% 0.0067 -0.1583)
OKLCHoklch(47.33% 0.158 272.4)
XYZxyz(13.0443, 9.9355, 43.8694)
Luminance0.0994 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404FB3 #B3A440
analogous
#4088B3 #404FB3 #6B40B3
triadic
#404FB3 #B3404F #4FB340
tetradic
#404FB3 #B34088 #B3A440 #40B36B
square
#404FB3 #B34088 #B3A440 #40B36B
split-complementary
#404FB3 #B36B40 #88B340
monochromatic
#202759 #303B86 #404FB3 #6774C9 #949DD9

Accessibility & contrast

On white

7.03
#404FB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#404FB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404FB3
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404FB3#FFFFFF#000000##FFFFFF
##404FB31.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB6
Deuteranopia (green-blind)
#0054B1
Tritanopia (blue-blind)
#006779
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #404fb3;
/* rgb */ color: rgb(64, 79, 179);
/* oklch */ color: oklch(47.3% 0.158 272.4);
Tailwind
colors: {
  custom: {
    50: '#8180ca',
    500: '#404fb3',
    950: '#000000',
  },
}
SCSS
$custom: #404fb3;
$custom-light: #8180ca;
$custom-dark: #000000;
JSON
{
  "hex": "#404fb3",
  "rgb": {
    "r": 64,
    "g": 79,
    "b": 179
  },
  "hsl": {
    "h": 232.174,
    "s": 47.325,
    "l": 47.647
  },
  "oklch": {
    "l": 0.47334,
    "c": 0.15844,
    "h": 272.4
  },
  "luminance": 0.09937
}

Semantic roles & 50–950 ramp

primary
#404FB3
secondary
#C4BD8A
accent
#C551D7
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #404FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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