#394EBF#394EBF

#394EBF is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.7% C 0.178 H 270.2°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#394EBF
RGBrgb(57, 78, 191)
HSLhsl(231, 54%, 49%)
HSVhsv(231, 70%, 75%)
CMYKcmyk(70.2%, 59.2%, 0%, 25.1%)
CIE-LABlab(37.98, 30.19, -61.74)
CIE-LCHlch(37.98, 68.72, 296.06°)
OKLaboklab(47.71% 0.0006 -0.178)
OKLCHoklch(47.71% 0.178 270.2)
XYZxyz(13.8125, 10.0789, 50.4976)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394EBF #BFAA39
analogous
#3991BF #394EBF #6739BF
triadic
#394EBF #BF394E #4EBF39
tetradic
#394EBF #BF3991 #BFAA39 #39BF67
square
#394EBF #BF3991 #BFAA39 #39BF67
split-complementary
#394EBF #BF6739 #91BF39
monochromatic
#1D2861 #2B3B90 #394EBF #6475D1 #939FDF

Accessibility & contrast

On white

6.96
#394EBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#394EBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #394EBF
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394EBF#FFFFFF#000000##FFFFFF
##394EBF1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C3
Deuteranopia (green-blind)
#0053BD
Tritanopia (blue-blind)
#006A7F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #394ebf;
/* rgb */ color: rgb(57, 78, 191);
/* oklch */ color: oklch(47.7% 0.178 270.2);
Tailwind
colors: {
  custom: {
    50: '#807fd3',
    500: '#394ebf',
    950: '#000000',
  },
}
SCSS
$custom: #394ebf;
$custom-light: #807fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#394ebf",
  "rgb": {
    "r": 57,
    "g": 78,
    "b": 191
  },
  "hsl": {
    "h": 230.597,
    "s": 54.032,
    "l": 48.627
  },
  "oklch": {
    "l": 0.47707,
    "c": 0.17802,
    "h": 270.2
  },
  "luminance": 0.1008
}

Semantic roles & 50–950 ramp

primary
#394EBF
secondary
#CAC08A
accent
#C64ADD
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #394EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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