#392FAB#392FAB

#392FAB is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.6% C 0.188 H 277.5°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#392FAB
RGBrgb(57, 47, 171)
HSLhsl(245, 57%, 43%)
HSVhsv(245, 73%, 67%)
CMYKcmyk(66.7%, 72.5%, 0%, 32.9%)
CIE-LABlab(29.01, 42.44, -64.57)
CIE-LCHlch(29.01, 77.27, 303.31°)
OKLaboklab(40.62% 0.0247 -0.1865)
OKLCHoklch(40.62% 0.188 277.5)
XYZxyz(10.0522, 5.8423, 39.1181)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392FAB #A1AB2F
analogous
#2F63AB #392FAB #772FAB
triadic
#392FAB #AB392F #2FAB39
tetradic
#392FAB #AB2F63 #A1AB2F #2FAB77
square
#392FAB #AB2F63 #A1AB2F #2FAB77
split-complementary
#392FAB #AB772F #63AB2F
monochromatic
#19154B #29227B #392FAB #554ACD #827ADA

Accessibility & contrast

On white

9.68
#392FAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#392FAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392FAB
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392FAB#FFFFFF#000000##FFFFFF
##392FAB1.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AF
Deuteranopia (green-blind)
#003FA9
Tritanopia (blue-blind)
#00526A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #392fab;
/* rgb */ color: rgb(57, 47, 171);
/* oklch */ color: oklch(40.6% 0.188 277.5);
Tailwind
colors: {
  custom: {
    50: '#7f69c5',
    500: '#392fab',
    950: '#000000',
  },
}
SCSS
$custom: #392fab;
$custom-light: #7f69c5;
$custom-dark: #000000;
JSON
{
  "hex": "#392fab",
  "rgb": {
    "r": 57,
    "g": 47,
    "b": 171
  },
  "hsl": {
    "h": 244.839,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.40624,
    "c": 0.1881,
    "h": 277.5
  },
  "luminance": 0.05843
}

Semantic roles & 50–950 ramp

primary
#392FAB
secondary
#BCC373
accent
#E048D4
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #392FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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