#392894#392894

#392894 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.3% C 0.167 H 281.8°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#392894
RGBrgb(57, 40, 148)
HSLhsl(249, 57%, 37%)
HSVhsv(249, 73%, 58%)
CMYKcmyk(61.5%, 73%, 0%, 42%)
CIE-LABlab(25.34, 39.01, -56.63)
CIE-LCHlch(25.34, 68.77, 304.56°)
OKLaboklab(37.33% 0.0342 -0.1632)
OKLCHoklch(37.33% 0.167 281.8)
XYZxyz(7.7898, 4.5250, 28.4742)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392894 #839428
analogous
#284D94 #392894 #6F2894
triadic
#392894 #943928 #289439
tetradic
#392894 #94284D #839428 #28946F
square
#392894 #94284D #839428 #28946F
split-complementary
#392894 #946F28 #4D9428
monochromatic
#140E34 #261B64 #392894 #4C35C4 #7462D5

Accessibility & contrast

On white

11.02
#392894 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#392894 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392894
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392894#FFFFFF#000000##FFFFFF
##3928941.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004097
Deuteranopia (green-blind)
#003892
Tritanopia (blue-blind)
#00455B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #392894;
/* rgb */ color: rgb(57, 40, 148);
/* oklch */ color: oklch(37.3% 0.167 281.8);
Tailwind
colors: {
  custom: {
    50: '#7b64b4',
    500: '#392894',
    950: '#000000',
  },
}
SCSS
$custom: #392894;
$custom-light: #7b64b4;
$custom-dark: #000000;
JSON
{
  "hex": "#392894",
  "rgb": {
    "r": 57,
    "g": 40,
    "b": 148
  },
  "hsl": {
    "h": 249.444,
    "s": 57.447,
    "l": 36.863
  },
  "oklch": {
    "l": 0.3733,
    "c": 0.16677,
    "h": 281.8
  },
  "luminance": 0.04526
}

Semantic roles & 50–950 ramp

primary
#392894
secondary
#ACBA5E
accent
#E147C9
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0511
muted
#7C7A80

Preview Lab

Preview with #392894

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

Preview Lab → · Contrast checker → · Palette generator →

#392894 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva