#39409E#39409E

#39409E is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.3% C 0.151 H 274.7°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#39409E
RGBrgb(57, 64, 158)
HSLhsl(236, 47%, 42%)
HSVhsv(236, 64%, 62%)
CMYKcmyk(63.9%, 59.5%, 0%, 38%)
CIE-LABlab(31.82, 27.47, -52.15)
CIE-LCHlch(31.82, 58.94, 297.78°)
OKLaboklab(42.31% 0.0124 -0.15)
OKLCHoklch(42.31% 0.151 274.7)
XYZxyz(9.6903, 7.0045, 33.1825)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39409E #9E9739
analogous
#39729E #39409E #65399E
triadic
#39409E #9E3940 #409E39
tetradic
#39409E #9E3972 #9E9739 #399E65
square
#39409E #9E3972 #9E9739 #399E65
split-complementary
#39409E #9E6539 #729E39
monochromatic
#191C44 #292E71 #39409E #535BC1 #8086D1

Accessibility & contrast

On white

8.75
#39409E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#39409E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39409E
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39409E#FFFFFF#000000##FFFFFF
##39409E1.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA1
Deuteranopia (green-blind)
#00479C
Tritanopia (blue-blind)
#005768
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #39409e;
/* rgb */ color: rgb(57, 64, 158);
/* oklch */ color: oklch(42.3% 0.151 274.7);
Tailwind
colors: {
  custom: {
    50: '#7b74bb',
    500: '#39409e',
    950: '#000000',
  },
}
SCSS
$custom: #39409e;
$custom-light: #7b74bb;
$custom-dark: #000000;
JSON
{
  "hex": "#39409e",
  "rgb": {
    "r": 57,
    "g": 64,
    "b": 158
  },
  "hsl": {
    "h": 235.842,
    "s": 46.977,
    "l": 42.157
  },
  "oklch": {
    "l": 0.42314,
    "c": 0.15051,
    "h": 274.7
  },
  "luminance": 0.07005
}

Semantic roles & 50–950 ramp

primary
#39409E
secondary
#BBB678
accent
#CD51D7
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #39409E

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

Preview Lab → · Contrast checker → · Palette generator →

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