#393ABC#393ABC

#393ABC is a dark, vivid blue. Relative luminance 0.075; OKLCH L 44.0% C 0.198 H 274.3°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#393ABC
RGBrgb(57, 58, 188)
HSLhsl(240, 53%, 48%)
HSVhsv(240, 70%, 74%)
CMYKcmyk(69.7%, 69.1%, 0%, 26.3%)
CIE-LABlab(32.97, 41.63, -68.17)
CIE-LCHlch(32.97, 79.88, 301.41°)
OKLaboklab(43.96% 0.0149 -0.197)
OKLCHoklch(43.96% 0.198 274.3)
XYZxyz(12.2745, 7.5256, 48.3729)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393ABC #BCBB39
analogous
#397BBC #393ABC #7939BC
triadic
#393ABC #BC393A #3ABC39
tetradic
#393ABC #BC397B #BCBB39 #39BC79
square
#393ABC #BC397B #BCBB39 #39BC79
split-complementary
#393ABC #BC7939 #7BBC39
monochromatic
#1D1D5E #2B2C8D #393ABC #6363D0 #9292DE

Accessibility & contrast

On white

8.38
#393ABC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#393ABC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393ABC
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393ABC#FFFFFF#000000##FFFFFF
##393ABC1.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C0
Deuteranopia (green-blind)
#0047BA
Tritanopia (blue-blind)
#005D76
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #393abc;
/* rgb */ color: rgb(57, 58, 188);
/* oklch */ color: oklch(44.0% 0.198 274.3);
Tailwind
colors: {
  custom: {
    50: '#8171d1',
    500: '#393abc',
    950: '#000000',
  },
}
SCSS
$custom: #393abc;
$custom-light: #8171d1;
$custom-dark: #000000;
JSON
{
  "hex": "#393abc",
  "rgb": {
    "r": 57,
    "g": 58,
    "b": 188
  },
  "hsl": {
    "h": 239.542,
    "s": 53.469,
    "l": 48.039
  },
  "oklch": {
    "l": 0.43957,
    "c": 0.19757,
    "h": 274.3
  },
  "luminance": 0.07527
}

Semantic roles & 50–950 ramp

primary
#393ABC
secondary
#C9C888
accent
#DC4BDD
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #393ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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