#393FC9#393FC9

#393FC9 is a mid, highly saturated blue. Relative luminance 0.086; OKLCH L 46.0% C 0.208 H 272.8°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#393FC9
RGBrgb(57, 63, 201)
HSLhsl(238, 57%, 51%)
HSVhsv(238, 72%, 79%)
CMYKcmyk(71.6%, 68.7%, 0%, 21.2%)
CIE-LABlab(35.28, 43.04, -71.99)
CIE-LCHlch(35.28, 83.87, 300.87°)
OKLaboklab(45.99% 0.0102 -0.2082)
OKLCHoklch(45.99% 0.208 272.8)
XYZxyz(14.0039, 8.6405, 56.1768)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393FC9 #C9C339
analogous
#3987C9 #393FC9 #7B39C9
triadic
#393FC9 #C9393F #3FC939
tetradic
#393FC9 #C93987 #C9C339 #39C97B
square
#393FC9 #C93987 #C9C339 #39C97B
split-complementary
#393FC9 #C97B39 #87C939
monochromatic
#1D206B #2A2F9B #393FC9 #696ED6 #999CE3

Accessibility & contrast

On white

7.70
#393FC9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#393FC9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393FC9
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393FC9#FFFFFF#000000##FFFFFF
##393FC91.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACD
Deuteranopia (green-blind)
#004CC6
Tritanopia (blue-blind)
#00657F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #393fc9;
/* rgb */ color: rgb(57, 63, 201);
/* oklch */ color: oklch(46.0% 0.208 272.8);
Tailwind
colors: {
  custom: {
    50: '#8475db',
    500: '#393fc9',
    950: '#000000',
  },
}
SCSS
$custom: #393fc9;
$custom-light: #8475db;
$custom-dark: #000000;
JSON
{
  "hex": "#393fc9",
  "rgb": {
    "r": 57,
    "g": 63,
    "b": 201
  },
  "hsl": {
    "h": 237.5,
    "s": 57.143,
    "l": 50.588
  },
  "oklch": {
    "l": 0.4599,
    "c": 0.20842,
    "h": 272.8
  },
  "luminance": 0.08642
}

Semantic roles & 50–950 ramp

primary
#393FC9
secondary
#CFCC8F
accent
#DA47E0
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #393FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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