#392E98#392E98

#392E98 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.6% C 0.165 H 280.0°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#392E98
RGBrgb(57, 46, 152)
HSLhsl(246, 54%, 39%)
HSVhsv(246, 70%, 60%)
CMYKcmyk(62.5%, 69.7%, 0%, 40.4%)
CIE-LABlab(26.99, 36.79, -56.37)
CIE-LCHlch(26.99, 67.32, 303.13°)
OKLaboklab(38.63% 0.0287 -0.1625)
OKLCHoklch(38.63% 0.165 280)
XYZxyz(8.3300, 5.0902, 30.2432)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392E98 #8D982E
analogous
#2E5898 #392E98 #6E2E98
triadic
#392E98 #98392E #2E9839
tetradic
#392E98 #982E58 #8D982E #2E986E
square
#392E98 #982E58 #8D982E #2E986E
split-complementary
#392E98 #986E2E #58982E
monochromatic
#16123A #272069 #392E98 #4C3EC5 #786DD3

Accessibility & contrast

On white

10.41
#392E98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#392E98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392E98
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392E98#FFFFFF#000000##FFFFFF
##392E981.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449B
Deuteranopia (green-blind)
#003C96
Tritanopia (blue-blind)
#004A5F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #392e98;
/* rgb */ color: rgb(57, 46, 152);
/* oklch */ color: oklch(38.6% 0.165 280.0);
Tailwind
colors: {
  custom: {
    50: '#7b68b7',
    500: '#392e98',
    950: '#000000',
  },
}
SCSS
$custom: #392e98;
$custom-light: #7b68b7;
$custom-dark: #000000;
JSON
{
  "hex": "#392e98",
  "rgb": {
    "r": 57,
    "g": 46,
    "b": 152
  },
  "hsl": {
    "h": 246.226,
    "s": 53.535,
    "l": 38.824
  },
  "oklch": {
    "l": 0.38628,
    "c": 0.165,
    "h": 280
  },
  "luminance": 0.05091
}

Semantic roles & 50–950 ramp

primary
#392E98
secondary
#B2BA68
accent
#DD4BCE
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #392E98

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

Preview Lab → · Contrast checker → · Palette generator →

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