#392EA8#392EA8

#392EA8 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.2% C 0.185 H 278.0°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#392EA8
RGBrgb(57, 46, 168)
HSLhsl(245, 57%, 42%)
HSVhsv(245, 73%, 66%)
CMYKcmyk(66.1%, 72.6%, 0%, 34.1%)
CIE-LABlab(28.51, 42.04, -63.59)
CIE-LCHlch(28.51, 76.23, 303.47°)
OKLaboklab(40.18% 0.0259 -0.1836)
OKLCHoklch(40.18% 0.185 278)
XYZxyz(9.7299, 5.6502, 37.6160)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392EA8 #9DA82E
analogous
#2E60A8 #392EA8 #762EA8
triadic
#392EA8 #A8392E #2EA839
tetradic
#392EA8 #A82E60 #9DA82E #2EA876
square
#392EA8 #A82E60 #9DA82E #2EA876
split-complementary
#392EA8 #A8762E #60A82E
monochromatic
#181448 #292178 #392EA8 #5347CD #8077DA

Accessibility & contrast

On white

9.86
#392EA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#392EA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392EA8
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392EA8#FFFFFF#000000##FFFFFF
##392EA81.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AC
Deuteranopia (green-blind)
#003EA6
Tritanopia (blue-blind)
#005068
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #392ea8;
/* rgb */ color: rgb(57, 46, 168);
/* oklch */ color: oklch(40.2% 0.185 278.0);
Tailwind
colors: {
  custom: {
    50: '#7e68c3',
    500: '#392ea8',
    950: '#000000',
  },
}
SCSS
$custom: #392ea8;
$custom-light: #7e68c3;
$custom-dark: #000000;
JSON
{
  "hex": "#392ea8",
  "rgb": {
    "r": 57,
    "g": 46,
    "b": 168
  },
  "hsl": {
    "h": 245.41,
    "s": 57.009,
    "l": 41.961
  },
  "oklch": {
    "l": 0.4018,
    "c": 0.18542,
    "h": 278
  },
  "luminance": 0.05651
}

Semantic roles & 50–950 ramp

primary
#392EA8
secondary
#BAC270
accent
#E048D2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #392EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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