#404286#404286

#404286 is a dark, moderate blue. Relative luminance 0.067; OKLCH L 41.4% C 0.111 H 279.1°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#404286
RGBrgb(64, 66, 134)
HSLhsl(238, 35%, 39%)
HSVhsv(238, 52%, 53%)
CMYKcmyk(52.2%, 50.7%, 0%, 47.5%)
CIE-LABlab(31.13, 19.25, -38.54)
CIE-LCHlch(31.13, 43.08, 296.54°)
OKLaboklab(41.38% 0.0176 -0.1098)
OKLCHoklch(41.38% 0.111 279.1)
XYZxyz(8.3643, 6.7072, 23.4035)
Luminance0.0671 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404286 #868440
analogous
#406586 #404286 #614086
triadic
#404286 #864042 #428640
tetradic
#404286 #864065 #868440 #408661
square
#404286 #864065 #868440 #408661
split-complementary
#404286 #866140 #658640
monochromatic
#181933 #2C2E5D #404286 #5558AE #7F81C2

Accessibility & contrast

On white

8.97
#404286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #404286
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404286#FFFFFF#000000##FFFFFF
##4042861.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224C88
Deuteranopia (green-blind)
#1C4785
Tritanopia (blue-blind)
#24515D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #404286;
/* rgb */ color: rgb(64, 66, 134);
/* oklch */ color: oklch(41.4% 0.111 279.1);
Tailwind
colors: {
  custom: {
    50: '#7a76aa',
    500: '#404286',
    950: '#000000',
  },
}
SCSS
$custom: #404286;
$custom-light: #7a76aa;
$custom-dark: #000000;
JSON
{
  "hex": "#404286",
  "rgb": {
    "r": 64,
    "g": 66,
    "b": 134
  },
  "hsl": {
    "h": 238.286,
    "s": 35.354,
    "l": 38.824
  },
  "oklch": {
    "l": 0.41383,
    "c": 0.11118,
    "h": 279.1
  },
  "luminance": 0.06708
}

Semantic roles & 50–950 ramp

primary
#404286
secondary
#ACAB76
accent
#C85CCB
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#0A0810
muted
#7C7B7F

Preview Lab

Preview with #404286

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

Preview Lab → · Contrast checker → · Palette generator →

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