#394FC6#394FC6

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

Color values

HEX#394FC6
RGBrgb(57, 79, 198)
HSLhsl(231, 55%, 50%)
HSVhsv(231, 71%, 78%)
CMYKcmyk(71.2%, 60.1%, 0%, 22.4%)
CIE-LABlab(38.79, 32.06, -64.50)
CIE-LCHlch(38.79, 72.03, 296.43°)
OKLaboklab(48.48% -0.0002 -0.1861)
OKLCHoklch(48.48% 0.186 269.9)
XYZxyz(14.6729, 10.5376, 54.6758)
Luminance0.1054 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394FC6 #C6B039
analogous
#3996C6 #394FC6 #6939C6
triadic
#394FC6 #C6394F #4FC639
tetradic
#394FC6 #C63996 #C6B039 #39C669
square
#394FC6 #C63996 #C6B039 #39C669
split-complementary
#394FC6 #C66939 #96C639
monochromatic
#1E2967 #2B3C96 #394FC6 #6979D4 #98A3E1

Accessibility & contrast

On white

6.76
#394FC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#394FC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #394FC6
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394FC6#FFFFFF#000000##FFFFFF
##394FC61.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CA
Deuteranopia (green-blind)
#0055C4
Tritanopia (blue-blind)
#006D83
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #394fc6;
/* rgb */ color: rgb(57, 79, 198);
/* oklch */ color: oklch(48.5% 0.186 269.9);
Tailwind
colors: {
  custom: {
    50: '#8280d8',
    500: '#394fc6',
    950: '#000000',
  },
}
SCSS
$custom: #394fc6;
$custom-light: #8280d8;
$custom-dark: #000000;
JSON
{
  "hex": "#394fc6",
  "rgb": {
    "r": 57,
    "g": 79,
    "b": 198
  },
  "hsl": {
    "h": 230.638,
    "s": 55.294,
    "l": 50
  },
  "oklch": {
    "l": 0.48479,
    "c": 0.18614,
    "h": 269.9
  },
  "luminance": 0.10539
}

Semantic roles & 50–950 ramp

primary
#394FC6
secondary
#CDC38E
accent
#C749DF
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #394FC6

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

Preview Lab → · Contrast checker → · Palette generator →

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