#393380#393380

#393380 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.4% C 0.126 H 282.0°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#393380
RGBrgb(57, 51, 128)
HSLhsl(245, 43%, 35%)
HSVhsv(245, 60%, 50%)
CMYKcmyk(55.5%, 60.2%, 0%, 49.8%)
CIE-LABlab(26.14, 25.57, -42.87)
CIE-LCHlch(26.14, 49.91, 300.81°)
OKLaboklab(37.38% 0.026 -0.1228)
OKLCHoklch(37.38% 0.126 282)
XYZxyz(6.7663, 4.7956, 20.9870)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393380 #7A8033
analogous
#335480 #393380 #5F3380
triadic
#393380 #803933 #338039
tetradic
#393380 #803354 #7A8033 #33805F
square
#393380 #803354 #7A8033 #33805F
split-complementary
#393380 #805F33 #548033
monochromatic
#121028 #262254 #393380 #4C44AC #716AC4

Accessibility & contrast

On white

10.72
#393380 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#393380 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393380
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393380#FFFFFF#000000##FFFFFF
##3933801.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004183
Deuteranopia (green-blind)
#003B7E
Tritanopia (blue-blind)
#1A4554
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #393380;
/* rgb */ color: rgb(57, 51, 128);
/* oklch */ color: oklch(37.4% 0.126 282.0);
Tailwind
colors: {
  custom: {
    50: '#766ba5',
    500: '#393380',
    950: '#000000',
  },
}
SCSS
$custom: #393380;
$custom-light: #766ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#393380",
  "rgb": {
    "r": 57,
    "g": 51,
    "b": 128
  },
  "hsl": {
    "h": 244.675,
    "s": 43.017,
    "l": 35.098
  },
  "oklch": {
    "l": 0.37378,
    "c": 0.12554,
    "h": 282
  },
  "luminance": 0.04796
}

Semantic roles & 50–950 ramp

primary
#393380
secondary
#A6AB63
accent
#D355C9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#09060F
muted
#7B7A7F

Preview Lab

Preview with #393380

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

Preview Lab → · Contrast checker → · Palette generator →

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