#393281#393281

#393281 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.3% C 0.128 H 282.2°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#393281
RGBrgb(57, 50, 129)
HSLhsl(245, 44%, 35%)
HSVhsv(245, 61%, 51%)
CMYKcmyk(55.8%, 61.2%, 0%, 49.4%)
CIE-LABlab(25.97, 26.56, -43.78)
CIE-LCHlch(25.97, 51.21, 301.25°)
OKLaboklab(37.27% 0.0271 -0.1255)
OKLCHoklch(37.27% 0.128 282.2)
XYZxyz(6.7892, 4.7356, 21.3209)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393281 #7A8132
analogous
#325381 #393281 #603281
triadic
#393281 #813932 #328139
tetradic
#393281 #813253 #7A8132 #328160
square
#393281 #813253 #7A8132 #328160
split-complementary
#393281 #816032 #538132
monochromatic
#121029 #262155 #393281 #4C43AD #7169C5

Accessibility & contrast

On white

10.78
#393281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #393281
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393281#FFFFFF#000000##FFFFFF
##3932811.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004084
Deuteranopia (green-blind)
#003B7F
Tritanopia (blue-blind)
#194554
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #393281;
/* rgb */ color: rgb(57, 50, 129);
/* oklch */ color: oklch(37.3% 0.128 282.2);
Tailwind
colors: {
  custom: {
    50: '#766aa6',
    500: '#393281',
    950: '#000000',
  },
}
SCSS
$custom: #393281;
$custom-light: #766aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#393281",
  "rgb": {
    "r": 57,
    "g": 50,
    "b": 129
  },
  "hsl": {
    "h": 245.316,
    "s": 44.134,
    "l": 35.098
  },
  "oklch": {
    "l": 0.37273,
    "c": 0.1284,
    "h": 282.2
  },
  "luminance": 0.04736
}

Semantic roles & 50–950 ramp

primary
#393281
secondary
#A6AC62
accent
#D454C9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#09060F
muted
#7B7A7F

Preview Lab

Preview with #393281

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

Preview Lab → · Contrast checker → · Palette generator →

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