#393370#393370

#393370 is a dark, moderate blue. Relative luminance 0.044; OKLCH L 36.1% C 0.102 H 284.5°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#393370
RGBrgb(57, 51, 112)
HSLhsl(246, 37%, 32%)
HSVhsv(246, 54%, 44%)
CMYKcmyk(49.1%, 54.5%, 0%, 56.1%)
CIE-LABlab(24.97, 20.18, -34.61)
CIE-LCHlch(24.97, 40.06, 300.24°)
OKLaboklab(36.14% 0.0256 -0.0985)
OKLCHoklch(36.14% 0.102 284.5)
XYZxyz(5.7949, 4.4071, 15.8714)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393370 #6A7033
analogous
#334C70 #393370 #583370
triadic
#393370 #703933 #337039
tetradic
#393370 #70334C #6A7033 #337058
square
#393370 #70334C #6A7033 #337058
split-complementary
#393370 #705833 #4C7033
monochromatic
#0E0D1C #242046 #393370 #4E469A #6D65B9

Accessibility & contrast

On white

11.16
#393370 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#393370 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393370
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393370#FFFFFF#000000##FFFFFF
##3933701.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163D72
Deuteranopia (green-blind)
#13396F
Tritanopia (blue-blind)
#27404C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #393370;
/* rgb */ color: rgb(57, 51, 112);
/* oklch */ color: oklch(36.1% 0.102 284.5);
Tailwind
colors: {
  custom: {
    50: '#746a99',
    500: '#393370',
    950: '#000000',
  },
}
SCSS
$custom: #393370;
$custom-light: #746a99;
$custom-dark: #000000;
JSON
{
  "hex": "#393370",
  "rgb": {
    "r": 57,
    "g": 51,
    "b": 112
  },
  "hsl": {
    "h": 245.902,
    "s": 37.423,
    "l": 31.961
  },
  "oklch": {
    "l": 0.36135,
    "c": 0.10179,
    "h": 284.5
  },
  "luminance": 0.04407
}

Semantic roles & 50–950 ramp

primary
#393370
secondary
#9AA15E
accent
#CD5AC2
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08060E
muted
#7B7A7E

Preview Lab

Preview with #393370

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

Preview Lab → · Contrast checker → · Palette generator →

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