#40439A#40439A

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

Color values

HEX#40439A
RGBrgb(64, 67, 154)
HSLhsl(238, 41%, 43%)
HSVhsv(238, 58%, 60%)
CMYKcmyk(58.4%, 56.5%, 0%, 39.6%)
CIE-LABlab(32.78, 25.40, -48.14)
CIE-LCHlch(32.78, 54.43, 297.82°)
OKLaboklab(43.06% 0.0178 -0.138)
OKLCHoklch(43.06% 0.139 277.3)
XYZxyz(9.9524, 7.4367, 31.4766)
Luminance0.0744 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40439A #9A9740
analogous
#40709A #40439A #6A409A
triadic
#40439A #9A4043 #439A40
tetradic
#40439A #9A4070 #9A9740 #409A6A
square
#40439A #9A4070 #9A9740 #409A6A
split-complementary
#40439A #9A6A40 #709A40
monochromatic
#1C1D44 #2E306F #40439A #5C5FBB #878ACD

Accessibility & contrast

On white

8.44
#40439A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #40439A
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40439A#FFFFFF#000000##FFFFFF
##40439A1.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02519D
Deuteranopia (green-blind)
#004998
Tritanopia (blue-blind)
#085768
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #40439a;
/* rgb */ color: rgb(64, 67, 154);
/* oklch */ color: oklch(43.1% 0.139 277.3);
Tailwind
colors: {
  custom: {
    50: '#7d77b8',
    500: '#40439a',
    950: '#000000',
  },
}
SCSS
$custom: #40439a;
$custom-light: #7d77b8;
$custom-dark: #000000;
JSON
{
  "hex": "#40439a",
  "rgb": {
    "r": 64,
    "g": 67,
    "b": 154
  },
  "hsl": {
    "h": 238,
    "s": 41.284,
    "l": 42.745
  },
  "oklch": {
    "l": 0.43063,
    "c": 0.13912,
    "h": 277.3
  },
  "luminance": 0.07437
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40439A

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

Preview Lab → · Contrast checker → · Palette generator →

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