#40448D#40448D

#40448D is a dark, moderate blue. Relative luminance 0.071; OKLCH L 42.3% C 0.119 H 277.7°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#40448D
RGBrgb(64, 68, 141)
HSLhsl(237, 38%, 40%)
HSVhsv(237, 55%, 55%)
CMYKcmyk(54.6%, 51.8%, 0%, 44.7%)
CIE-LABlab(32.14, 20.30, -41.24)
CIE-LCHlch(32.14, 45.97, 296.21°)
OKLaboklab(42.29% 0.0159 -0.1177)
OKLCHoklch(42.29% 0.119 277.7)
XYZxyz(8.9877, 7.1468, 26.1000)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40448D #8D8940
analogous
#406A8D #40448D #62408D
triadic
#40448D #8D4044 #448D40
tetradic
#40448D #8D406A #8D8940 #408D62
square
#40448D #8D406A #8D8940 #408D62
split-complementary
#40448D #8D6240 #6A8D40
monochromatic
#1A1B39 #2D3063 #40448D #575CB3 #8185C6

Accessibility & contrast

On white

8.64
#40448D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#40448D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40448D
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40448D#FFFFFF#000000##FFFFFF
##40448D1.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204F90
Deuteranopia (green-blind)
#16498B
Tritanopia (blue-blind)
#1D5462
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #40448d;
/* rgb */ color: rgb(64, 68, 141);
/* oklch */ color: oklch(42.3% 0.119 277.7);
Tailwind
colors: {
  custom: {
    50: '#7b77af',
    500: '#40448d',
    950: '#000000',
  },
}
SCSS
$custom: #40448d;
$custom-light: #7b77af;
$custom-dark: #000000;
JSON
{
  "hex": "#40448d",
  "rgb": {
    "r": 64,
    "g": 68,
    "b": 141
  },
  "hsl": {
    "h": 236.883,
    "s": 37.561,
    "l": 40.196
  },
  "oklch": {
    "l": 0.42291,
    "c": 0.11875,
    "h": 277.7
  },
  "luminance": 0.07147
}

Semantic roles & 50–950 ramp

primary
#40448D
secondary
#B0AE78
accent
#C85ACE
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#0A0810
muted
#7C7B7F

Preview Lab

Preview with #40448D

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

Preview Lab → · Contrast checker → · Palette generator →

#40448D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva