#404F99#404F99

#404F99 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.4% C 0.121 H 272.1°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#404F99
RGBrgb(64, 79, 153)
HSLhsl(230, 41%, 43%)
HSVhsv(230, 58%, 60%)
CMYKcmyk(58.2%, 48.4%, 0%, 40%)
CIE-LABlab(35.95, 17.20, -42.43)
CIE-LCHlch(35.95, 45.79, 292.06°)
OKLaboklab(45.43% 0.0045 -0.1211)
OKLCHoklch(45.43% 0.121 272.1)
XYZxyz(10.6582, 8.9811, 31.3027)
Luminance0.0898 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404F99 #998A40
analogous
#407B99 #404F99 #5E4099
triadic
#404F99 #99404F #4F9940
tetradic
#404F99 #99407B #998A40 #40995E
square
#404F99 #99407B #998A40 #40995E
split-complementary
#404F99 #995E40 #7B9940
monochromatic
#1C2243 #2E396E #404F99 #5C6CBB #8793CD

Accessibility & contrast

On white

7.51
#404F99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#404F99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404F99
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404F99#FFFFFF#000000##FFFFFF
##404F991.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C599C
Deuteranopia (green-blind)
#1F5197
Tritanopia (blue-blind)
#05606C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #404f99;
/* rgb */ color: rgb(64, 79, 153);
/* oklch */ color: oklch(45.4% 0.121 272.1);
Tailwind
colors: {
  custom: {
    50: '#7c80b7',
    500: '#404f99',
    950: '#000000',
  },
}
SCSS
$custom: #404f99;
$custom-light: #7c80b7;
$custom-dark: #000000;
JSON
{
  "hex": "#404f99",
  "rgb": {
    "r": 64,
    "g": 79,
    "b": 153
  },
  "hsl": {
    "h": 229.888,
    "s": 41.014,
    "l": 42.549
  },
  "oklch": {
    "l": 0.45425,
    "c": 0.12116,
    "h": 272.1
  },
  "luminance": 0.08982
}

Semantic roles & 50–950 ramp

primary
#404F99
secondary
#B7AE7E
accent
#BC57D1
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A11
muted
#7C7C80

Preview Lab

Preview with #404F99

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

Preview Lab → · Contrast checker → · Palette generator →

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