#394EE2#394EE2

#394EE2 is a mid, highly saturated blue. Relative luminance 0.118; OKLCH L 50.8% C 0.223 H 269.8°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#394EE2
RGBrgb(57, 78, 226)
HSLhsl(233, 74%, 55%)
HSVhsv(233, 75%, 89%)
CMYKcmyk(74.8%, 65.5%, 0%, 11.4%)
CIE-LABlab(40.91, 42.55, -77.13)
CIE-LCHlch(40.91, 88.09, 298.88°)
OKLaboklab(50.77% -0.0006 -0.2232)
OKLCHoklch(50.77% 0.223 269.8)
XYZxyz(18.1345, 11.8077, 73.2601)
Luminance0.1181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394EE2 #E2CD39
analogous
#39A3E2 #394EE2 #7839E2
triadic
#394EE2 #E2394E #4EE239
tetradic
#394EE2 #E239A3 #E2CD39 #39E278
square
#394EE2 #E239A3 #E2CD39 #39E278
split-complementary
#394EE2 #E27839 #A3E239
monochromatic
#15238C #1C31C1 #394EE2 #6E7EEA #A4ADF2

Accessibility & contrast

On white

6.25
#394EE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#394EE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #394EE2
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394EE2#FFFFFF#000000##FFFFFF
##394EE21.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E7
Deuteranopia (green-blind)
#0059DF
Tritanopia (blue-blind)
#007691
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #394ee2;
/* rgb */ color: rgb(57, 78, 226);
/* oklch */ color: oklch(50.8% 0.223 269.8);
Tailwind
colors: {
  custom: {
    50: '#8880ec',
    500: '#394ee2',
    950: '#000000',
  },
}
SCSS
$custom: #394ee2;
$custom-light: #8880ec;
$custom-dark: #000000;
JSON
{
  "hex": "#394ee2",
  "rgb": {
    "r": 57,
    "g": 78,
    "b": 226
  },
  "hsl": {
    "h": 232.544,
    "s": 74.449,
    "l": 55.49
  },
  "oklch": {
    "l": 0.50765,
    "c": 0.22316,
    "h": 269.8
  },
  "luminance": 0.1181
}

Semantic roles & 50–950 ramp

primary
#394EE2
secondary
#DFD698
accent
#DA37F1
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0D0A16
muted
#7E7C84

Preview Lab

Preview with #394EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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