#40448F#40448F

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

Color values

HEX#40448F
RGBrgb(64, 68, 143)
HSLhsl(237, 38%, 41%)
HSVhsv(237, 55%, 56%)
CMYKcmyk(55.2%, 52.4%, 0%, 43.9%)
CIE-LABlab(32.27, 20.98, -42.25)
CIE-LCHlch(32.27, 47.17, 296.41°)
OKLaboklab(42.44% 0.016 -0.1207)
OKLCHoklch(42.44% 0.122 277.6)
XYZxyz(9.1378, 7.2068, 26.8908)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40448F #8F8B40
analogous
#406B8F #40448F #63408F
triadic
#40448F #8F4044 #448F40
tetradic
#40448F #8F406B #8F8B40 #408F63
square
#40448F #8F406B #8F8B40 #408F63
split-complementary
#40448F #8F6340 #6B8F40
monochromatic
#1A1C3A #2D3065 #40448F #585DB4 #8286C7

Accessibility & contrast

On white

8.60
#40448F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #40448F
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40448F#FFFFFF#000000##FFFFFF
##40448F1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4F92
Deuteranopia (green-blind)
#12498D
Tritanopia (blue-blind)
#1B5563
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #40448f;
/* rgb */ color: rgb(64, 68, 143);
/* oklch */ color: oklch(42.4% 0.122 277.6);
Tailwind
colors: {
  custom: {
    50: '#7b77b0',
    500: '#40448f',
    950: '#000000',
  },
}
SCSS
$custom: #40448f;
$custom-light: #7b77b0;
$custom-dark: #000000;
JSON
{
  "hex": "#40448f",
  "rgb": {
    "r": 64,
    "g": 68,
    "b": 143
  },
  "hsl": {
    "h": 236.962,
    "s": 38.164,
    "l": 40.588
  },
  "oklch": {
    "l": 0.42436,
    "c": 0.12172,
    "h": 277.6
  },
  "luminance": 0.07207
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40448F

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

Preview Lab → · Contrast checker → · Palette generator →

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