#394ED2#394ED2

#394ED2 is a mid, highly saturated blue. Relative luminance 0.110; OKLCH L 49.3% C 0.203 H 270.1°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#394ED2
RGBrgb(57, 78, 210)
HSLhsl(232, 63%, 52%)
HSVhsv(232, 73%, 82%)
CMYKcmyk(72.9%, 62.9%, 0%, 17.6%)
CIE-LABlab(39.53, 36.96, -70.24)
CIE-LCHlch(39.53, 79.37, 297.75°)
OKLaboklab(49.33% 0.0002 -0.203)
OKLCHoklch(49.33% 0.203 270.1)
XYZxyz(16.0406, 10.9701, 62.2323)
Luminance0.1097 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394ED2 #D2BD39
analogous
#399AD2 #394ED2 #7139D2
triadic
#394ED2 #D2394E #4ED239
tetradic
#394ED2 #D2399A #D2BD39 #39D271
square
#394ED2 #D2399A #D2BD39 #39D271
split-complementary
#394ED2 #D27139 #9AD239
monochromatic
#1B2776 #2638A8 #394ED2 #6B7BDD #9DA7E9

Accessibility & contrast

On white

6.57
#394ED2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#394ED2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #394ED2
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394ED2#FFFFFF#000000##FFFFFF
##394ED21.006.573.196.57
#FFFFFF6.571.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D6
Deuteranopia (green-blind)
#0056CF
Tritanopia (blue-blind)
#007089
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #394ed2;
/* rgb */ color: rgb(57, 78, 210);
/* oklch */ color: oklch(49.3% 0.203 270.1);
Tailwind
colors: {
  custom: {
    50: '#857fe1',
    500: '#394ed2',
    950: '#000000',
  },
}
SCSS
$custom: #394ed2;
$custom-light: #857fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#394ed2",
  "rgb": {
    "r": 57,
    "g": 78,
    "b": 210
  },
  "hsl": {
    "h": 231.765,
    "s": 62.963,
    "l": 52.353
  },
  "oklch": {
    "l": 0.49331,
    "c": 0.20297,
    "h": 270.1
  },
  "luminance": 0.10972
}

Semantic roles & 50–950 ramp

primary
#394ED2
secondary
#D5CC92
accent
#CF42E6
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0D0A15
muted
#7D7C83

Preview Lab

Preview with #394ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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