#39399E#39399E

#39399E is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.0% C 0.160 H 276.7°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#39399E
RGBrgb(57, 57, 158)
HSLhsl(240, 47%, 42%)
HSVhsv(240, 64%, 62%)
CMYKcmyk(63.9%, 63.9%, 0%, 38%)
CIE-LABlab(30.07, 31.99, -54.99)
CIE-LCHlch(30.07, 63.62, 300.19°)
OKLaboklab(41.03% 0.0187 -0.1584)
OKLCHoklch(41.03% 0.16 276.7)
XYZxyz(9.3200, 6.2640, 33.0590)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39399E #9E9E39
analogous
#396C9E #39399E #6C399E
triadic
#39399E #9E3939 #399E39
tetradic
#39399E #9E396C #9E9E39 #399E6C
square
#39399E #9E396C #9E9E39 #399E6C
split-complementary
#39399E #9E6C39 #6C9E39
monochromatic
#191944 #292971 #39399E #5353C1 #8080D1

Accessibility & contrast

On white

9.32
#39399E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#39399E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39399E
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39399E#FFFFFF#000000##FFFFFF
##39399E1.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA1
Deuteranopia (green-blind)
#00429C
Tritanopia (blue-blind)
#005266
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #39399e;
/* rgb */ color: rgb(57, 57, 158);
/* oklch */ color: oklch(41.0% 0.160 276.7);
Tailwind
colors: {
  custom: {
    50: '#7b6fbb',
    500: '#39399e',
    950: '#000000',
  },
}
SCSS
$custom: #39399e;
$custom-light: #7b6fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#39399e",
  "rgb": {
    "r": 57,
    "g": 57,
    "b": 158
  },
  "hsl": {
    "h": 240,
    "s": 46.977,
    "l": 42.157
  },
  "oklch": {
    "l": 0.41026,
    "c": 0.15951,
    "h": 276.7
  },
  "luminance": 0.06265
}

Semantic roles & 50–950 ramp

primary
#39399E
secondary
#BBBB78
accent
#D751D7
background
#F8F6FB
surface
#EFECF6
border
#CAC7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #39399E

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

Preview Lab → · Contrast checker → · Palette generator →

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