#392FB1#392FB1

#392FB1 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 41.2% C 0.196 H 276.9°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#392FB1
RGBrgb(57, 47, 177)
HSLhsl(245, 58%, 44%)
HSVhsv(245, 73%, 69%)
CMYKcmyk(67.8%, 73.4%, 0%, 30.6%)
CIE-LABlab(29.60, 44.38, -67.19)
CIE-LCHlch(29.60, 80.53, 303.45°)
OKLaboklab(41.23% 0.0235 -0.1941)
OKLCHoklch(41.23% 0.196 276.9)
XYZxyz(10.6371, 6.0763, 42.1987)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392FB1 #A7B12F
analogous
#2F66B1 #392FB1 #7A2FB1
triadic
#392FB1 #B1392F #2FB139
tetradic
#392FB1 #B12F66 #A7B12F #2FB17A
square
#392FB1 #B12F66 #A7B12F #2FB17A
split-complementary
#392FB1 #B17A2F #66B12F
monochromatic
#1A1550 #292281 #392FB1 #574DD0 #857EDD

Accessibility & contrast

On white

9.48
#392FB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#392FB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392FB1
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392FB1#FFFFFF#000000##FFFFFF
##392FB11.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB5
Deuteranopia (green-blind)
#0040AF
Tritanopia (blue-blind)
#00546D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #392fb1;
/* rgb */ color: rgb(57, 47, 177);
/* oklch */ color: oklch(41.2% 0.196 276.9);
Tailwind
colors: {
  custom: {
    50: '#8069ca',
    500: '#392fb1',
    950: '#000000',
  },
}
SCSS
$custom: #392fb1;
$custom-light: #8069ca;
$custom-dark: #000000;
JSON
{
  "hex": "#392fb1",
  "rgb": {
    "r": 57,
    "g": 47,
    "b": 177
  },
  "hsl": {
    "h": 244.615,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.41225,
    "c": 0.19553,
    "h": 276.9
  },
  "luminance": 0.06077
}

Semantic roles & 50–950 ramp

primary
#392FB1
secondary
#BFC576
accent
#E147D5
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #392FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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