#40466B#40466B

#40466B is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.6% C 0.063 H 276.2°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#40466B
RGBrgb(64, 70, 107)
HSLhsl(232, 25%, 34%)
HSVhsv(232, 40%, 42%)
CMYKcmyk(40.2%, 34.6%, 0%, 58%)
CIE-LABlab(30.72, 7.80, -22.29)
CIE-LCHlch(30.72, 23.62, 289.28°)
OKLaboklab(40.56% 0.0068 -0.0623)
OKLCHoklch(40.56% 0.063 276.2)
XYZxyz(6.9576, 6.5316, 14.8012)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40466B #6B6540
analogous
#405B6B #40466B #4F406B
triadic
#40466B #6B4046 #466B40
tetradic
#40466B #6B405B #6B6540 #406B4F
square
#40466B #6B405B #6B6540 #406B4F
split-complementary
#40466B #6B4F40 #5B6B40
monochromatic
#12141E #292D45 #40466B #575F91 #777FAE

Accessibility & contrast

On white

9.11
#40466B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#40466B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40466B
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40466B#FFFFFF#000000##FFFFFF
##40466B1.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4A6D
Deuteranopia (green-blind)
#37476A
Tritanopia (blue-blind)
#334D53
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #40466b;
/* rgb */ color: rgb(64, 70, 107);
/* oklch */ color: oklch(40.6% 0.063 276.2);
Tailwind
colors: {
  custom: {
    50: '#767995',
    500: '#40466b',
    950: '#000000',
  },
}
SCSS
$custom: #40466b;
$custom-light: #767995;
$custom-dark: #000000;
JSON
{
  "hex": "#40466b",
  "rgb": {
    "r": 64,
    "g": 70,
    "b": 107
  },
  "hsl": {
    "h": 231.628,
    "s": 25.146,
    "l": 33.529
  },
  "oklch": {
    "l": 0.40559,
    "c": 0.06268,
    "h": 276.2
  },
  "luminance": 0.06532
}

Semantic roles & 50–950 ramp

primary
#40466B
secondary
#99936E
accent
#B566C2
background
#F7F7F9
surface
#EDEDF1
border
#C8C8CB
text
#09090D
muted
#7B7B7E

Preview Lab

Preview with #40466B

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

Preview Lab → · Contrast checker → · Palette generator →

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