#393ECF#393ECF

#393ECF is a mid, highly saturated blue. Relative luminance 0.088; OKLCH L 46.4% C 0.217 H 272.6°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#393ECF
RGBrgb(57, 62, 207)
HSLhsl(238, 61%, 52%)
HSVhsv(238, 72%, 81%)
CMYKcmyk(72.5%, 70%, 0%, 18.8%)
CIE-LABlab(35.63, 45.64, -74.90)
CIE-LCHlch(35.63, 87.71, 301.36°)
OKLaboklab(46.41% 0.01 -0.2167)
OKLCHoklch(46.41% 0.217 272.6)
XYZxyz(14.6687, 8.8186, 59.9485)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393ECF #CFCA39
analogous
#3989CF #393ECF #7F39CF
triadic
#393ECF #CF393E #3ECF39
tetradic
#393ECF #CF3989 #CFCA39 #39CF7F
square
#393ECF #CF3989 #CFCA39 #39CF7F
split-complementary
#393ECF #CF7F39 #89CF39
monochromatic
#1C1F72 #282CA3 #393ECF #6A6EDB #9C9EE7

Accessibility & contrast

On white

7.60
#393ECF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#393ECF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393ECF
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393ECF#FFFFFF#000000##FFFFFF
##393ECF1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BD3
Deuteranopia (green-blind)
#004DCC
Tritanopia (blue-blind)
#006682
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #393ecf;
/* rgb */ color: rgb(57, 62, 207);
/* oklch */ color: oklch(46.4% 0.217 272.6);
Tailwind
colors: {
  custom: {
    50: '#8574df',
    500: '#393ecf',
    950: '#000000',
  },
}
SCSS
$custom: #393ecf;
$custom-light: #8574df;
$custom-dark: #000000;
JSON
{
  "hex": "#393ecf",
  "rgb": {
    "r": 57,
    "g": 62,
    "b": 207
  },
  "hsl": {
    "h": 238,
    "s": 60.976,
    "l": 51.765
  },
  "oklch": {
    "l": 0.46414,
    "c": 0.21689,
    "h": 272.6
  },
  "luminance": 0.0882
}

Semantic roles & 50–950 ramp

primary
#393ECF
secondary
#D3D191
accent
#DF44E4
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #393ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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