#39398F#39398F

#39398F is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.7% C 0.139 H 278.0°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#39398F
RGBrgb(57, 57, 143)
HSLhsl(240, 43%, 39%)
HSVhsv(240, 60%, 56%)
CMYKcmyk(60.1%, 60.1%, 0%, 43.9%)
CIE-LABlab(28.85, 26.79, -47.81)
CIE-LCHlch(28.85, 54.81, 299.26°)
OKLaboklab(39.74% 0.0194 -0.1373)
OKLCHoklch(39.74% 0.139 278)
XYZxyz(8.1068, 5.7787, 26.6695)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39398F #8F8F39
analogous
#39648F #39398F #64398F
triadic
#39398F #8F3939 #398F39
tetradic
#39398F #8F3964 #8F8F39 #398F64
square
#39398F #8F3964 #8F8F39 #398F64
split-complementary
#39398F #8F6439 #648F39
monochromatic
#161637 #282863 #39398F #4D4DB8 #7979CA

Accessibility & contrast

On white

9.74
#39398F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#39398F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39398F
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39398F#FFFFFF#000000##FFFFFF
##39398F1.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004892
Deuteranopia (green-blind)
#00408D
Tritanopia (blue-blind)
#004E5E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #39398f;
/* rgb */ color: rgb(57, 57, 143);
/* oklch */ color: oklch(39.7% 0.139 278.0);
Tailwind
colors: {
  custom: {
    50: '#786fb0',
    500: '#39398f',
    950: '#000000',
  },
}
SCSS
$custom: #39398f;
$custom-light: #786fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#39398f",
  "rgb": {
    "r": 57,
    "g": 57,
    "b": 143
  },
  "hsl": {
    "h": 240,
    "s": 43,
    "l": 39.216
  },
  "oklch": {
    "l": 0.39744,
    "c": 0.13867,
    "h": 278
  },
  "luminance": 0.05779
}

Semantic roles & 50–950 ramp

primary
#39398F
secondary
#B3B371
accent
#D355D3
background
#F7F6FA
surface
#EEECF5
border
#C9C7CF
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #39398F

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

Preview Lab → · Contrast checker → · Palette generator →

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