#40447F#40447F

#40447F is a dark, moderate blue. Relative luminance 0.068; OKLCH L 41.3% C 0.097 H 278.3°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#40447F
RGBrgb(64, 68, 127)
HSLhsl(236, 33%, 37%)
HSVhsv(236, 50%, 50%)
CMYKcmyk(49.6%, 46.5%, 0%, 50.2%)
CIE-LABlab(31.25, 15.58, -34.02)
CIE-LCHlch(31.25, 37.42, 294.61°)
OKLaboklab(41.33% 0.0141 -0.0965)
OKLCHoklch(41.33% 0.097 278.3)
XYZxyz(8.0111, 6.7561, 20.9565)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40447F #7F7B40
analogous
#40647F #40447F #5B407F
triadic
#40447F #7F4044 #447F40
tetradic
#40447F #7F4064 #7F7B40 #407F5B
square
#40447F #7F4064 #7F7B40 #407F5B
split-complementary
#40447F #7F5B40 #647F40
monochromatic
#17182E #2B2E56 #40447F #555AA8 #7C80BD

Accessibility & contrast

On white

8.93
#40447F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#40447F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40447F
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40447F#FFFFFF#000000##FFFFFF
##40447F1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4C81
Deuteranopia (green-blind)
#27477E
Tritanopia (blue-blind)
#29505B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #40447f;
/* rgb */ color: rgb(64, 68, 127);
/* oklch */ color: oklch(41.3% 0.097 278.3);
Tailwind
colors: {
  custom: {
    50: '#7977a4',
    500: '#40447f',
    950: '#000000',
  },
}
SCSS
$custom: #40447f;
$custom-light: #7977a4;
$custom-dark: #000000;
JSON
{
  "hex": "#40447f",
  "rgb": {
    "r": 64,
    "g": 68,
    "b": 127
  },
  "hsl": {
    "h": 236.19,
    "s": 32.984,
    "l": 37.451
  },
  "oklch": {
    "l": 0.41327,
    "c": 0.09749,
    "h": 278.3
  },
  "luminance": 0.06757
}

Semantic roles & 50–950 ramp

primary
#40447F
secondary
#A8A473
accent
#C25FC9
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#09080F
muted
#7B7B7F

Preview Lab

Preview with #40447F

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

Preview Lab → · Contrast checker → · Palette generator →

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