#392D78#392D78

#392D78 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.6% C 0.123 H 285.7°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#392D78
RGBrgb(57, 45, 120)
HSLhsl(250, 45%, 32%)
HSVhsv(250, 63%, 47%)
CMYKcmyk(52.5%, 62.5%, 0%, 52.9%)
CIE-LABlab(24.01, 26.81, -41.27)
CIE-LCHlch(24.01, 49.22, 303.00°)
OKLaboklab(35.61% 0.0331 -0.1181)
OKLCHoklch(35.61% 0.123 285.7)
XYZxyz(6.0149, 4.1024, 18.2406)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392D78 #6C782D
analogous
#2D4778 #392D78 #5F2D78
triadic
#392D78 #78392D #2D7839
tetradic
#392D78 #782D47 #6C782D #2D785F
square
#392D78 #782D47 #6C782D #2D785F
split-complementary
#392D78 #785F2D #47782D
monochromatic
#0F0C1F #241C4B #392D78 #4E3EA5 #6D5DC2

Accessibility & contrast

On white

11.53
#392D78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#392D78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392D78
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392D78#FFFFFF#000000##FFFFFF
##392D781.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7A
Deuteranopia (green-blind)
#003776
Tritanopia (blue-blind)
#223F4E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #392d78;
/* rgb */ color: rgb(57, 45, 120);
/* oklch */ color: oklch(35.6% 0.123 285.7);
Tailwind
colors: {
  custom: {
    50: '#7566a0',
    500: '#392d78',
    950: '#000000',
  },
}
SCSS
$custom: #392d78;
$custom-light: #7566a0;
$custom-dark: #000000;
JSON
{
  "hex": "#392d78",
  "rgb": {
    "r": 57,
    "g": 45,
    "b": 120
  },
  "hsl": {
    "h": 249.6,
    "s": 45.455,
    "l": 32.353
  },
  "oklch": {
    "l": 0.35607,
    "c": 0.1227,
    "h": 285.7
  },
  "luminance": 0.04103
}

Semantic roles & 50–950 ramp

primary
#392D78
secondary
#9CA958
accent
#D553C0
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#09060F
muted
#7B7A7E

Preview Lab

Preview with #392D78

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

Preview Lab → · Contrast checker → · Palette generator →

#392D78 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva