#40466A#40466A

#40466A is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.5% C 0.061 H 276.1°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#40466A
RGBrgb(64, 70, 106)
HSLhsl(231, 25%, 33%)
HSVhsv(231, 40%, 42%)
CMYKcmyk(39.6%, 34%, 0%, 58.4%)
CIE-LABlab(30.67, 7.49, -21.74)
CIE-LCHlch(30.67, 22.99, 289.01°)
OKLaboklab(40.5% 0.0065 -0.0607)
OKLCHoklch(40.5% 0.061 276.1)
XYZxyz(6.9053, 6.5106, 14.5257)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40466A #6A6440
analogous
#405B6A #40466A #4F406A
triadic
#40466A #6A4046 #466A40
tetradic
#40466A #6A405B #6A6440 #406A4F
square
#40466A #6A405B #6A6440 #406A4F
split-complementary
#40466A #6A4F40 #5B6A40
monochromatic
#12141E #292D44 #40466A #575F90 #777FAD

Accessibility & contrast

On white

9.12
#40466A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#40466A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40466A
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40466A#FFFFFF#000000##FFFFFF
##40466A1.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4A6B
Deuteranopia (green-blind)
#374769
Tritanopia (blue-blind)
#344D53
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #40466a;
/* rgb */ color: rgb(64, 70, 106);
/* oklch */ color: oklch(40.5% 0.061 276.1);
Tailwind
colors: {
  custom: {
    50: '#767994',
    500: '#40466a',
    950: '#000000',
  },
}
SCSS
$custom: #40466a;
$custom-light: #767994;
$custom-dark: #000000;
JSON
{
  "hex": "#40466a",
  "rgb": {
    "r": 64,
    "g": 70,
    "b": 106
  },
  "hsl": {
    "h": 231.429,
    "s": 24.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.40504,
    "c": 0.06104,
    "h": 276.1
  },
  "luminance": 0.06511
}

Semantic roles & 50–950 ramp

primary
#40466A
secondary
#98926D
accent
#B467C1
background
#F7F7F9
surface
#EDEDF1
border
#C8C8CB
text
#09090D
muted
#7B7B7E

Preview Lab

Preview with #40466A

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

Preview Lab → · Contrast checker → · Palette generator →

#40466A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva