#393D88#393D88

#393D88 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.0% C 0.123 H 277.0°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#393D88
RGBrgb(57, 61, 136)
HSLhsl(237, 41%, 38%)
HSVhsv(237, 58%, 53%)
CMYKcmyk(58.1%, 55.1%, 0%, 46.7%)
CIE-LABlab(29.37, 21.69, -42.64)
CIE-LCHlch(29.37, 47.84, 296.97°)
OKLaboklab(39.97% 0.015 -0.122)
OKLCHoklch(39.97% 0.123 277)
XYZxyz(7.7986, 5.9844, 24.0319)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393D88 #888439
analogous
#396488 #393D88 #5C3988
triadic
#393D88 #88393D #3D8839
tetradic
#393D88 #883964 #888439 #39885C
square
#393D88 #883964 #888439 #39885C
split-complementary
#393D88 #885C39 #648839
monochromatic
#151632 #272A5D #393D88 #4B50B3 #767AC6

Accessibility & contrast

On white

9.56
#393D88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#393D88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393D88
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393D88#FFFFFF#000000##FFFFFF
##393D881.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F498B
Deuteranopia (green-blind)
#004286
Tritanopia (blue-blind)
#0C4E5C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #393d88;
/* rgb */ color: rgb(57, 61, 136);
/* oklch */ color: oklch(40.0% 0.123 277.0);
Tailwind
colors: {
  custom: {
    50: '#7772ab',
    500: '#393d88',
    950: '#000000',
  },
}
SCSS
$custom: #393d88;
$custom-light: #7772ab;
$custom-dark: #000000;
JSON
{
  "hex": "#393d88",
  "rgb": {
    "r": 57,
    "g": 61,
    "b": 136
  },
  "hsl": {
    "h": 236.962,
    "s": 40.933,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39969,
    "c": 0.12296,
    "h": 277
  },
  "luminance": 0.05985
}

Semantic roles & 50–950 ramp

primary
#393D88
secondary
#AFAB6E
accent
#CB57D1
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #393D88

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

Preview Lab → · Contrast checker → · Palette generator →

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