#394ED1#394ED1

#394ED1 is a mid, highly saturated blue. Relative luminance 0.109; OKLCH L 49.2% C 0.202 H 270.1°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#394ED1
RGBrgb(57, 78, 209)
HSLhsl(232, 62%, 52%)
HSVhsv(232, 73%, 82%)
CMYKcmyk(72.7%, 62.7%, 0%, 18%)
CIE-LABlab(39.45, 36.60, -69.80)
CIE-LCHlch(39.45, 78.81, 297.67°)
OKLaboklab(49.24% 0.0003 -0.2017)
OKLCHoklch(49.24% 0.202 270.1)
XYZxyz(15.9164, 10.9204, 61.5783)
Luminance0.1092 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394ED1 #D1BC39
analogous
#399AD1 #394ED1 #7039D1
triadic
#394ED1 #D1394E #4ED139
tetradic
#394ED1 #D1399A #D1BC39 #39D170
square
#394ED1 #D1399A #D1BC39 #39D170
split-complementary
#394ED1 #D17039 #9AD139
monochromatic
#1B2775 #2738A6 #394ED1 #6B7ADD #9CA7E8

Accessibility & contrast

On white

6.59
#394ED1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#394ED1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #394ED1
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394ED1#FFFFFF#000000##FFFFFF
##394ED11.006.593.186.59
#FFFFFF6.591.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D5
Deuteranopia (green-blind)
#0056CE
Tritanopia (blue-blind)
#007088
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #394ed1;
/* rgb */ color: rgb(57, 78, 209);
/* oklch */ color: oklch(49.2% 0.202 270.1);
Tailwind
colors: {
  custom: {
    50: '#847fe0',
    500: '#394ed1',
    950: '#000000',
  },
}
SCSS
$custom: #394ed1;
$custom-light: #847fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#394ed1",
  "rgb": {
    "r": 57,
    "g": 78,
    "b": 209
  },
  "hsl": {
    "h": 231.711,
    "s": 62.295,
    "l": 52.157
  },
  "oklch": {
    "l": 0.49243,
    "c": 0.20168,
    "h": 270.1
  },
  "luminance": 0.10922
}

Semantic roles & 50–950 ramp

primary
#394ED1
secondary
#D4CB92
accent
#CF42E5
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0D0A15
muted
#7D7C83

Preview Lab

Preview with #394ED1

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

Preview Lab → · Contrast checker → · Palette generator →

#394ED1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva