#40449D#40449D

#40449D is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.5% C 0.142 H 276.8°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#40449D
RGBrgb(64, 68, 157)
HSLhsl(237, 42%, 43%)
HSVhsv(237, 59%, 62%)
CMYKcmyk(59.2%, 56.7%, 0%, 38.4%)
CIE-LABlab(33.26, 25.79, -49.18)
CIE-LCHlch(33.26, 55.53, 297.67°)
OKLaboklab(43.49% 0.0168 -0.141)
OKLCHoklch(43.49% 0.142 276.8)
XYZxyz(10.2653, 7.6578, 32.8289)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40449D #9D9940
analogous
#40729D #40449D #6A409D
triadic
#40449D #9D4044 #449D40
tetradic
#40449D #9D4072 #9D9940 #409D6A
square
#40449D #9D4072 #9D9940 #409D6A
split-complementary
#40449D #9D6A40 #729D40
monochromatic
#1D1E46 #2E3172 #40449D #5D61BD #898CCF

Accessibility & contrast

On white

8.29
#40449D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#40449D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40449D
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40449D#FFFFFF#000000##FFFFFF
##40449D1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A0
Deuteranopia (green-blind)
#004A9B
Tritanopia (blue-blind)
#005969
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #40449d;
/* rgb */ color: rgb(64, 68, 157);
/* oklch */ color: oklch(43.5% 0.142 276.8);
Tailwind
colors: {
  custom: {
    50: '#7e78bb',
    500: '#40449d',
    950: '#000000',
  },
}
SCSS
$custom: #40449d;
$custom-light: #7e78bb;
$custom-dark: #000000;
JSON
{
  "hex": "#40449d",
  "rgb": {
    "r": 64,
    "g": 68,
    "b": 157
  },
  "hsl": {
    "h": 237.419,
    "s": 42.081,
    "l": 43.333
  },
  "oklch": {
    "l": 0.43489,
    "c": 0.14204,
    "h": 276.8
  },
  "luminance": 0.07659
}

Semantic roles & 50–950 ramp

primary
#40449D
secondary
#B9B77F
accent
#CD56D2
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #40449D

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

Preview Lab → · Contrast checker → · Palette generator →

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