#39398E#39398E

#39398E is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.7% C 0.137 H 278.1°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#39398E
RGBrgb(57, 57, 142)
HSLhsl(240, 43%, 39%)
HSVhsv(240, 60%, 56%)
CMYKcmyk(59.9%, 59.9%, 0%, 44.3%)
CIE-LABlab(28.77, 26.44, -47.32)
CIE-LCHlch(28.77, 54.21, 299.19°)
OKLaboklab(39.66% 0.0194 -0.1359)
OKLCHoklch(39.66% 0.137 278.1)
XYZxyz(8.0314, 5.7485, 26.2723)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39398E #8E8E39
analogous
#39648E #39398E #64398E
triadic
#39398E #8E3939 #398E39
tetradic
#39398E #8E3964 #8E8E39 #398E64
square
#39398E #8E3964 #8E8E39 #398E64
split-complementary
#39398E #8E6439 #648E39
monochromatic
#161637 #272762 #39398E #4D4DB7 #7878C9

Accessibility & contrast

On white

9.77
#39398E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#39398E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39398E
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39398E#FFFFFF#000000##FFFFFF
##39398E1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004791
Deuteranopia (green-blind)
#00408C
Tritanopia (blue-blind)
#004D5D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #39398e;
/* rgb */ color: rgb(57, 57, 142);
/* oklch */ color: oklch(39.7% 0.137 278.1);
Tailwind
colors: {
  custom: {
    50: '#786fb0',
    500: '#39398e',
    950: '#000000',
  },
}
SCSS
$custom: #39398e;
$custom-light: #786fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#39398e",
  "rgb": {
    "r": 57,
    "g": 57,
    "b": 142
  },
  "hsl": {
    "h": 240,
    "s": 42.714,
    "l": 39.02
  },
  "oklch": {
    "l": 0.39662,
    "c": 0.13725,
    "h": 278.1
  },
  "luminance": 0.05749
}

Semantic roles & 50–950 ramp

primary
#39398E
secondary
#B2B271
accent
#D255D2
background
#F7F6FA
surface
#EEECF5
border
#C9C7CF
text
#0A0710
muted
#7C7A7F

Preview Lab

Preview with #39398E

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

Preview Lab → · Contrast checker → · Palette generator →

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