#40439E#40439E

#40439E is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.4% C 0.145 H 277.1°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#40439E
RGBrgb(64, 67, 158)
HSLhsl(238, 42%, 44%)
HSVhsv(238, 59%, 62%)
CMYKcmyk(59.5%, 57.6%, 0%, 38%)
CIE-LABlab(33.08, 26.78, -50.08)
CIE-LCHlch(33.08, 56.79, 298.13°)
OKLaboklab(43.38% 0.0179 -0.1437)
OKLCHoklch(43.38% 0.145 277.1)
XYZxyz(10.2911, 7.5722, 33.2604)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40439E #9E9B40
analogous
#40729E #40439E #6C409E
triadic
#40439E #9E4043 #439E40
tetradic
#40439E #9E4072 #9E9B40 #409E6C
square
#40439E #9E4072 #9E9B40 #409E6C
split-complementary
#40439E #9E6C40 #729E40
monochromatic
#1D1E47 #2E3172 #40439E #5E61BE #898BCF

Accessibility & contrast

On white

8.35
#40439E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#40439E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40439E
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40439E#FFFFFF#000000##FFFFFF
##40439E1.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A1
Deuteranopia (green-blind)
#004A9C
Tritanopia (blue-blind)
#00586A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #40439e;
/* rgb */ color: rgb(64, 67, 158);
/* oklch */ color: oklch(43.4% 0.145 277.1);
Tailwind
colors: {
  custom: {
    50: '#7e77bb',
    500: '#40439e',
    950: '#000000',
  },
}
SCSS
$custom: #40439e;
$custom-light: #7e77bb;
$custom-dark: #000000;
JSON
{
  "hex": "#40439e",
  "rgb": {
    "r": 64,
    "g": 67,
    "b": 158
  },
  "hsl": {
    "h": 238.085,
    "s": 42.342,
    "l": 43.529
  },
  "oklch": {
    "l": 0.43375,
    "c": 0.1448,
    "h": 277.1
  },
  "luminance": 0.07573
}

Semantic roles & 50–950 ramp

primary
#40439E
secondary
#BAB880
accent
#CE56D2
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #40439E

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

Preview Lab → · Contrast checker → · Palette generator →

#40439E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva