#40448B#40448B

#40448B is a dark, moderate blue. Relative luminance 0.071; OKLCH L 42.1% C 0.116 H 277.8°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#40448B
RGBrgb(64, 68, 139)
HSLhsl(237, 37%, 40%)
HSVhsv(237, 54%, 55%)
CMYKcmyk(54%, 51.1%, 0%, 45.5%)
CIE-LABlab(32.01, 19.62, -40.23)
CIE-LCHlch(32.01, 44.75, 296.00°)
OKLaboklab(42.15% 0.0157 -0.1147)
OKLCHoklch(42.15% 0.116 277.8)
XYZxyz(8.8402, 7.0878, 25.3233)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40448B #8B8740
analogous
#406A8B #40448B #62408B
triadic
#40448B #8B4044 #448B40
tetradic
#40448B #8B406A #8B8740 #408B62
square
#40448B #8B406A #8B8740 #408B62
split-complementary
#40448B #8B6240 #6A8B40
monochromatic
#191B37 #2D2F61 #40448B #575CB2 #8184C5

Accessibility & contrast

On white

8.69
#40448B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#40448B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40448B
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40448B#FFFFFF#000000##FFFFFF
##40448B1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224E8E
Deuteranopia (green-blind)
#194889
Tritanopia (blue-blind)
#1F5461
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #40448b;
/* rgb */ color: rgb(64, 68, 139);
/* oklch */ color: oklch(42.1% 0.116 277.8);
Tailwind
colors: {
  custom: {
    50: '#7b77ad',
    500: '#40448b',
    950: '#000000',
  },
}
SCSS
$custom: #40448b;
$custom-light: #7b77ad;
$custom-dark: #000000;
JSON
{
  "hex": "#40448b",
  "rgb": {
    "r": 64,
    "g": 68,
    "b": 139
  },
  "hsl": {
    "h": 236.8,
    "s": 36.946,
    "l": 39.804
  },
  "oklch": {
    "l": 0.42149,
    "c": 0.11576,
    "h": 277.8
  },
  "luminance": 0.07088
}

Semantic roles & 50–950 ramp

primary
#40448B
secondary
#AFAC78
accent
#C75BCD
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#0A0810
muted
#7C7B7F

Preview Lab

Preview with #40448B

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

Preview Lab → · Contrast checker → · Palette generator →

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