#393166#393166

#393166 is a dark, moderate blue. Relative luminance 0.040; OKLCH L 35.0% C 0.090 H 287.8°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#393166
RGBrgb(57, 49, 102)
HSLhsl(249, 35%, 30%)
HSVhsv(249, 52%, 40%)
CMYKcmyk(44.1%, 52%, 0%, 60%)
CIE-LABlab(23.76, 18.25, -30.12)
CIE-LCHlch(23.76, 35.21, 301.21°)
OKLaboklab(35.01% 0.0274 -0.0853)
OKLCHoklch(35.01% 0.09 287.8)
XYZxyz(5.1833, 4.0256, 13.0717)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393166 #5E6631
analogous
#314466 #393166 #543166
triadic
#393166 #663931 #316639
tetradic
#393166 #663144 #5E6631 #316654
square
#393166 #663144 #5E6631 #316654
split-complementary
#393166 #665431 #446631
monochromatic
#0C0A15 #221D3D #393166 #50458F #6C5FB2

Accessibility & contrast

On white

11.63
#393166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#393166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393166
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393166#FFFFFF#000000##FFFFFF
##3931661.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3A68
Deuteranopia (green-blind)
#1B3765
Tritanopia (blue-blind)
#2C3C46
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #393166;
/* rgb */ color: rgb(57, 49, 102);
/* oklch */ color: oklch(35.0% 0.090 287.8);
Tailwind
colors: {
  custom: {
    50: '#726992',
    500: '#393166',
    950: '#000000',
  },
}
SCSS
$custom: #393166;
$custom-light: #726992;
$custom-dark: #000000;
JSON
{
  "hex": "#393166",
  "rgb": {
    "r": 57,
    "g": 49,
    "b": 102
  },
  "hsl": {
    "h": 249.057,
    "s": 35.099,
    "l": 29.608
  },
  "oklch": {
    "l": 0.35006,
    "c": 0.08963,
    "h": 287.8
  },
  "luminance": 0.04026
}

Semantic roles & 50–950 ramp

primary
#393166
secondary
#8E975C
accent
#CB5DBA
background
#F7F6F9
surface
#EDEBF1
border
#C8C6CB
text
#08060D
muted
#7B7A7E

Preview Lab

Preview with #393166

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

Preview Lab → · Contrast checker → · Palette generator →

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