#393478#393478

#393478 is a dark, moderate blue. Relative luminance 0.047; OKLCH L 36.9% C 0.112 H 282.7°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#393478
RGBrgb(57, 52, 120)
HSLhsl(244, 40%, 34%)
HSVhsv(244, 57%, 47%)
CMYKcmyk(52.5%, 56.7%, 0%, 52.9%)
CIE-LABlab(25.81, 22.19, -38.36)
CIE-LCHlch(25.81, 44.32, 300.05°)
OKLaboklab(36.94% 0.0247 -0.1096)
OKLCHoklch(36.94% 0.112 282.7)
XYZxyz(6.3045, 4.6816, 18.3371)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393478 #737834
analogous
#345178 #393478 #5B3478
triadic
#393478 #783934 #347839
tetradic
#393478 #783451 #737834 #34785B
square
#393478 #783451 #737834 #34785B
split-complementary
#393478 #785B34 #517834
monochromatic
#100F23 #25214D #393478 #4D47A3 #6F69BE

Accessibility & contrast

On white

10.84
#393478 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #393478
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393478#FFFFFF#000000##FFFFFF
##3934781.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3F7A
Deuteranopia (green-blind)
#063B77
Tritanopia (blue-blind)
#214350
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #393478;
/* rgb */ color: rgb(57, 52, 120);
/* oklch */ color: oklch(36.9% 0.112 282.7);
Tailwind
colors: {
  custom: {
    50: '#756b9f',
    500: '#393478',
    950: '#000000',
  },
}
SCSS
$custom: #393478;
$custom-light: #756b9f;
$custom-dark: #000000;
JSON
{
  "hex": "#393478",
  "rgb": {
    "r": 57,
    "g": 52,
    "b": 120
  },
  "hsl": {
    "h": 244.412,
    "s": 39.535,
    "l": 33.725
  },
  "oklch": {
    "l": 0.36938,
    "c": 0.11232,
    "h": 282.7
  },
  "luminance": 0.04682
}

Semantic roles & 50–950 ramp

primary
#393478
secondary
#A1A662
accent
#CF58C7
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#09060E
muted
#7B7A7E

Preview Lab

Preview with #393478

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

Preview Lab → · Contrast checker → · Palette generator →

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