#394AC5#394AC5

#394AC5 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.5% C 0.191 H 271.0°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#394AC5
RGBrgb(57, 74, 197)
HSLhsl(233, 55%, 50%)
HSVhsv(233, 71%, 77%)
CMYKcmyk(71.1%, 62.4%, 0%, 22.7%)
CIE-LABlab(37.48, 34.88, -66.07)
CIE-LCHlch(37.48, 74.71, 297.83°)
OKLaboklab(47.48% 0.0034 -0.1908)
OKLCHoklch(47.48% 0.191 271)
XYZxyz(14.2107, 9.7972, 53.9546)
Luminance0.0980 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394AC5 #C5B439
analogous
#3990C5 #394AC5 #6E39C5
triadic
#394AC5 #C5394A #4AC539
tetradic
#394AC5 #C53990 #C5B439 #39C56E
square
#394AC5 #C53990 #C5B439 #39C56E
split-complementary
#394AC5 #C56E39 #90C539
monochromatic
#1E2666 #2B3896 #394AC5 #6875D3 #97A0E1

Accessibility & contrast

On white

7.10
#394AC5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #394AC5
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394AC5#FFFFFF#000000##FFFFFF
##394AC51.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC9
Deuteranopia (green-blind)
#0052C3
Tritanopia (blue-blind)
#006A80
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #394ac5;
/* rgb */ color: rgb(57, 74, 197);
/* oklch */ color: oklch(47.5% 0.191 271.0);
Tailwind
colors: {
  custom: {
    50: '#827cd8',
    500: '#394ac5',
    950: '#000000',
  },
}
SCSS
$custom: #394ac5;
$custom-light: #827cd8;
$custom-dark: #000000;
JSON
{
  "hex": "#394ac5",
  "rgb": {
    "r": 57,
    "g": 74,
    "b": 197
  },
  "hsl": {
    "h": 232.714,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.47482,
    "c": 0.1908,
    "h": 271
  },
  "luminance": 0.09799
}

Semantic roles & 50–950 ramp

primary
#394AC5
secondary
#CDC58D
accent
#CC49DE
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #394AC5

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

Preview Lab → · Contrast checker → · Palette generator →

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