#392A8A#392A8A

#392A8A is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.7% C 0.151 H 283.1°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#392A8A
RGBrgb(57, 42, 138)
HSLhsl(249, 53%, 35%)
HSVhsv(249, 70%, 54%)
CMYKcmyk(58.7%, 69.6%, 0%, 45.9%)
CIE-LABlab(24.83, 34.60, -51.26)
CIE-LCHlch(24.83, 61.85, 304.02°)
OKLaboklab(36.68% 0.0344 -0.1475)
OKLCHoklch(36.68% 0.151 283.1)
XYZxyz(7.1013, 4.3603, 24.5073)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392A8A #7B8A2A
analogous
#2A4B8A #392A8A #692A8A
triadic
#392A8A #8A392A #2A8A39
tetradic
#392A8A #8A2A4B #7B8A2A #2A8A69
square
#392A8A #8A2A4B #7B8A2A #2A8A69
split-complementary
#392A8A #8A692A #4B8A2A
monochromatic
#120D2C #261C5B #392A8A #4C38B9 #7160CF

Accessibility & contrast

On white

11.22
#392A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#392A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392A8A
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392A8A#FFFFFF#000000##FFFFFF
##392A8A1.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8D
Deuteranopia (green-blind)
#003888
Tritanopia (blue-blind)
#0D4356
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #392a8a;
/* rgb */ color: rgb(57, 42, 138);
/* oklch */ color: oklch(36.7% 0.151 283.1);
Tailwind
colors: {
  custom: {
    50: '#7965ad',
    500: '#392a8a',
    950: '#000000',
  },
}
SCSS
$custom: #392a8a;
$custom-light: #7965ad;
$custom-dark: #000000;
JSON
{
  "hex": "#392a8a",
  "rgb": {
    "r": 57,
    "g": 42,
    "b": 138
  },
  "hsl": {
    "h": 249.375,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.3668,
    "c": 0.15146,
    "h": 283.1
  },
  "luminance": 0.04361
}

Semantic roles & 50–950 ramp

primary
#392A8A
secondary
#A6B45B
accent
#DD4BC6
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0510
muted
#7C7A7F

Preview Lab

Preview with #392A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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