#393DA2#393DA2

#393DA2 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.1% C 0.160 H 275.4°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#393DA2
RGBrgb(57, 61, 162)
HSLhsl(238, 48%, 43%)
HSVhsv(238, 65%, 64%)
CMYKcmyk(64.8%, 62.3%, 0%, 36.5%)
CIE-LABlab(31.38, 30.82, -55.27)
CIE-LCHlch(31.38, 63.29, 299.15°)
OKLaboklab(42.09% 0.015 -0.1592)
OKLCHoklch(42.09% 0.16 275.4)
XYZxyz(9.8755, 6.8152, 34.9704)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393DA2 #A29E39
analogous
#3972A2 #393DA2 #6939A2
triadic
#393DA2 #A2393D #3DA239
tetradic
#393DA2 #A23972 #A29E39 #39A269
square
#393DA2 #A23972 #A29E39 #39A269
split-complementary
#393DA2 #A26939 #72A239
monochromatic
#191B47 #292C75 #393DA2 #5559C3 #8285D3

Accessibility & contrast

On white

8.89
#393DA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#393DA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393DA2
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393DA2#FFFFFF#000000##FFFFFF
##393DA21.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA5
Deuteranopia (green-blind)
#0045A0
Tritanopia (blue-blind)
#005669
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #393da2;
/* rgb */ color: rgb(57, 61, 162);
/* oklch */ color: oklch(42.1% 0.160 275.4);
Tailwind
colors: {
  custom: {
    50: '#7c72be',
    500: '#393da2',
    950: '#000000',
  },
}
SCSS
$custom: #393da2;
$custom-light: #7c72be;
$custom-dark: #000000;
JSON
{
  "hex": "#393da2",
  "rgb": {
    "r": 57,
    "g": 61,
    "b": 162
  },
  "hsl": {
    "h": 237.714,
    "s": 47.945,
    "l": 42.941
  },
  "oklch": {
    "l": 0.42093,
    "c": 0.15991,
    "h": 275.4
  },
  "luminance": 0.06816
}

Semantic roles & 50–950 ramp

primary
#393DA2
secondary
#BDBA7A
accent
#D250D8
background
#F8F6FB
surface
#EFECF7
border
#CAC7D0
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #393DA2

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

Preview Lab → · Contrast checker → · Palette generator →

#393DA2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva