#393FBC#393FBC

#393FBC is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.8% C 0.192 H 273.5°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#393FBC
RGBrgb(57, 63, 188)
HSLhsl(237, 53%, 48%)
HSVhsv(237, 70%, 74%)
CMYKcmyk(69.7%, 66.5%, 0%, 26.3%)
CIE-LABlab(34.10, 38.60, -66.33)
CIE-LCHlch(34.10, 76.74, 300.20°)
OKLaboklab(44.77% 0.0116 -0.1916)
OKLCHoklch(44.77% 0.192 273.5)
XYZxyz(12.5389, 8.0545, 48.4611)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393FBC #BCB639
analogous
#3980BC #393FBC #7439BC
triadic
#393FBC #BC393F #3FBC39
tetradic
#393FBC #BC3980 #BCB639 #39BC74
square
#393FBC #BC3980 #BCB639 #39BC74
split-complementary
#393FBC #BC7439 #80BC39
monochromatic
#1D205E #2B2F8D #393FBC #6368D0 #9295DE

Accessibility & contrast

On white

8.04
#393FBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#393FBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393FBC
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393FBC#FFFFFF#000000##FFFFFF
##393FBC1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C0
Deuteranopia (green-blind)
#004ABA
Tritanopia (blue-blind)
#006078
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #393fbc;
/* rgb */ color: rgb(57, 63, 188);
/* oklch */ color: oklch(44.8% 0.192 273.5);
Tailwind
colors: {
  custom: {
    50: '#8174d1',
    500: '#393fbc',
    950: '#000000',
  },
}
SCSS
$custom: #393fbc;
$custom-light: #8174d1;
$custom-dark: #000000;
JSON
{
  "hex": "#393fbc",
  "rgb": {
    "r": 57,
    "g": 63,
    "b": 188
  },
  "hsl": {
    "h": 237.252,
    "s": 53.469,
    "l": 48.039
  },
  "oklch": {
    "l": 0.44769,
    "c": 0.19196,
    "h": 273.5
  },
  "luminance": 0.08056
}

Semantic roles & 50–950 ramp

primary
#393FBC
secondary
#C9C688
accent
#D64BDD
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #393FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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