#404292#404292

#404292 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.3% C 0.129 H 278.3°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#404292
RGBrgb(64, 66, 146)
HSLhsl(239, 39%, 41%)
HSVhsv(239, 56%, 57%)
CMYKcmyk(56.2%, 54.8%, 0%, 42.7%)
CIE-LABlab(31.95, 23.32, -44.62)
CIE-LCHlch(31.95, 50.34, 297.59°)
OKLaboklab(42.26% 0.0185 -0.1276)
OKLCHoklch(42.26% 0.129 278.3)
XYZxyz(9.2492, 7.0611, 28.0641)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404292 #929040
analogous
#406B92 #404292 #674092
triadic
#404292 #924042 #429240
tetradic
#404292 #92406B #929040 #409267
square
#404292 #92406B #929040 #409267
split-complementary
#404292 #926740 #6B9240
monochromatic
#1B1C3D #2D2F67 #404292 #595BB6 #8485C9

Accessibility & contrast

On white

8.71
#404292 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #404292
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404292#FFFFFF#000000##FFFFFF
##4042921.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124F95
Deuteranopia (green-blind)
#014890
Tritanopia (blue-blind)
#175463
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #404292;
/* rgb */ color: rgb(64, 66, 146);
/* oklch */ color: oklch(42.3% 0.129 278.3);
Tailwind
colors: {
  custom: {
    50: '#7c76b2',
    500: '#404292',
    950: '#000000',
  },
}
SCSS
$custom: #404292;
$custom-light: #7c76b2;
$custom-dark: #000000;
JSON
{
  "hex": "#404292",
  "rgb": {
    "r": 64,
    "g": 66,
    "b": 146
  },
  "hsl": {
    "h": 238.537,
    "s": 39.048,
    "l": 41.176
  },
  "oklch": {
    "l": 0.42256,
    "c": 0.12897,
    "h": 278.3
  },
  "luminance": 0.07062
}

Semantic roles & 50–950 ramp

primary
#404292
secondary
#B3B27A
accent
#CC59CF
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #404292

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

Preview Lab → · Contrast checker → · Palette generator →

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