#404261#404261

#404261 is a dark, muted blue. Relative luminance 0.058; OKLCH L 39.1% C 0.052 H 280.8°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#404261
RGBrgb(64, 66, 97)
HSLhsl(236, 20%, 32%)
HSVhsv(236, 34%, 38%)
CMYKcmyk(34%, 32%, 0%, 62%)
CIE-LABlab(29.03, 7.40, -18.54)
CIE-LCHlch(29.03, 19.96, 291.75°)
OKLaboklab(39.09% 0.0099 -0.0515)
OKLCHoklch(39.09% 0.052 280.8)
XYZxyz(6.2196, 5.8493, 12.1083)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404261 #615F40
analogous
#405361 #404261 #4F4061
triadic
#404261 #614042 #426140
tetradic
#404261 #614053 #615F40 #40614F
square
#404261 #614053 #615F40 #40614F
split-complementary
#404261 #614F40 #536140
monochromatic
#0F1017 #28293C #404261 #585B86 #7679A5

Accessibility & contrast

On white

9.68
#404261 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#404261 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404261
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404261#FFFFFF#000000##FFFFFF
##4042611.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394662
Deuteranopia (green-blind)
#374360
Tritanopia (blue-blind)
#37484D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #404261;
/* rgb */ color: rgb(64, 66, 97);
/* oklch */ color: oklch(39.1% 0.052 280.8);
Tailwind
colors: {
  custom: {
    50: '#76768e',
    500: '#404261',
    950: '#000000',
  },
}
SCSS
$custom: #404261;
$custom-light: #76768e;
$custom-dark: #000000;
JSON
{
  "hex": "#404261",
  "rgb": {
    "r": 64,
    "g": 66,
    "b": 97
  },
  "hsl": {
    "h": 236.364,
    "s": 20.497,
    "l": 31.569
  },
  "oklch": {
    "l": 0.39094,
    "c": 0.05244,
    "h": 280.8
  },
  "luminance": 0.05849
}

Semantic roles & 50–950 ramp

primary
#404261
secondary
#918E6C
accent
#B86BBD
background
#F7F7F8
surface
#EDEDF0
border
#C8C8CB
text
#08080C
muted
#7B7B7D

Preview Lab

Preview with #404261

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

Preview Lab → · Contrast checker → · Palette generator →

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