#392F9D#392F9D

#392F9D is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.3% C 0.170 H 279.2°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#392F9D
RGBrgb(57, 47, 157)
HSLhsl(245, 54%, 40%)
HSVhsv(245, 70%, 62%)
CMYKcmyk(63.7%, 70.1%, 0%, 38.4%)
CIE-LABlab(27.67, 37.85, -58.31)
CIE-LCHlch(27.67, 69.51, 302.99°)
OKLaboklab(39.26% 0.0271 -0.1681)
OKLCHoklch(39.26% 0.17 279.2)
XYZxyz(8.7877, 5.3365, 32.4587)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392F9D #939D2F
analogous
#2F5C9D #392F9D #702F9D
triadic
#392F9D #9D392F #2F9D39
tetradic
#392F9D #9D2F5C #939D2F #2F9D70
square
#392F9D #9D2F5C #939D2F #2F9D70
split-complementary
#392F9D #9D702F #5C9D2F
monochromatic
#17133F #28216E #392F9D #4F43C7 #7B72D5

Accessibility & contrast

On white

10.16
#392F9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#392F9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392F9D
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392F9D#FFFFFF#000000##FFFFFF
##392F9D1.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A0
Deuteranopia (green-blind)
#003D9B
Tritanopia (blue-blind)
#004C62
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #392f9d;
/* rgb */ color: rgb(57, 47, 157);
/* oklch */ color: oklch(39.3% 0.170 279.2);
Tailwind
colors: {
  custom: {
    50: '#7c69bb',
    500: '#392f9d',
    950: '#000000',
  },
}
SCSS
$custom: #392f9d;
$custom-light: #7c69bb;
$custom-dark: #000000;
JSON
{
  "hex": "#392f9d",
  "rgb": {
    "r": 57,
    "g": 47,
    "b": 157
  },
  "hsl": {
    "h": 245.455,
    "s": 53.922,
    "l": 40
  },
  "oklch": {
    "l": 0.3926,
    "c": 0.17032,
    "h": 279.2
  },
  "luminance": 0.05337
}

Semantic roles & 50–950 ramp

primary
#392F9D
secondary
#B5BC6B
accent
#DD4BD0
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #392F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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