#393280#393280

#393280 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.2% C 0.127 H 282.3°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#393280
RGBrgb(57, 50, 128)
HSLhsl(245, 44%, 35%)
HSVhsv(245, 61%, 50%)
CMYKcmyk(55.5%, 60.9%, 0%, 49.8%)
CIE-LABlab(25.89, 26.22, -43.28)
CIE-LCHlch(25.89, 50.60, 301.21°)
OKLaboklab(37.19% 0.0271 -0.124)
OKLCHoklch(37.19% 0.127 282.3)
XYZxyz(6.7230, 4.7092, 20.9726)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393280 #798032
analogous
#325280 #393280 #603280
triadic
#393280 #803932 #328039
tetradic
#393280 #803252 #798032 #328060
square
#393280 #803252 #798032 #328060
split-complementary
#393280 #806032 #528032
monochromatic
#121028 #252154 #393280 #4D43AC #7168C4

Accessibility & contrast

On white

10.81
#393280 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#393280 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393280
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393280#FFFFFF#000000##FFFFFF
##3932801.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004083
Deuteranopia (green-blind)
#003B7E
Tritanopia (blue-blind)
#1A4454
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #393280;
/* rgb */ color: rgb(57, 50, 128);
/* oklch */ color: oklch(37.2% 0.127 282.3);
Tailwind
colors: {
  custom: {
    50: '#766aa5',
    500: '#393280',
    950: '#000000',
  },
}
SCSS
$custom: #393280;
$custom-light: #766aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#393280",
  "rgb": {
    "r": 57,
    "g": 50,
    "b": 128
  },
  "hsl": {
    "h": 245.385,
    "s": 43.82,
    "l": 34.902
  },
  "oklch": {
    "l": 0.3719,
    "c": 0.12696,
    "h": 282.3
  },
  "luminance": 0.0471
}

Semantic roles & 50–950 ramp

primary
#393280
secondary
#A5AC62
accent
#D454C8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#09060F
muted
#7B7A7F

Preview Lab

Preview with #393280

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

Preview Lab → · Contrast checker → · Palette generator →

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