#394CBF#394CBF

#394CBF is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.3% C 0.180 H 270.7°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#394CBF
RGBrgb(57, 76, 191)
HSLhsl(231, 54%, 49%)
HSVhsv(231, 70%, 75%)
CMYKcmyk(70.2%, 60.2%, 0%, 25.1%)
CIE-LABlab(37.48, 31.47, -62.56)
CIE-LCHlch(37.48, 70.03, 296.70°)
OKLaboklab(47.33% 0.0021 -0.1805)
OKLCHoklch(47.33% 0.18 270.7)
XYZxyz(13.6726, 9.7990, 50.4510)
Luminance0.0980 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394CBF #BFAC39
analogous
#398FBF #394CBF #6939BF
triadic
#394CBF #BF394C #4CBF39
tetradic
#394CBF #BF398F #BFAC39 #39BF69
square
#394CBF #BF398F #BFAC39 #39BF69
split-complementary
#394CBF #BF6939 #8FBF39
monochromatic
#1D2661 #2B3990 #394CBF #6474D1 #939EDF

Accessibility & contrast

On white

7.09
#394CBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#394CBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394CBF
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394CBF#FFFFFF#000000##FFFFFF
##394CBF1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC3
Deuteranopia (green-blind)
#0052BD
Tritanopia (blue-blind)
#00697E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #394cbf;
/* rgb */ color: rgb(57, 76, 191);
/* oklch */ color: oklch(47.3% 0.180 270.7);
Tailwind
colors: {
  custom: {
    50: '#817ed3',
    500: '#394cbf',
    950: '#000000',
  },
}
SCSS
$custom: #394cbf;
$custom-light: #817ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#394cbf",
  "rgb": {
    "r": 57,
    "g": 76,
    "b": 191
  },
  "hsl": {
    "h": 231.493,
    "s": 54.032,
    "l": 48.627
  },
  "oklch": {
    "l": 0.47332,
    "c": 0.18047,
    "h": 270.7
  },
  "luminance": 0.098
}

Semantic roles & 50–950 ramp

primary
#394CBF
secondary
#CAC18A
accent
#C94ADD
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #394CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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