#394EDB#394EDB

#394EDB is a mid, highly saturated blue. Relative luminance 0.114; OKLCH L 50.1% C 0.214 H 269.9°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#394EDB
RGBrgb(57, 78, 219)
HSLhsl(232, 69%, 54%)
HSVhsv(232, 74%, 86%)
CMYKcmyk(74%, 64.4%, 0%, 14.1%)
CIE-LABlab(40.30, 40.12, -74.14)
CIE-LCHlch(40.30, 84.30, 298.42°)
OKLaboklab(50.13% -0.0002 -0.2144)
OKLCHoklch(50.13% 0.214 269.9)
XYZxyz(17.1935, 11.4313, 68.3044)
Luminance0.1143 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394EDB #DBC639
analogous
#399FDB #394EDB #7539DB
triadic
#394EDB #DB394E #4EDB39
tetradic
#394EDB #DB399F #DBC639 #39DB75
square
#394EDB #DB399F #DBC639 #39DB75
split-complementary
#394EDB #DB7539 #9FDB39
monochromatic
#182582 #2134B6 #394EDB #6D7CE4 #A1ABEE

Accessibility & contrast

On white

6.39
#394EDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#394EDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #394EDB
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394EDB#FFFFFF#000000##FFFFFF
##394EDB1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DF
Deuteranopia (green-blind)
#0057D8
Tritanopia (blue-blind)
#00738D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #394edb;
/* rgb */ color: rgb(57, 78, 219);
/* oklch */ color: oklch(50.1% 0.214 269.9);
Tailwind
colors: {
  custom: {
    50: '#877fe7',
    500: '#394edb',
    950: '#000000',
  },
}
SCSS
$custom: #394edb;
$custom-light: #877fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#394edb",
  "rgb": {
    "r": 57,
    "g": 78,
    "b": 219
  },
  "hsl": {
    "h": 232.222,
    "s": 69.231,
    "l": 54.118
  },
  "oklch": {
    "l": 0.50131,
    "c": 0.21441,
    "h": 269.9
  },
  "luminance": 0.11433
}

Semantic roles & 50–950 ramp

primary
#394EDB
secondary
#DAD195
accent
#D53CEC
background
#F9F7FE
surface
#F1EEFD
border
#CBC9D5
text
#0D0A16
muted
#7E7C84

Preview Lab

Preview with #394EDB

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

Preview Lab → · Contrast checker → · Palette generator →

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