#40446C#40446C

#40446C is a dark, moderate blue. Relative luminance 0.063; OKLCH L 40.2% C 0.067 H 278.5°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#40446C
RGBrgb(64, 68, 108)
HSLhsl(235, 26%, 34%)
HSVhsv(235, 41%, 42%)
CMYKcmyk(40.7%, 37%, 0%, 57.6%)
CIE-LABlab(30.17, 9.43, -23.77)
CIE-LCHlch(30.17, 25.58, 291.64°)
OKLaboklab(40.16% 0.01 -0.0666)
OKLCHoklch(40.16% 0.067 278.5)
XYZxyz(6.8875, 6.3067, 15.0389)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40446C #6C6840
analogous
#405A6C #40446C #52406C
triadic
#40446C #6C4044 #446C40
tetradic
#40446C #6C405A #6C6840 #406C52
square
#40446C #6C405A #6C6840 #406C52
split-complementary
#40446C #6C5240 #5A6C40
monochromatic
#12141F #292C46 #40446C #575C92 #787DAF

Accessibility & contrast

On white

9.29
#40446C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#40446C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40446C
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40446C#FFFFFF#000000##FFFFFF
##40446C1.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37496E
Deuteranopia (green-blind)
#34456B
Tritanopia (blue-blind)
#334C53
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #40446c;
/* rgb */ color: rgb(64, 68, 108);
/* oklch */ color: oklch(40.2% 0.067 278.5);
Tailwind
colors: {
  custom: {
    50: '#777796',
    500: '#40446c',
    950: '#000000',
  },
}
SCSS
$custom: #40446c;
$custom-light: #777796;
$custom-dark: #000000;
JSON
{
  "hex": "#40446c",
  "rgb": {
    "r": 64,
    "g": 68,
    "b": 108
  },
  "hsl": {
    "h": 234.545,
    "s": 25.581,
    "l": 33.725
  },
  "oklch": {
    "l": 0.40157,
    "c": 0.06735,
    "h": 278.5
  },
  "luminance": 0.06307
}

Semantic roles & 50–950 ramp

primary
#40446C
secondary
#9A966E
accent
#BA66C2
background
#F7F7F9
surface
#EDEDF2
border
#C8C8CC
text
#09080D
muted
#7B7B7E

Preview Lab

Preview with #40446C

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

Preview Lab → · Contrast checker → · Palette generator →

#40446C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva