#393FCA#393FCA

#393FCA is a mid, highly saturated blue. Relative luminance 0.087; OKLCH L 46.1% C 0.210 H 272.8°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#393FCA
RGBrgb(57, 63, 202)
HSLhsl(238, 58%, 51%)
HSVhsv(238, 72%, 79%)
CMYKcmyk(71.8%, 68.8%, 0%, 20.8%)
CIE-LABlab(35.38, 43.37, -72.42)
CIE-LCHlch(35.38, 84.42, 300.92°)
OKLaboklab(46.09% 0.0101 -0.2094)
OKLCHoklch(46.09% 0.21 272.8)
XYZxyz(14.1219, 8.6877, 56.7983)
Luminance0.0869 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393FCA #CAC439
analogous
#3987CA #393FCA #7B39CA
triadic
#393FCA #CA393F #3FCA39
tetradic
#393FCA #CA3987 #CAC439 #39CA7B
square
#393FCA #CA3987 #CAC439 #39CA7B
split-complementary
#393FCA #CA7B39 #87CA39
monochromatic
#1D206C #2A2E9C #393FCA #696ED7 #9A9DE4

Accessibility & contrast

On white

7.67
#393FCA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#393FCA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393FCA
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393FCA#FFFFFF#000000##FFFFFF
##393FCA1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACE
Deuteranopia (green-blind)
#004CC7
Tritanopia (blue-blind)
#006580
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #393fca;
/* rgb */ color: rgb(57, 63, 202);
/* oklch */ color: oklch(46.1% 0.210 272.8);
Tailwind
colors: {
  custom: {
    50: '#8475db',
    500: '#393fca',
    950: '#000000',
  },
}
SCSS
$custom: #393fca;
$custom-light: #8475db;
$custom-dark: #000000;
JSON
{
  "hex": "#393fca",
  "rgb": {
    "r": 57,
    "g": 63,
    "b": 202
  },
  "hsl": {
    "h": 237.517,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.46086,
    "c": 0.20966,
    "h": 272.8
  },
  "luminance": 0.08689
}

Semantic roles & 50–950 ramp

primary
#393FCA
secondary
#D0CD8F
accent
#DB47E1
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0D0815
muted
#7D7B83

Preview Lab

Preview with #393FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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