#404199#404199

#404199 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.6% C 0.140 H 278.1°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#404199
RGBrgb(64, 65, 153)
HSLhsl(239, 41%, 43%)
HSVhsv(239, 58%, 60%)
CMYKcmyk(58.2%, 57.5%, 0%, 40%)
CIE-LABlab(32.19, 26.36, -48.49)
CIE-LCHlch(32.19, 55.19, 298.53°)
OKLaboklab(42.6% 0.0199 -0.139)
OKLCHoklch(42.6% 0.14 278.1)
XYZxyz(9.7526, 7.1698, 31.0008)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404199 #999840
analogous
#406D99 #404199 #6C4099
triadic
#404199 #994041 #419940
tetradic
#404199 #99406D #999840 #40996C
square
#404199 #99406D #999840 #40996C
split-complementary
#404199 #996C40 #6D9940
monochromatic
#1C1C43 #2E2F6E #404199 #5C5DBB #8788CD

Accessibility & contrast

On white

8.63
#404199 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#404199 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404199
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404199#FFFFFF#000000##FFFFFF
##4041991.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9C
Deuteranopia (green-blind)
#004897
Tritanopia (blue-blind)
#0B5666
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #404199;
/* rgb */ color: rgb(64, 65, 153);
/* oklch */ color: oklch(42.6% 0.140 278.1);
Tailwind
colors: {
  custom: {
    50: '#7d75b8',
    500: '#404199',
    950: '#000000',
  },
}
SCSS
$custom: #404199;
$custom-light: #7d75b8;
$custom-dark: #000000;
JSON
{
  "hex": "#404199",
  "rgb": {
    "r": 64,
    "g": 65,
    "b": 153
  },
  "hsl": {
    "h": 239.326,
    "s": 41.014,
    "l": 42.549
  },
  "oklch": {
    "l": 0.426,
    "c": 0.14044,
    "h": 278.1
  },
  "luminance": 0.0717
}

Semantic roles & 50–950 ramp

primary
#404199
secondary
#B7B77E
accent
#CF57D1
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #404199

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

Preview Lab → · Contrast checker → · Palette generator →

#404199 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva