#404597#404597

#404597 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.2% C 0.132 H 276.7°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#404597
RGBrgb(64, 69, 151)
HSLhsl(237, 40%, 42%)
HSVhsv(237, 58%, 59%)
CMYKcmyk(57.6%, 54.3%, 0%, 40.8%)
CIE-LABlab(33.09, 23.07, -45.81)
CIE-LCHlch(33.09, 51.29, 296.72°)
OKLaboklab(43.23% 0.0155 -0.1311)
OKLCHoklch(43.23% 0.132 276.7)
XYZxyz(9.8266, 7.5799, 30.2174)
Luminance0.0758 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404597 #979240
analogous
#407097 #404597 #674097
triadic
#404597 #974045 #459740
tetradic
#404597 #974070 #979240 #409767
square
#404597 #974070 #979240 #409767
split-complementary
#404597 #976740 #709740
monochromatic
#1C1E41 #2E316C #404597 #5B60B9 #868ACC

Accessibility & contrast

On white

8.35
#404597 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#404597 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404597
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404597#FFFFFF#000000##FFFFFF
##4045971.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14529A
Deuteranopia (green-blind)
#004A95
Tritanopia (blue-blind)
#0E5867
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #404597;
/* rgb */ color: rgb(64, 69, 151);
/* oklch */ color: oklch(43.2% 0.132 276.7);
Tailwind
colors: {
  custom: {
    50: '#7d78b6',
    500: '#404597',
    950: '#000000',
  },
}
SCSS
$custom: #404597;
$custom-light: #7d78b6;
$custom-dark: #000000;
JSON
{
  "hex": "#404597",
  "rgb": {
    "r": 64,
    "g": 69,
    "b": 151
  },
  "hsl": {
    "h": 236.552,
    "s": 40.465,
    "l": 42.157
  },
  "oklch": {
    "l": 0.43227,
    "c": 0.13204,
    "h": 276.7
  },
  "luminance": 0.07581
}

Semantic roles & 50–950 ramp

primary
#404597
secondary
#B6B37D
accent
#C957D0
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0911
muted
#7C7B80

Preview Lab

Preview with #404597

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

Preview Lab → · Contrast checker → · Palette generator →

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