#404288#404288

#404288 is a dark, moderate blue. Relative luminance 0.068; OKLCH L 41.5% C 0.114 H 279.0°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#404288
RGBrgb(64, 66, 136)
HSLhsl(238, 36%, 39%)
HSVhsv(238, 53%, 53%)
CMYKcmyk(52.9%, 51.5%, 0%, 46.7%)
CIE-LABlab(31.26, 19.92, -39.57)
CIE-LCHlch(31.26, 44.30, 296.73°)
OKLaboklab(41.52% 0.0178 -0.1128)
OKLCHoklch(41.52% 0.114 279)
XYZxyz(8.5051, 6.7635, 24.1451)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404288 #888640
analogous
#406688 #404288 #624088
triadic
#404288 #884042 #428840
tetradic
#404288 #884066 #888640 #408862
square
#404288 #884066 #888640 #408862
split-complementary
#404288 #886240 #668840
monochromatic
#191A35 #2C2E5E #404288 #5658AF #7F81C3

Accessibility & contrast

On white

8.93
#404288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#404288 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404288
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404288#FFFFFF#000000##FFFFFF
##4042881.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204C8B
Deuteranopia (green-blind)
#194786
Tritanopia (blue-blind)
#22515E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #404288;
/* rgb */ color: rgb(64, 66, 136);
/* oklch */ color: oklch(41.5% 0.114 279.0);
Tailwind
colors: {
  custom: {
    50: '#7a76ab',
    500: '#404288',
    950: '#000000',
  },
}
SCSS
$custom: #404288;
$custom-light: #7a76ab;
$custom-dark: #000000;
JSON
{
  "hex": "#404288",
  "rgb": {
    "r": 64,
    "g": 66,
    "b": 136
  },
  "hsl": {
    "h": 238.333,
    "s": 36,
    "l": 39.216
  },
  "oklch": {
    "l": 0.41524,
    "c": 0.11418,
    "h": 279
  },
  "luminance": 0.06764
}

Semantic roles & 50–950 ramp

primary
#404288
secondary
#ADAC76
accent
#C95CCC
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#0A0810
muted
#7C7B7F

Preview Lab

Preview with #404288

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

Preview Lab → · Contrast checker → · Palette generator →

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