#39399D#39399D

#39399D is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.9% C 0.158 H 276.8°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#39399D
RGBrgb(57, 57, 157)
HSLhsl(240, 47%, 42%)
HSVhsv(240, 64%, 62%)
CMYKcmyk(63.7%, 63.7%, 0%, 38.4%)
CIE-LABlab(29.98, 31.65, -54.52)
CIE-LCHlch(29.98, 63.04, 300.13°)
OKLaboklab(40.94% 0.0188 -0.157)
OKLCHoklch(40.94% 0.158 276.8)
XYZxyz(9.2343, 6.2297, 32.6076)
Luminance0.0623 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39399D #9D9D39
analogous
#396B9D #39399D #6B399D
triadic
#39399D #9D3939 #399D39
tetradic
#39399D #9D396B #9D9D39 #399D6B
square
#39399D #9D396B #9D9D39 #399D6B
split-complementary
#39399D #9D6B39 #6B9D39
monochromatic
#181843 #292970 #39399D #5353C0 #8080D1

Accessibility & contrast

On white

9.35
#39399D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #39399D
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39399D#FFFFFF#000000##FFFFFF
##39399D1.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA0
Deuteranopia (green-blind)
#00429B
Tritanopia (blue-blind)
#005265
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #39399d;
/* rgb */ color: rgb(57, 57, 157);
/* oklch */ color: oklch(40.9% 0.158 276.8);
Tailwind
colors: {
  custom: {
    50: '#7b6fbb',
    500: '#39399d',
    950: '#000000',
  },
}
SCSS
$custom: #39399d;
$custom-light: #7b6fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#39399d",
  "rgb": {
    "r": 57,
    "g": 57,
    "b": 157
  },
  "hsl": {
    "h": 240,
    "s": 46.729,
    "l": 41.961
  },
  "oklch": {
    "l": 0.40938,
    "c": 0.15816,
    "h": 276.8
  },
  "luminance": 0.0623
}

Semantic roles & 50–950 ramp

primary
#39399D
secondary
#BABA78
accent
#D651D6
background
#F8F6FB
surface
#EFECF6
border
#CAC7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #39399D

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

Preview Lab → · Contrast checker → · Palette generator →

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