#40439B#40439B

#40439B is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.1% C 0.141 H 277.3°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#40439B
RGBrgb(64, 67, 155)
HSLhsl(238, 42%, 43%)
HSVhsv(238, 59%, 61%)
CMYKcmyk(58.7%, 56.8%, 0%, 39.2%)
CIE-LABlab(32.85, 25.75, -48.63)
CIE-LCHlch(32.85, 55.02, 297.90°)
OKLaboklab(43.14% 0.0178 -0.1394)
OKLCHoklch(43.14% 0.141 277.3)
XYZxyz(10.0360, 7.4701, 31.9170)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40439B #9B9840
analogous
#40709B #40439B #6A409B
triadic
#40439B #9B4043 #439B40
tetradic
#40439B #9B4070 #9B9840 #409B6A
square
#40439B #9B4070 #9B9840 #409B6A
split-complementary
#40439B #9B6A40 #709B40
monochromatic
#1C1E44 #2E3070 #40439B #5C60BC #888ACE

Accessibility & contrast

On white

8.42
#40439B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#40439B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40439B
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40439B#FFFFFF#000000##FFFFFF
##40439B1.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00519E
Deuteranopia (green-blind)
#004A99
Tritanopia (blue-blind)
#055868
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #40439b;
/* rgb */ color: rgb(64, 67, 155);
/* oklch */ color: oklch(43.1% 0.141 277.3);
Tailwind
colors: {
  custom: {
    50: '#7d77b9',
    500: '#40439b',
    950: '#000000',
  },
}
SCSS
$custom: #40439b;
$custom-light: #7d77b9;
$custom-dark: #000000;
JSON
{
  "hex": "#40439b",
  "rgb": {
    "r": 64,
    "g": 67,
    "b": 155
  },
  "hsl": {
    "h": 238.022,
    "s": 41.553,
    "l": 42.941
  },
  "oklch": {
    "l": 0.4314,
    "c": 0.14055,
    "h": 277.3
  },
  "luminance": 0.07471
}

Semantic roles & 50–950 ramp

primary
#40439B
secondary
#B8B67E
accent
#CD56D1
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #40439B

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

Preview Lab → · Contrast checker → · Palette generator →

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