#393095#393095

#393095 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.7% C 0.159 H 280.0°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#393095
RGBrgb(57, 48, 149)
HSLhsl(245, 51%, 39%)
HSVhsv(245, 68%, 58%)
CMYKcmyk(61.7%, 67.8%, 0%, 41.6%)
CIE-LABlab(27.17, 34.58, -54.24)
CIE-LCHlch(27.17, 64.33, 302.52°)
OKLaboklab(38.67% 0.0275 -0.1562)
OKLCHoklch(38.67% 0.159 280)
XYZxyz(8.1674, 5.1531, 28.9922)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393095 #8C9530
analogous
#305995 #393095 #6B3095
triadic
#393095 #953930 #309539
tetradic
#393095 #953059 #8C9530 #30956B
square
#393095 #953059 #8C9530 #30956B
split-complementary
#393095 #956B30 #599530
monochromatic
#161238 #272167 #393095 #4C41C2 #786FD1

Accessibility & contrast

On white

10.34
#393095 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#393095 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393095
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393095#FFFFFF#000000##FFFFFF
##3930951.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004498
Deuteranopia (green-blind)
#003C93
Tritanopia (blue-blind)
#004A5E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #393095;
/* rgb */ color: rgb(57, 48, 149);
/* oklch */ color: oklch(38.7% 0.159 280.0);
Tailwind
colors: {
  custom: {
    50: '#7a69b5',
    500: '#393095',
    950: '#000000',
  },
}
SCSS
$custom: #393095;
$custom-light: #7a69b5;
$custom-dark: #000000;
JSON
{
  "hex": "#393095",
  "rgb": {
    "r": 57,
    "g": 48,
    "b": 149
  },
  "hsl": {
    "h": 245.347,
    "s": 51.269,
    "l": 38.627
  },
  "oklch": {
    "l": 0.38671,
    "c": 0.15863,
    "h": 280
  },
  "luminance": 0.05154
}

Semantic roles & 50–950 ramp

primary
#393095
secondary
#B1B869
accent
#DB4DCE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #393095

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

Preview Lab → · Contrast checker → · Palette generator →

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