#404193#404193

#404193 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.1% C 0.132 H 278.6°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#404193
RGBrgb(64, 65, 147)
HSLhsl(239, 39%, 41%)
HSVhsv(239, 56%, 58%)
CMYKcmyk(56.5%, 55.8%, 0%, 42.4%)
CIE-LABlab(31.75, 24.31, -45.54)
CIE-LCHlch(31.75, 51.62, 298.10°)
OKLaboklab(42.14% 0.0197 -0.1303)
OKLCHoklch(42.14% 0.132 278.6)
XYZxyz(9.2694, 6.9766, 28.4563)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404193 #939240
analogous
#406B93 #404193 #694093
triadic
#404193 #934041 #419340
tetradic
#404193 #93406B #939240 #409369
square
#404193 #93406B #939240 #409369
split-complementary
#404193 #936940 #6B9340
monochromatic
#1B1B3E #2D2E68 #404193 #595AB7 #8485C9

Accessibility & contrast

On white

8.77
#404193 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#404193 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404193
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404193#FFFFFF#000000##FFFFFF
##4041931.008.772.408.77
#FFFFFF8.771.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4E96
Deuteranopia (green-blind)
#004791
Tritanopia (blue-blind)
#165463
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #404193;
/* rgb */ color: rgb(64, 65, 147);
/* oklch */ color: oklch(42.1% 0.132 278.6);
Tailwind
colors: {
  custom: {
    50: '#7c75b3',
    500: '#404193',
    950: '#000000',
  },
}
SCSS
$custom: #404193;
$custom-light: #7c75b3;
$custom-dark: #000000;
JSON
{
  "hex": "#404193",
  "rgb": {
    "r": 64,
    "g": 65,
    "b": 147
  },
  "hsl": {
    "h": 239.277,
    "s": 39.336,
    "l": 41.373
  },
  "oklch": {
    "l": 0.42135,
    "c": 0.13183,
    "h": 278.6
  },
  "luminance": 0.06977
}

Semantic roles & 50–950 ramp

primary
#404193
secondary
#B4B37B
accent
#CE59CF
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #404193

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

Preview Lab → · Contrast checker → · Palette generator →

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