#39389C#39389C

#39389C is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.7% C 0.158 H 277.2°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#39389C
RGBrgb(57, 56, 156)
HSLhsl(241, 47%, 42%)
HSVhsv(241, 64%, 61%)
CMYKcmyk(63.5%, 64.1%, 0%, 38.8%)
CIE-LABlab(29.66, 31.94, -54.45)
CIE-LCHlch(29.66, 63.13, 300.39°)
OKLaboklab(40.67% 0.0198 -0.1568)
OKLCHoklch(40.67% 0.158 277.2)
XYZxyz(9.1003, 6.0978, 32.1435)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39389C #9B9C38
analogous
#38699C #39389C #6B389C
triadic
#39389C #9C3938 #389C39
tetradic
#39389C #9C3869 #9B9C38 #389C6B
square
#39389C #9C3869 #9B9C38 #389C6B
split-complementary
#39389C #9C6B38 #699C38
monochromatic
#181842 #29286F #39389C #5251C0 #7F7ED1

Accessibility & contrast

On white

9.46
#39389C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#39389C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39389C
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39389C#FFFFFF#000000##FFFFFF
##39389C1.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9F
Deuteranopia (green-blind)
#00429A
Tritanopia (blue-blind)
#005164
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #39389c;
/* rgb */ color: rgb(57, 56, 156);
/* oklch */ color: oklch(40.7% 0.158 277.2);
Tailwind
colors: {
  custom: {
    50: '#7b6fba',
    500: '#39389c',
    950: '#000000',
  },
}
SCSS
$custom: #39389c;
$custom-light: #7b6fba;
$custom-dark: #000000;
JSON
{
  "hex": "#39389c",
  "rgb": {
    "r": 57,
    "g": 56,
    "b": 156
  },
  "hsl": {
    "h": 240.6,
    "s": 47.17,
    "l": 41.569
  },
  "oklch": {
    "l": 0.40672,
    "c": 0.15806,
    "h": 277.2
  },
  "luminance": 0.06099
}

Semantic roles & 50–950 ramp

primary
#39389C
secondary
#B9BA76
accent
#D751D5
background
#F8F6FB
surface
#EFECF6
border
#CAC7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #39389C

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

Preview Lab → · Contrast checker → · Palette generator →

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