#393097#393097

#393097 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.9% C 0.161 H 279.7°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#393097
RGBrgb(57, 48, 151)
HSLhsl(245, 52%, 39%)
HSVhsv(245, 68%, 59%)
CMYKcmyk(62.3%, 68.2%, 0%, 40.8%)
CIE-LABlab(27.35, 35.25, -55.18)
CIE-LCHlch(27.35, 65.47, 302.57°)
OKLaboklab(38.86% 0.0272 -0.159)
OKLCHoklch(38.86% 0.161 279.7)
XYZxyz(8.3284, 5.2175, 29.8404)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393097 #8E9730
analogous
#305B97 #393097 #6D3097
triadic
#393097 #973930 #309739
tetradic
#393097 #97305B #8E9730 #30976D
square
#393097 #97305B #8E9730 #30976D
split-complementary
#393097 #976D30 #5B9730
monochromatic
#16123A #272169 #393097 #4D41C3 #7870D2

Accessibility & contrast

On white

10.28
#393097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#393097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393097
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393097#FFFFFF#000000##FFFFFF
##3930971.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449A
Deuteranopia (green-blind)
#003D95
Tritanopia (blue-blind)
#004B5F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #393097;
/* rgb */ color: rgb(57, 48, 151);
/* oklch */ color: oklch(38.9% 0.161 279.7);
Tailwind
colors: {
  custom: {
    50: '#7b69b7',
    500: '#393097',
    950: '#000000',
  },
}
SCSS
$custom: #393097;
$custom-light: #7b69b7;
$custom-dark: #000000;
JSON
{
  "hex": "#393097",
  "rgb": {
    "r": 57,
    "g": 48,
    "b": 151
  },
  "hsl": {
    "h": 245.243,
    "s": 51.759,
    "l": 39.02
  },
  "oklch": {
    "l": 0.38856,
    "c": 0.16129,
    "h": 279.7
  },
  "luminance": 0.05218
}

Semantic roles & 50–950 ramp

primary
#393097
secondary
#B2B96A
accent
#DB4DCF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #393097

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

Preview Lab → · Contrast checker → · Palette generator →

#393097 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva