#404583#404583

#404583 is a dark, moderate blue. Relative luminance 0.070; OKLCH L 41.8% C 0.102 H 277.5°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#404583
RGBrgb(64, 69, 131)
HSLhsl(236, 34%, 38%)
HSVhsv(236, 51%, 51%)
CMYKcmyk(51.1%, 47.3%, 0%, 48.6%)
CIE-LABlab(31.77, 16.25, -35.66)
CIE-LCHlch(31.77, 39.19, 294.50°)
OKLaboklab(41.81% 0.0134 -0.1013)
OKLCHoklch(41.81% 0.102 277.5)
XYZxyz(8.3379, 6.9844, 22.3771)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404583 #837E40
analogous
#406683 #404583 #5C4083
triadic
#404583 #834045 #458340
tetradic
#404583 #834066 #837E40 #40835C
square
#404583 #834066 #837E40 #40835C
split-complementary
#404583 #835C40 #668340
monochromatic
#181A31 #2C2F5A #404583 #545BAC #7E83C0

Accessibility & contrast

On white

8.76
#404583 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #404583
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404583#FFFFFF#000000##FFFFFF
##4045831.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4D85
Deuteranopia (green-blind)
#254882
Tritanopia (blue-blind)
#26525D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #404583;
/* rgb */ color: rgb(64, 69, 131);
/* oklch */ color: oklch(41.8% 0.102 277.5);
Tailwind
colors: {
  custom: {
    50: '#7978a7',
    500: '#404583',
    950: '#000000',
  },
}
SCSS
$custom: #404583;
$custom-light: #7978a7;
$custom-dark: #000000;
JSON
{
  "hex": "#404583",
  "rgb": {
    "r": 64,
    "g": 69,
    "b": 131
  },
  "hsl": {
    "h": 235.522,
    "s": 34.359,
    "l": 38.235
  },
  "oklch": {
    "l": 0.41806,
    "c": 0.10217,
    "h": 277.5
  },
  "luminance": 0.06985
}

Semantic roles & 50–950 ramp

primary
#404583
secondary
#AAA675
accent
#C25DCA
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#09090F
muted
#7B7B7F

Preview Lab

Preview with #404583

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

Preview Lab → · Contrast checker → · Palette generator →

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