#394ECA#394ECA

#394ECA is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.6% C 0.193 H 270.1°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#394ECA
RGBrgb(57, 78, 202)
HSLhsl(231, 58%, 51%)
HSVhsv(231, 72%, 79%)
CMYKcmyk(71.8%, 61.4%, 0%, 20.8%)
CIE-LABlab(38.87, 34.12, -66.70)
CIE-LCHlch(38.87, 74.92, 297.09°)
OKLaboklab(48.64% 0.0005 -0.1926)
OKLCHoklch(48.64% 0.193 270.1)
XYZxyz(15.0688, 10.5814, 57.1139)
Luminance0.1058 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394ECA #CAB539
analogous
#3997CA #394ECA #6C39CA
triadic
#394ECA #CA394E #4ECA39
tetradic
#394ECA #CA3997 #CAB539 #39CA6C
square
#394ECA #CA3997 #CAB539 #39CA6C
split-complementary
#394ECA #CA6C39 #97CA39
monochromatic
#1D286C #2A3A9C #394ECA #6979D7 #9AA4E4

Accessibility & contrast

On white

6.74
#394ECA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#394ECA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #394ECA
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394ECA#FFFFFF#000000##FFFFFF
##394ECA1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CE
Deuteranopia (green-blind)
#0055C8
Tritanopia (blue-blind)
#006E84
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #394eca;
/* rgb */ color: rgb(57, 78, 202);
/* oklch */ color: oklch(48.6% 0.193 270.1);
Tailwind
colors: {
  custom: {
    50: '#837fdb',
    500: '#394eca',
    950: '#000000',
  },
}
SCSS
$custom: #394eca;
$custom-light: #837fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#394eca",
  "rgb": {
    "r": 57,
    "g": 78,
    "b": 202
  },
  "hsl": {
    "h": 231.31,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.48636,
    "c": 0.1926,
    "h": 270.1
  },
  "luminance": 0.10583
}

Semantic roles & 50–950 ramp

primary
#394ECA
secondary
#D0C68F
accent
#CB47E1
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #394ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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