#40448E#40448E

#40448E is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.4% C 0.120 H 277.6°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#40448E
RGBrgb(64, 68, 142)
HSLhsl(237, 38%, 40%)
HSVhsv(237, 55%, 56%)
CMYKcmyk(54.9%, 52.1%, 0%, 44.3%)
CIE-LABlab(32.21, 20.64, -41.75)
CIE-LCHlch(32.21, 46.57, 296.31°)
OKLaboklab(42.36% 0.0159 -0.1192)
OKLCHoklch(42.36% 0.12 277.6)
XYZxyz(9.0624, 7.1766, 26.4936)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40448E #8E8A40
analogous
#406B8E #40448E #63408E
triadic
#40448E #8E4044 #448E40
tetradic
#40448E #8E406B #8E8A40 #408E63
square
#40448E #8E406B #8E8A40 #408E63
split-complementary
#40448E #8E6340 #6B8E40
monochromatic
#1A1C3A #2D3064 #40448E #585CB4 #8285C7

Accessibility & contrast

On white

8.62
#40448E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#40448E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40448E
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40448E#FFFFFF#000000##FFFFFF
##40448E1.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4F91
Deuteranopia (green-blind)
#14498C
Tritanopia (blue-blind)
#1C5462
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #40448e;
/* rgb */ color: rgb(64, 68, 142);
/* oklch */ color: oklch(42.4% 0.120 277.6);
Tailwind
colors: {
  custom: {
    50: '#7b77af',
    500: '#40448e',
    950: '#000000',
  },
}
SCSS
$custom: #40448e;
$custom-light: #7b77af;
$custom-dark: #000000;
JSON
{
  "hex": "#40448e",
  "rgb": {
    "r": 64,
    "g": 68,
    "b": 142
  },
  "hsl": {
    "h": 236.923,
    "s": 37.864,
    "l": 40.392
  },
  "oklch": {
    "l": 0.42363,
    "c": 0.12023,
    "h": 277.6
  },
  "luminance": 0.07177
}

Semantic roles & 50–950 ramp

primary
#40448E
secondary
#B1AE79
accent
#C85ACE
background
#F7F7FA
surface
#EEEDF5
border
#C9C8CF
text
#0A0810
muted
#7C7B7F

Preview Lab

Preview with #40448E

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

Preview Lab → · Contrast checker → · Palette generator →

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