#393099#393099

#393099 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.0% C 0.164 H 279.5°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#393099
RGBrgb(57, 48, 153)
HSLhsl(245, 52%, 39%)
HSVhsv(245, 69%, 60%)
CMYKcmyk(62.7%, 68.6%, 0%, 40%)
CIE-LABlab(27.53, 35.91, -56.11)
CIE-LCHlch(27.53, 66.62, 302.62°)
OKLaboklab(39.04% 0.0269 -0.1617)
OKLCHoklch(39.04% 0.164 279.5)
XYZxyz(8.4922, 5.2830, 30.7030)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393099 #909930
analogous
#305C99 #393099 #6E3099
triadic
#393099 #993930 #309939
tetradic
#393099 #99305C #909930 #30996E
square
#393099 #99305C #909930 #30996E
split-complementary
#393099 #996E30 #5C9930
monochromatic
#16133C #28216A #393099 #4D42C4 #7971D2

Accessibility & contrast

On white

10.21
#393099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#393099 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393099
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393099#FFFFFF#000000##FFFFFF
##3930991.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459C
Deuteranopia (green-blind)
#003D97
Tritanopia (blue-blind)
#004C60
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #393099;
/* rgb */ color: rgb(57, 48, 153);
/* oklch */ color: oklch(39.0% 0.164 279.5);
Tailwind
colors: {
  custom: {
    50: '#7b69b8',
    500: '#393099',
    950: '#000000',
  },
}
SCSS
$custom: #393099;
$custom-light: #7b69b8;
$custom-dark: #000000;
JSON
{
  "hex": "#393099",
  "rgb": {
    "r": 57,
    "g": 48,
    "b": 153
  },
  "hsl": {
    "h": 245.143,
    "s": 52.239,
    "l": 39.412
  },
  "oklch": {
    "l": 0.39042,
    "c": 0.16393,
    "h": 279.5
  },
  "luminance": 0.05284
}

Semantic roles & 50–950 ramp

primary
#393099
secondary
#B3BA6B
accent
#DC4CCF
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #393099

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

Preview Lab → · Contrast checker → · Palette generator →

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