#39399B#39399B

#39399B is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.8% C 0.155 H 277.0°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#39399B
RGBrgb(57, 57, 155)
HSLhsl(240, 46%, 42%)
HSVhsv(240, 63%, 61%)
CMYKcmyk(63.2%, 63.2%, 0%, 39.2%)
CIE-LABlab(29.82, 30.95, -53.58)
CIE-LCHlch(29.82, 61.88, 300.01°)
OKLaboklab(40.76% 0.0189 -0.1543)
OKLCHoklch(40.76% 0.155 277)
XYZxyz(9.0649, 6.1620, 31.7157)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39399B #9B9B39
analogous
#396A9B #39399B #6A399B
triadic
#39399B #9B3939 #399B39
tetradic
#39399B #9B396A #9B9B39 #399B6A
square
#39399B #9B396A #9B9B39 #399B6A
split-complementary
#39399B #9B6A39 #6A9B39
monochromatic
#181842 #29296E #39399B #5252BF #7F7FD0

Accessibility & contrast

On white

9.41
#39399B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#39399B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39399B
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39399B#FFFFFF#000000##FFFFFF
##39399B1.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9E
Deuteranopia (green-blind)
#004299
Tritanopia (blue-blind)
#005164
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #39399b;
/* rgb */ color: rgb(57, 57, 155);
/* oklch */ color: oklch(40.8% 0.155 277.0);
Tailwind
colors: {
  custom: {
    50: '#7b6fb9',
    500: '#39399b',
    950: '#000000',
  },
}
SCSS
$custom: #39399b;
$custom-light: #7b6fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#39399b",
  "rgb": {
    "r": 57,
    "g": 57,
    "b": 155
  },
  "hsl": {
    "h": 240,
    "s": 46.226,
    "l": 41.569
  },
  "oklch": {
    "l": 0.40763,
    "c": 0.15543,
    "h": 277
  },
  "luminance": 0.06163
}

Semantic roles & 50–950 ramp

primary
#39399B
secondary
#B9B977
accent
#D652D6
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #39399B

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

Preview Lab → · Contrast checker → · Palette generator →

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