#393285#393285

#393285 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.6% C 0.134 H 281.6°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#393285
RGBrgb(57, 50, 133)
HSLhsl(245, 45%, 36%)
HSVhsv(245, 62%, 52%)
CMYKcmyk(57.1%, 62.4%, 0%, 47.8%)
CIE-LABlab(26.29, 27.92, -45.77)
CIE-LCHlch(26.29, 53.61, 301.38°)
OKLaboklab(37.61% 0.027 -0.1313)
OKLCHoklch(37.61% 0.134 281.6)
XYZxyz(7.0603, 4.8441, 22.7487)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393285 #7E8532
analogous
#325485 #393285 #623285
triadic
#393285 #853932 #328539
tetradic
#393285 #853254 #7E8532 #328562
square
#393285 #853254 #7E8532 #328562
split-complementary
#393285 #856232 #548532
monochromatic
#13112C #262159 #393285 #4C43B1 #726AC7

Accessibility & contrast

On white

10.67
#393285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#393285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393285
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393285#FFFFFF#000000##FFFFFF
##3932851.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004188
Deuteranopia (green-blind)
#003B83
Tritanopia (blue-blind)
#144656
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #393285;
/* rgb */ color: rgb(57, 50, 133);
/* oklch */ color: oklch(37.6% 0.134 281.6);
Tailwind
colors: {
  custom: {
    50: '#776aa9',
    500: '#393285',
    950: '#000000',
  },
}
SCSS
$custom: #393285;
$custom-light: #776aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#393285",
  "rgb": {
    "r": 57,
    "g": 50,
    "b": 133
  },
  "hsl": {
    "h": 245.06,
    "s": 45.355,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37607,
    "c": 0.13409,
    "h": 281.6
  },
  "luminance": 0.04845
}

Semantic roles & 50–950 ramp

primary
#393285
secondary
#A8AF64
accent
#D553CA
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #393285

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

Preview Lab → · Contrast checker → · Palette generator →

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