#394FC5#394FC5

#394FC5 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.4% C 0.185 H 269.9°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#394FC5
RGBrgb(57, 79, 197)
HSLhsl(231, 55%, 50%)
HSVhsv(231, 71%, 77%)
CMYKcmyk(71.1%, 59.9%, 0%, 22.7%)
CIE-LABlab(38.71, 31.70, -64.05)
CIE-LCHlch(38.71, 71.46, 296.33°)
OKLaboklab(48.4% -0.0002 -0.1848)
OKLCHoklch(48.4% 0.185 269.9)
XYZxyz(14.5579, 10.4916, 54.0704)
Luminance0.1049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394FC5 #C5AF39
analogous
#3995C5 #394FC5 #6939C5
triadic
#394FC5 #C5394F #4FC539
tetradic
#394FC5 #C53995 #C5AF39 #39C569
square
#394FC5 #C53995 #C5AF39 #39C569
split-complementary
#394FC5 #C56939 #95C539
monochromatic
#1E2966 #2B3C96 #394FC5 #6879D3 #97A3E1

Accessibility & contrast

On white

6.78
#394FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#394FC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #394FC5
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394FC5#FFFFFF#000000##FFFFFF
##394FC51.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C9
Deuteranopia (green-blind)
#0055C3
Tritanopia (blue-blind)
#006D82
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #394fc5;
/* rgb */ color: rgb(57, 79, 197);
/* oklch */ color: oklch(48.4% 0.185 269.9);
Tailwind
colors: {
  custom: {
    50: '#8280d7',
    500: '#394fc5',
    950: '#000000',
  },
}
SCSS
$custom: #394fc5;
$custom-light: #8280d7;
$custom-dark: #000000;
JSON
{
  "hex": "#394fc5",
  "rgb": {
    "r": 57,
    "g": 79,
    "b": 197
  },
  "hsl": {
    "h": 230.571,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.48395,
    "c": 0.18481,
    "h": 269.9
  },
  "luminance": 0.10493
}

Semantic roles & 50–950 ramp

primary
#394FC5
secondary
#CDC38D
accent
#C749DE
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #394FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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