#394EBE#394EBE

#394EBE is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.6% C 0.177 H 270.2°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#394EBE
RGBrgb(57, 78, 190)
HSLhsl(231, 54%, 48%)
HSVhsv(231, 70%, 75%)
CMYKcmyk(70%, 58.9%, 0%, 25.5%)
CIE-LABlab(37.91, 29.83, -61.28)
CIE-LCHlch(37.91, 68.15, 295.95°)
OKLaboklab(47.62% 0.0006 -0.1767)
OKLCHoklch(47.62% 0.177 270.2)
XYZxyz(13.7028, 10.0350, 49.9200)
Luminance0.1004 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394EBE #BEA939
analogous
#3990BE #394EBE #6639BE
triadic
#394EBE #BE394E #4EBE39
tetradic
#394EBE #BE3990 #BEA939 #39BE66
square
#394EBE #BE3990 #BEA939 #39BE66
split-complementary
#394EBE #BE6639 #90BE39
monochromatic
#1D2760 #2B3B8F #394EBE #6475D0 #939FDF

Accessibility & contrast

On white

6.98
#394EBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#394EBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #394EBE
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394EBE#FFFFFF#000000##FFFFFF
##394EBE1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC2
Deuteranopia (green-blind)
#0053BC
Tritanopia (blue-blind)
#006A7E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #394ebe;
/* rgb */ color: rgb(57, 78, 190);
/* oklch */ color: oklch(47.6% 0.177 270.2);
Tailwind
colors: {
  custom: {
    50: '#807fd2',
    500: '#394ebe',
    950: '#000000',
  },
}
SCSS
$custom: #394ebe;
$custom-light: #807fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#394ebe",
  "rgb": {
    "r": 57,
    "g": 78,
    "b": 190
  },
  "hsl": {
    "h": 230.526,
    "s": 53.846,
    "l": 48.431
  },
  "oklch": {
    "l": 0.47624,
    "c": 0.17668,
    "h": 270.2
  },
  "luminance": 0.10036
}

Semantic roles & 50–950 ramp

primary
#394EBE
secondary
#CABF89
accent
#C64BDD
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #394EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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