#39399F#39399F

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

Color values

HEX#39399F
RGBrgb(57, 57, 159)
HSLhsl(240, 47%, 42%)
HSVhsv(240, 64%, 62%)
CMYKcmyk(64.2%, 64.2%, 0%, 37.6%)
CIE-LABlab(30.15, 32.34, -55.46)
CIE-LCHlch(30.15, 64.20, 300.25°)
OKLaboklab(41.11% 0.0187 -0.1598)
OKLCHoklch(41.11% 0.161 276.7)
XYZxyz(9.4064, 6.2986, 33.5142)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39399F #9F9F39
analogous
#396C9F #39399F #6C399F
triadic
#39399F #9F3939 #399F39
tetradic
#39399F #9F396C #9F9F39 #399F6C
square
#39399F #9F396C #9F9F39 #399F6C
split-complementary
#39399F #9F6C39 #6C9F39
monochromatic
#191945 #292972 #39399F #5454C2 #8181D2

Accessibility & contrast

On white

9.29
#39399F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#39399F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39399F
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39399F#FFFFFF#000000##FFFFFF
##39399F1.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA2
Deuteranopia (green-blind)
#00439D
Tritanopia (blue-blind)
#005366
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #39399f;
/* rgb */ color: rgb(57, 57, 159);
/* oklch */ color: oklch(41.1% 0.161 276.7);
Tailwind
colors: {
  custom: {
    50: '#7b6fbc',
    500: '#39399f',
    950: '#000000',
  },
}
SCSS
$custom: #39399f;
$custom-light: #7b6fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#39399f",
  "rgb": {
    "r": 57,
    "g": 57,
    "b": 159
  },
  "hsl": {
    "h": 240,
    "s": 47.222,
    "l": 42.353
  },
  "oklch": {
    "l": 0.41114,
    "c": 0.16088,
    "h": 276.7
  },
  "luminance": 0.06299
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #39399F

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

Preview Lab → · Contrast checker → · Palette generator →

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