#404183#404183

#404183 is a dark, moderate blue. Relative luminance 0.065; OKLCH L 41.0% C 0.108 H 279.8°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#404183
RGBrgb(64, 65, 131)
HSLhsl(239, 34%, 38%)
HSVhsv(239, 51%, 51%)
CMYKcmyk(51.1%, 50.4%, 0%, 48.6%)
CIE-LABlab(30.66, 18.91, -37.44)
CIE-LCHlch(30.66, 41.94, 296.79°)
OKLaboklab(40.97% 0.0185 -0.1065)
OKLCHoklch(40.97% 0.108 279.8)
XYZxyz(8.1001, 6.5088, 22.2978)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404183 #838240
analogous
#406283 #404183 #604083
triadic
#404183 #834041 #418340
tetradic
#404183 #834062 #838240 #408360
square
#404183 #834062 #838240 #408360
split-complementary
#404183 #836040 #628340
monochromatic
#181831 #2C2D5A #404183 #5456AC #7E7FC0

Accessibility & contrast

On white

9.12
#404183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#404183 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404183
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404183#FFFFFF#000000##FFFFFF
##4041831.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234B85
Deuteranopia (green-blind)
#1D4682
Tritanopia (blue-blind)
#264F5B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #404183;
/* rgb */ color: rgb(64, 65, 131);
/* oklch */ color: oklch(41.0% 0.108 279.8);
Tailwind
colors: {
  custom: {
    50: '#7a75a7',
    500: '#404183',
    950: '#000000',
  },
}
SCSS
$custom: #404183;
$custom-light: #7a75a7;
$custom-dark: #000000;
JSON
{
  "hex": "#404183",
  "rgb": {
    "r": 64,
    "g": 65,
    "b": 131
  },
  "hsl": {
    "h": 239.104,
    "s": 34.359,
    "l": 38.235
  },
  "oklch": {
    "l": 0.40966,
    "c": 0.10812,
    "h": 279.8
  },
  "luminance": 0.06509
}

Semantic roles & 50–950 ramp

primary
#404183
secondary
#AAA975
accent
#C95DCA
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#09080F
muted
#7B7B7F

Preview Lab

Preview with #404183

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

Preview Lab → · Contrast checker → · Palette generator →

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