#39398B#39398B

#39398B is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.4% C 0.133 H 278.4°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#39398B
RGBrgb(57, 57, 139)
HSLhsl(240, 42%, 38%)
HSVhsv(240, 59%, 55%)
CMYKcmyk(59%, 59%, 0%, 45.5%)
CIE-LABlab(28.54, 25.40, -45.85)
CIE-LCHlch(28.54, 52.41, 298.98°)
OKLaboklab(39.42% 0.0194 -0.1315)
OKLCHoklch(39.42% 0.133 278.4)
XYZxyz(7.8092, 5.6596, 25.1020)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39398B #8B8B39
analogous
#39628B #39398B #62398B
triadic
#39398B #8B3939 #398B39
tetradic
#39398B #8B3962 #8B8B39 #398B62
square
#39398B #8B3962 #8B8B39 #398B62
split-complementary
#39398B #8B6239 #628B39
monochromatic
#151534 #272760 #39398B #4C4CB5 #7777C7

Accessibility & contrast

On white

9.85
#39398B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#39398B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39398B
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39398B#FFFFFF#000000##FFFFFF
##39398B1.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478E
Deuteranopia (green-blind)
#004089
Tritanopia (blue-blind)
#074C5C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #39398b;
/* rgb */ color: rgb(57, 57, 139);
/* oklch */ color: oklch(39.4% 0.133 278.4);
Tailwind
colors: {
  custom: {
    50: '#786fad',
    500: '#39398b',
    950: '#000000',
  },
}
SCSS
$custom: #39398b;
$custom-light: #786fad;
$custom-dark: #000000;
JSON
{
  "hex": "#39398b",
  "rgb": {
    "r": 57,
    "g": 57,
    "b": 139
  },
  "hsl": {
    "h": 240,
    "s": 41.837,
    "l": 38.431
  },
  "oklch": {
    "l": 0.39417,
    "c": 0.13295,
    "h": 278.4
  },
  "luminance": 0.0566
}

Semantic roles & 50–950 ramp

primary
#39398B
secondary
#B0B06F
accent
#D256D2
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #39398B

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

Preview Lab → · Contrast checker → · Palette generator →

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