#39409D#39409D

#39409D is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.2% C 0.149 H 274.8°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#39409D
RGBrgb(57, 64, 157)
HSLhsl(236, 47%, 42%)
HSVhsv(236, 64%, 62%)
CMYKcmyk(63.7%, 59.2%, 0%, 38.4%)
CIE-LABlab(31.74, 27.12, -51.67)
CIE-LCHlch(31.74, 58.35, 297.69°)
OKLaboklab(42.23% 0.0124 -0.1486)
OKLCHoklch(42.23% 0.149 274.8)
XYZxyz(9.6045, 6.9702, 32.7310)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39409D #9D9639
analogous
#39729D #39409D #64399D
triadic
#39409D #9D3940 #409D39
tetradic
#39409D #9D3972 #9D9639 #399D64
square
#39409D #9D3972 #9D9639 #399D64
split-complementary
#39409D #9D6439 #729D39
monochromatic
#181B43 #292E70 #39409D #535AC0 #8085D1

Accessibility & contrast

On white

8.77
#39409D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#39409D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39409D
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39409D#FFFFFF#000000##FFFFFF
##39409D1.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA0
Deuteranopia (green-blind)
#00469B
Tritanopia (blue-blind)
#005768
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #39409d;
/* rgb */ color: rgb(57, 64, 157);
/* oklch */ color: oklch(42.2% 0.149 274.8);
Tailwind
colors: {
  custom: {
    50: '#7a74bb',
    500: '#39409d',
    950: '#000000',
  },
}
SCSS
$custom: #39409d;
$custom-light: #7a74bb;
$custom-dark: #000000;
JSON
{
  "hex": "#39409d",
  "rgb": {
    "r": 57,
    "g": 64,
    "b": 157
  },
  "hsl": {
    "h": 235.8,
    "s": 46.729,
    "l": 41.961
  },
  "oklch": {
    "l": 0.42231,
    "c": 0.14911,
    "h": 274.8
  },
  "luminance": 0.06971
}

Semantic roles & 50–950 ramp

primary
#39409D
secondary
#BAB678
accent
#CD51D6
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #39409D

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

Preview Lab → · Contrast checker → · Palette generator →

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