#40446F#40446F

#40446F is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.3% C 0.072 H 278.6°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#40446F
RGBrgb(64, 68, 111)
HSLhsl(235, 27%, 34%)
HSVhsv(235, 42%, 44%)
CMYKcmyk(42.3%, 38.7%, 0%, 56.5%)
CIE-LABlab(30.33, 10.38, -25.43)
CIE-LCHlch(30.33, 27.46, 292.20°)
OKLaboklab(40.33% 0.0108 -0.0714)
OKLCHoklch(40.33% 0.072 278.6)
XYZxyz(7.0499, 6.3716, 15.8942)
Luminance0.0637 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40446F #6F6B40
analogous
#405C6F #40446F #54406F
triadic
#40446F #6F4044 #446F40
tetradic
#40446F #6F405C #6F6B40 #406F54
square
#40446F #6F405C #6F6B40 #406F54
split-complementary
#40446F #6F5440 #5C6F40
monochromatic
#131421 #2A2C48 #40446F #565C96 #787DB1

Accessibility & contrast

On white

9.23
#40446F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#40446F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40446F
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40446F#FFFFFF#000000##FFFFFF
##40446F1.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354971
Deuteranopia (green-blind)
#32466E
Tritanopia (blue-blind)
#324D54
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #40446f;
/* rgb */ color: rgb(64, 68, 111);
/* oklch */ color: oklch(40.3% 0.072 278.6);
Tailwind
colors: {
  custom: {
    50: '#777798',
    500: '#40446f',
    950: '#000000',
  },
}
SCSS
$custom: #40446f;
$custom-light: #777798;
$custom-dark: #000000;
JSON
{
  "hex": "#40446f",
  "rgb": {
    "r": 64,
    "g": 68,
    "b": 111
  },
  "hsl": {
    "h": 234.894,
    "s": 26.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.40331,
    "c": 0.0722,
    "h": 278.6
  },
  "luminance": 0.06372
}

Semantic roles & 50–950 ramp

primary
#40446F
secondary
#9C986F
accent
#BB65C3
background
#F7F7F9
surface
#EDEDF2
border
#C8C8CC
text
#09080D
muted
#7B7B7E

Preview Lab

Preview with #40446F

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

Preview Lab → · Contrast checker → · Palette generator →

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