#40439D#40439D

#40439D is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.3% C 0.143 H 277.1°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#40439D
RGBrgb(64, 67, 157)
HSLhsl(238, 42%, 43%)
HSVhsv(238, 59%, 62%)
CMYKcmyk(59.2%, 57.3%, 0%, 38.4%)
CIE-LABlab(33.00, 26.44, -49.60)
CIE-LCHlch(33.00, 56.20, 298.06°)
OKLaboklab(43.3% 0.0178 -0.1423)
OKLCHoklch(43.3% 0.143 277.1)
XYZxyz(10.2054, 7.5379, 32.8089)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40439D #9D9A40
analogous
#40719D #40439D #6B409D
triadic
#40439D #9D4043 #439D40
tetradic
#40439D #9D4071 #9D9A40 #409D6B
square
#40439D #9D4071 #9D9A40 #409D6B
split-complementary
#40439D #9D6B40 #719D40
monochromatic
#1D1E46 #2E3072 #40439D #5D60BD #898BCF

Accessibility & contrast

On white

8.37
#40439D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #40439D
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40439D#FFFFFF#000000##FFFFFF
##40439D1.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40439d;
/* rgb */ color: rgb(64, 67, 157);
/* oklch */ color: oklch(43.3% 0.143 277.1);
Tailwind
colors: {
  custom: {
    50: '#7e77bb',
    500: '#40439d',
    950: '#000000',
  },
}
SCSS
$custom: #40439d;
$custom-light: #7e77bb;
$custom-dark: #000000;
JSON
{
  "hex": "#40439d",
  "rgb": {
    "r": 64,
    "g": 67,
    "b": 157
  },
  "hsl": {
    "h": 238.065,
    "s": 42.081,
    "l": 43.333
  },
  "oklch": {
    "l": 0.43296,
    "c": 0.14339,
    "h": 277.1
  },
  "luminance": 0.07539
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40439D

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

Preview Lab → · Contrast checker → · Palette generator →

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