#40447A#40447A

#40447A is a dark, moderate blue. Relative luminance 0.066; OKLCH L 41.0% C 0.090 H 278.5°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#40447A
RGBrgb(64, 68, 122)
HSLhsl(236, 31%, 36%)
HSVhsv(236, 48%, 48%)
CMYKcmyk(47.5%, 44.3%, 0%, 52.2%)
CIE-LABlab(30.95, 13.93, -31.37)
CIE-LCHlch(30.95, 34.32, 293.94°)
OKLaboklab(41% 0.0132 -0.0887)
OKLCHoklch(41% 0.09 278.5)
XYZxyz(7.6933, 6.6290, 19.2827)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40447A #7A7640
analogous
#40617A #40447A #59407A
triadic
#40447A #7A4044 #447A40
tetradic
#40447A #7A4061 #7A7640 #407A59
square
#40447A #7A4061 #7A7640 #407A59
split-complementary
#40447A #7A5940 #617A40
monochromatic
#16172A #2B2E52 #40447A #555AA2 #7B7FBA

Accessibility & contrast

On white

9.03
#40447A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#40447A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40447A
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40447A#FFFFFF#000000##FFFFFF
##40447A1.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4B7C
Deuteranopia (green-blind)
#2B4779
Tritanopia (blue-blind)
#2C4F59
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #40447a;
/* rgb */ color: rgb(64, 68, 122);
/* oklch */ color: oklch(41.0% 0.090 278.5);
Tailwind
colors: {
  custom: {
    50: '#7877a1',
    500: '#40447a',
    950: '#000000',
  },
}
SCSS
$custom: #40447a;
$custom-light: #7877a1;
$custom-dark: #000000;
JSON
{
  "hex": "#40447a",
  "rgb": {
    "r": 64,
    "g": 68,
    "b": 122
  },
  "hsl": {
    "h": 235.862,
    "s": 31.183,
    "l": 36.471
  },
  "oklch": {
    "l": 0.41003,
    "c": 0.08971,
    "h": 278.5
  },
  "luminance": 0.06629
}

Semantic roles & 50–950 ramp

primary
#40447A
secondary
#A4A172
accent
#C060C7
background
#F7F7F9
surface
#EDEDF2
border
#C8C8CC
text
#09080F
muted
#7B7B7E

Preview Lab

Preview with #40447A

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

Preview Lab → · Contrast checker → · Palette generator →

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