#404285#404285

#404285 is a dark, moderate blue. Relative luminance 0.067; OKLCH L 41.3% C 0.110 H 279.2°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#404285
RGBrgb(64, 66, 133)
HSLhsl(238, 35%, 39%)
HSVhsv(238, 52%, 52%)
CMYKcmyk(51.9%, 50.4%, 0%, 47.8%)
CIE-LABlab(31.07, 18.91, -38.03)
CIE-LCHlch(31.07, 42.47, 296.44°)
OKLaboklab(41.31% 0.0175 -0.1083)
OKLCHoklch(41.31% 0.11 279.2)
XYZxyz(8.2949, 6.6794, 23.0379)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404285 #858340
analogous
#406485 #404285 #604085
triadic
#404285 #854042 #428540
tetradic
#404285 #854064 #858340 #408560
square
#404285 #854064 #858340 #408560
split-complementary
#404285 #856040 #648540
monochromatic
#181932 #2C2D5C #404285 #5558AD #7E80C1

Accessibility & contrast

On white

8.99
#404285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#404285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404285
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404285#FFFFFF#000000##FFFFFF
##4042851.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234C87
Deuteranopia (green-blind)
#1D4684
Tritanopia (blue-blind)
#25515D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #404285;
/* rgb */ color: rgb(64, 66, 133);
/* oklch */ color: oklch(41.3% 0.110 279.2);
Tailwind
colors: {
  custom: {
    50: '#7a76a9',
    500: '#404285',
    950: '#000000',
  },
}
SCSS
$custom: #404285;
$custom-light: #7a76a9;
$custom-dark: #000000;
JSON
{
  "hex": "#404285",
  "rgb": {
    "r": 64,
    "g": 66,
    "b": 133
  },
  "hsl": {
    "h": 238.261,
    "s": 35.025,
    "l": 38.627
  },
  "oklch": {
    "l": 0.41313,
    "c": 0.10966,
    "h": 279.2
  },
  "luminance": 0.0668
}

Semantic roles & 50–950 ramp

primary
#404285
secondary
#ACAA75
accent
#C85DCB
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#0A0810
muted
#7C7B7F

Preview Lab

Preview with #404285

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

Preview Lab → · Contrast checker → · Palette generator →

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