#39398C#39398C

#39398C is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.5% C 0.134 H 278.3°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#39398C
RGBrgb(57, 57, 140)
HSLhsl(240, 42%, 39%)
HSVhsv(240, 59%, 55%)
CMYKcmyk(59.3%, 59.3%, 0%, 45.1%)
CIE-LABlab(28.61, 25.74, -46.34)
CIE-LCHlch(28.61, 53.01, 299.05°)
OKLaboklab(39.5% 0.0194 -0.133)
OKLCHoklch(39.5% 0.134 278.3)
XYZxyz(7.8826, 5.6890, 25.4886)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39398C #8C8C39
analogous
#39628C #39398C #62398C
triadic
#39398C #8C3939 #398C39
tetradic
#39398C #8C3962 #8C8C39 #398C62
square
#39398C #8C3962 #8C8C39 #398C62
split-complementary
#39398C #8C6239 #628C39
monochromatic
#161635 #272761 #39398C #4C4CB6 #7878C8

Accessibility & contrast

On white

9.82
#39398C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#39398C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39398C
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39398C#FFFFFF#000000##FFFFFF
##39398C1.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478F
Deuteranopia (green-blind)
#00408A
Tritanopia (blue-blind)
#044D5C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #39398c;
/* rgb */ color: rgb(57, 57, 140);
/* oklch */ color: oklch(39.5% 0.134 278.3);
Tailwind
colors: {
  custom: {
    50: '#786fae',
    500: '#39398c',
    950: '#000000',
  },
}
SCSS
$custom: #39398c;
$custom-light: #786fae;
$custom-dark: #000000;
JSON
{
  "hex": "#39398c",
  "rgb": {
    "r": 57,
    "g": 57,
    "b": 140
  },
  "hsl": {
    "h": 240,
    "s": 42.132,
    "l": 38.627
  },
  "oklch": {
    "l": 0.39498,
    "c": 0.13439,
    "h": 278.3
  },
  "luminance": 0.0569
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #39398C

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

Preview Lab → · Contrast checker → · Palette generator →

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