#394CC5#394CC5

#394CC5 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.8% C 0.188 H 270.6°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#394CC5
RGBrgb(57, 76, 197)
HSLhsl(232, 55%, 50%)
HSVhsv(232, 71%, 77%)
CMYKcmyk(71.1%, 61.4%, 0%, 22.7%)
CIE-LABlab(37.97, 33.61, -65.27)
CIE-LCHlch(37.97, 73.41, 297.25°)
OKLaboklab(47.84% 0.002 -0.1884)
OKLCHoklch(47.84% 0.188 270.6)
XYZxyz(14.3464, 10.0685, 53.9998)
Luminance0.1007 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394CC5 #C5B239
analogous
#3992C5 #394CC5 #6C39C5
triadic
#394CC5 #C5394C #4CC539
tetradic
#394CC5 #C53992 #C5B239 #39C56C
square
#394CC5 #C53992 #C5B239 #39C56C
split-complementary
#394CC5 #C56C39 #92C539
monochromatic
#1E2766 #2B3A96 #394CC5 #6876D3 #97A1E1

Accessibility & contrast

On white

6.97
#394CC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #394CC5
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394CC5#FFFFFF#000000##FFFFFF
##394CC51.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #394cc5;
/* rgb */ color: rgb(57, 76, 197);
/* oklch */ color: oklch(47.8% 0.188 270.6);
Tailwind
colors: {
  custom: {
    50: '#827ed8',
    500: '#394cc5',
    950: '#000000',
  },
}
SCSS
$custom: #394cc5;
$custom-light: #827ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#394cc5",
  "rgb": {
    "r": 57,
    "g": 76,
    "b": 197
  },
  "hsl": {
    "h": 231.857,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.47843,
    "c": 0.18842,
    "h": 270.6
  },
  "luminance": 0.1007
}

Semantic roles & 50–950 ramp

primary
#394CC5
secondary
#CDC48D
accent
#CA49DE
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #394CC5

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

Preview Lab → · Contrast checker → · Palette generator →

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