#394BC4#394BC4

#394BC4 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.6% C 0.188 H 270.8°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#394BC4
RGBrgb(57, 75, 196)
HSLhsl(232, 55%, 50%)
HSVhsv(232, 71%, 77%)
CMYKcmyk(70.9%, 61.7%, 0%, 23.1%)
CIE-LABlab(37.64, 33.89, -65.22)
CIE-LCHlch(37.64, 73.50, 297.46°)
OKLaboklab(47.58% 0.0027 -0.1883)
OKLCHoklch(47.58% 0.188 270.8)
XYZxyz(14.1638, 9.8861, 53.3756)
Luminance0.0989 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394BC4 #C4B239
analogous
#3991C4 #394BC4 #6C39C4
triadic
#394BC4 #C4394B #4BC439
tetradic
#394BC4 #C43991 #C4B239 #39C46C
square
#394BC4 #C43991 #C4B239 #39C46C
split-complementary
#394BC4 #C46C39 #91C439
monochromatic
#1D2765 #2B3995 #394BC4 #6775D3 #97A0E1

Accessibility & contrast

On white

7.05
#394BC4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#394BC4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394BC4
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394BC4#FFFFFF#000000##FFFFFF
##394BC41.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC8
Deuteranopia (green-blind)
#0052C2
Tritanopia (blue-blind)
#006A80
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #394bc4;
/* rgb */ color: rgb(57, 75, 196);
/* oklch */ color: oklch(47.6% 0.188 270.8);
Tailwind
colors: {
  custom: {
    50: '#827dd7',
    500: '#394bc4',
    950: '#000000',
  },
}
SCSS
$custom: #394bc4;
$custom-light: #827dd7;
$custom-dark: #000000;
JSON
{
  "hex": "#394bc4",
  "rgb": {
    "r": 57,
    "g": 75,
    "b": 196
  },
  "hsl": {
    "h": 232.23,
    "s": 54.941,
    "l": 49.608
  },
  "oklch": {
    "l": 0.47575,
    "c": 0.1883,
    "h": 270.8
  },
  "luminance": 0.09888
}

Semantic roles & 50–950 ramp

primary
#394BC4
secondary
#CCC48D
accent
#CB4ADE
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #394BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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