#393CB2#393CB2

#393CB2 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.3% C 0.182 H 274.6°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#393CB2
RGBrgb(57, 60, 178)
HSLhsl(239, 51%, 46%)
HSVhsv(239, 68%, 70%)
CMYKcmyk(68%, 66.3%, 0%, 30.2%)
CIE-LABlab(32.51, 37.01, -63.01)
CIE-LCHlch(32.51, 73.07, 300.43°)
OKLaboklab(43.35% 0.0147 -0.1819)
OKLCHoklch(43.35% 0.182 274.6)
XYZxyz(11.3364, 7.3149, 42.9253)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393CB2 #B2AF39
analogous
#3978B2 #393CB2 #7239B2
triadic
#393CB2 #B2393C #3CB239
tetradic
#393CB2 #B23978 #B2AF39 #39B272
square
#393CB2 #B23978 #B2AF39 #39B272
split-complementary
#393CB2 #B27239 #78B239
monochromatic
#1B1D55 #2A2C84 #393CB2 #5D60CB #8B8DDA

Accessibility & contrast

On white

8.53
#393CB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#393CB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393CB2
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393CB2#FFFFFF#000000##FFFFFF
##393CB21.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B6
Deuteranopia (green-blind)
#0047B0
Tritanopia (blue-blind)
#005B72
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #393cb2;
/* rgb */ color: rgb(57, 60, 178);
/* oklch */ color: oklch(43.3% 0.182 274.6);
Tailwind
colors: {
  custom: {
    50: '#7f72ca',
    500: '#393cb2',
    950: '#000000',
  },
}
SCSS
$custom: #393cb2;
$custom-light: #7f72ca;
$custom-dark: #000000;
JSON
{
  "hex": "#393cb2",
  "rgb": {
    "r": 57,
    "g": 60,
    "b": 178
  },
  "hsl": {
    "h": 238.512,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.43345,
    "c": 0.18249,
    "h": 274.6
  },
  "luminance": 0.07316
}

Semantic roles & 50–950 ramp

primary
#393CB2
secondary
#C4C382
accent
#D74DDB
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #393CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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