#39397B#39397B

#39397B is a dark, moderate blue. Relative luminance 0.052; OKLCH L 38.2% C 0.109 H 279.9°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#39397B
RGBrgb(57, 57, 123)
HSLhsl(240, 37%, 35%)
HSVhsv(240, 54%, 48%)
CMYKcmyk(53.7%, 53.7%, 0%, 51.8%)
CIE-LABlab(27.37, 19.86, -37.75)
CIE-LCHlch(27.37, 42.65, 297.75°)
OKLaboklab(38.17% 0.0188 -0.1077)
OKLCHoklch(38.17% 0.109 279.9)
XYZxyz(6.7245, 5.2258, 19.3894)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39397B #7B7B39
analogous
#395A7B #39397B #5A397B
triadic
#39397B #7B3939 #397B39
tetradic
#39397B #7B395A #7B7B39 #397B5A
square
#39397B #7B395A #7B7B39 #397B5A
split-complementary
#39397B #7B5A39 #5A7B39
monochromatic
#121227 #262651 #39397B #4C4CA5 #7171BD

Accessibility & contrast

On white

10.27
#39397B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#39397B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39397B
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39397B#FFFFFF#000000##FFFFFF
##39397B1.0010.272.0510.27
#FFFFFF10.271.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17437D
Deuteranopia (green-blind)
#103E7A
Tritanopia (blue-blind)
#1E4854
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #39397b;
/* rgb */ color: rgb(57, 57, 123);
/* oklch */ color: oklch(38.2% 0.109 279.9);
Tailwind
colors: {
  custom: {
    50: '#756fa2',
    500: '#39397b',
    950: '#000000',
  },
}
SCSS
$custom: #39397b;
$custom-light: #756fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#39397b",
  "rgb": {
    "r": 57,
    "g": 57,
    "b": 123
  },
  "hsl": {
    "h": 240,
    "s": 36.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.38173,
    "c": 0.10933,
    "h": 279.9
  },
  "luminance": 0.05226
}

Semantic roles & 50–950 ramp

primary
#39397B
secondary
#A6A669
accent
#CD5BCD
background
#F7F6FA
surface
#EDECF3
border
#C8C7CD
text
#09070F
muted
#7B7A7F

Preview Lab

Preview with #39397B

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

Preview Lab → · Contrast checker → · Palette generator →

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