#40449A#40449A

#40449A is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.3% C 0.138 H 277.0°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#40449A
RGBrgb(64, 68, 154)
HSLhsl(237, 41%, 43%)
HSVhsv(237, 58%, 60%)
CMYKcmyk(58.4%, 55.8%, 0%, 39.6%)
CIE-LABlab(33.04, 24.75, -47.72)
CIE-LCHlch(33.04, 53.75, 297.42°)
OKLaboklab(43.26% 0.0167 -0.1367)
OKLCHoklch(43.26% 0.138 277)
XYZxyz(10.0123, 7.5566, 31.4965)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40449A #9A9640
analogous
#40719A #40449A #69409A
triadic
#40449A #9A4044 #449A40
tetradic
#40449A #9A4071 #9A9640 #409A69
square
#40449A #9A4071 #9A9640 #409A69
split-complementary
#40449A #9A6940 #719A40
monochromatic
#1C1E44 #2E316F #40449A #5C60BB #878ACD

Accessibility & contrast

On white

8.36
#40449A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#40449A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40449A
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40449A#FFFFFF#000000##FFFFFF
##40449A1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08529D
Deuteranopia (green-blind)
#004A98
Tritanopia (blue-blind)
#075868
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #40449a;
/* rgb */ color: rgb(64, 68, 154);
/* oklch */ color: oklch(43.3% 0.138 277.0);
Tailwind
colors: {
  custom: {
    50: '#7d77b8',
    500: '#40449a',
    950: '#000000',
  },
}
SCSS
$custom: #40449a;
$custom-light: #7d77b8;
$custom-dark: #000000;
JSON
{
  "hex": "#40449a",
  "rgb": {
    "r": 64,
    "g": 68,
    "b": 154
  },
  "hsl": {
    "h": 237.333,
    "s": 41.284,
    "l": 42.745
  },
  "oklch": {
    "l": 0.43257,
    "c": 0.13775,
    "h": 277
  },
  "luminance": 0.07557
}

Semantic roles & 50–950 ramp

primary
#40449A
secondary
#B8B57E
accent
#CC57D1
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #40449A

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

Preview Lab → · Contrast checker → · Palette generator →

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