#392898#392898

#392898 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.7% C 0.172 H 281.2°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#392898
RGBrgb(57, 40, 152)
HSLhsl(249, 58%, 38%)
HSVhsv(249, 74%, 60%)
CMYKcmyk(62.5%, 73.7%, 0%, 40.4%)
CIE-LABlab(25.73, 40.29, -58.45)
CIE-LCHlch(25.73, 70.99, 304.58°)
OKLaboklab(37.72% 0.0334 -0.1685)
OKLCHoklch(37.72% 0.172 281.2)
XYZxyz(8.1118, 4.6539, 30.1705)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392898 #879828
analogous
#284F98 #392898 #712898
triadic
#392898 #983928 #289839
tetradic
#392898 #98284F #879828 #289871
square
#392898 #98284F #879828 #289871
split-complementary
#392898 #987128 #4F9828
monochromatic
#150F37 #271B68 #392898 #4B35C8 #7564D6

Accessibility & contrast

On white

10.88
#392898 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#392898 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392898
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392898#FFFFFF#000000##FFFFFF
##3928981.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419B
Deuteranopia (green-blind)
#003996
Tritanopia (blue-blind)
#00475D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #392898;
/* rgb */ color: rgb(57, 40, 152);
/* oklch */ color: oklch(37.7% 0.172 281.2);
Tailwind
colors: {
  custom: {
    50: '#7b64b7',
    500: '#392898',
    950: '#000000',
  },
}
SCSS
$custom: #392898;
$custom-light: #7b64b7;
$custom-dark: #000000;
JSON
{
  "hex": "#392898",
  "rgb": {
    "r": 57,
    "g": 40,
    "b": 152
  },
  "hsl": {
    "h": 249.107,
    "s": 58.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.37724,
    "c": 0.17182,
    "h": 281.2
  },
  "luminance": 0.04654
}

Semantic roles & 50–950 ramp

primary
#392898
secondary
#AEBC60
accent
#E246CA
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #392898

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

Preview Lab → · Contrast checker → · Palette generator →

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