#393088#393088

#393088 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.5% C 0.141 H 281.8°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#393088
RGBrgb(57, 48, 136)
HSLhsl(246, 48%, 36%)
HSVhsv(246, 65%, 53%)
CMYKcmyk(58.1%, 64.7%, 0%, 46.7%)
CIE-LABlab(26.04, 30.21, -48.04)
CIE-LCHlch(26.04, 56.75, 302.17°)
OKLaboklab(37.51% 0.0288 -0.138)
OKLCHoklch(37.51% 0.141 281.8)
XYZxyz(7.1869, 4.7609, 23.8280)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393088 #7F8830
analogous
#305388 #393088 #653088
triadic
#393088 #883930 #308839
tetradic
#393088 #883053 #7F8830 #308865
square
#393088 #883053 #7F8830 #308865
split-complementary
#393088 #886530 #538830
monochromatic
#13102E #26205B #393088 #4C40B5 #7269CA

Accessibility & contrast

On white

10.76
#393088 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#393088 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393088
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393088#FFFFFF#000000##FFFFFF
##3930881.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418B
Deuteranopia (green-blind)
#003A86
Tritanopia (blue-blind)
#104657
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #393088;
/* rgb */ color: rgb(57, 48, 136);
/* oklch */ color: oklch(37.5% 0.141 281.8);
Tailwind
colors: {
  custom: {
    50: '#7869ab',
    500: '#393088',
    950: '#000000',
  },
}
SCSS
$custom: #393088;
$custom-light: #7869ab;
$custom-dark: #000000;
JSON
{
  "hex": "#393088",
  "rgb": {
    "r": 57,
    "g": 48,
    "b": 136
  },
  "hsl": {
    "h": 246.136,
    "s": 47.826,
    "l": 36.078
  },
  "oklch": {
    "l": 0.37506,
    "c": 0.141,
    "h": 281.8
  },
  "luminance": 0.04761
}

Semantic roles & 50–950 ramp

primary
#393088
secondary
#A9B163
accent
#D750CA
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #393088

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

Preview Lab → · Contrast checker → · Palette generator →

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