#404196#404196

#404196 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.4% C 0.136 H 278.4°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#404196
RGBrgb(64, 65, 150)
HSLhsl(239, 40%, 42%)
HSVhsv(239, 57%, 59%)
CMYKcmyk(57.3%, 56.7%, 0%, 41.2%)
CIE-LABlab(31.97, 25.34, -47.02)
CIE-LCHlch(31.97, 53.41, 298.32°)
OKLaboklab(42.37% 0.0198 -0.1347)
OKLCHoklch(42.37% 0.136 278.4)
XYZxyz(9.5079, 7.0719, 29.7122)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404196 #969540
analogous
#406C96 #404196 #6A4096
triadic
#404196 #964041 #419640
tetradic
#404196 #96406C #969540 #40966A
square
#404196 #96406C #969540 #40966A
split-complementary
#404196 #966A40 #6C9640
monochromatic
#1B1C40 #2E2E6B #404196 #5A5CB9 #8586CB

Accessibility & contrast

On white

8.70
#404196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#404196 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404196
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404196#FFFFFF#000000##FFFFFF
##4041961.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034F99
Deuteranopia (green-blind)
#004894
Tritanopia (blue-blind)
#115565
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #404196;
/* rgb */ color: rgb(64, 65, 150);
/* oklch */ color: oklch(42.4% 0.136 278.4);
Tailwind
colors: {
  custom: {
    50: '#7d75b5',
    500: '#404196',
    950: '#000000',
  },
}
SCSS
$custom: #404196;
$custom-light: #7d75b5;
$custom-dark: #000000;
JSON
{
  "hex": "#404196",
  "rgb": {
    "r": 64,
    "g": 65,
    "b": 150
  },
  "hsl": {
    "h": 239.302,
    "s": 40.187,
    "l": 41.961
  },
  "oklch": {
    "l": 0.42366,
    "c": 0.13615,
    "h": 278.4
  },
  "luminance": 0.07073
}

Semantic roles & 50–950 ramp

primary
#404196
secondary
#B6B57C
accent
#CF58D0
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #404196

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

Preview Lab → · Contrast checker → · Palette generator →

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