#394FC7#394FC7

#394FC7 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.6% C 0.187 H 269.9°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#394FC7
RGBrgb(57, 79, 199)
HSLhsl(231, 56%, 50%)
HSVhsv(231, 71%, 78%)
CMYKcmyk(71.4%, 60.3%, 0%, 22%)
CIE-LABlab(38.87, 32.42, -64.95)
CIE-LCHlch(38.87, 72.59, 296.52°)
OKLaboklab(48.56% -0.0002 -0.1875)
OKLCHoklch(48.56% 0.187 269.9)
XYZxyz(14.7886, 10.5838, 55.2853)
Luminance0.1058 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394FC7 #C7B139
analogous
#3996C7 #394FC7 #6A39C7
triadic
#394FC7 #C7394F #4FC739
tetradic
#394FC7 #C73996 #C7B139 #39C76A
square
#394FC7 #C73996 #C7B139 #39C76A
split-complementary
#394FC7 #C76A39 #96C739
monochromatic
#1D2968 #2B3C98 #394FC7 #6979D4 #98A4E2

Accessibility & contrast

On white

6.74
#394FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#394FC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #394FC7
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394FC7#FFFFFF#000000##FFFFFF
##394FC71.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CB
Deuteranopia (green-blind)
#0055C5
Tritanopia (blue-blind)
#006D83
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #394fc7;
/* rgb */ color: rgb(57, 79, 199);
/* oklch */ color: oklch(48.6% 0.187 269.9);
Tailwind
colors: {
  custom: {
    50: '#8280d9',
    500: '#394fc7',
    950: '#000000',
  },
}
SCSS
$custom: #394fc7;
$custom-light: #8280d9;
$custom-dark: #000000;
JSON
{
  "hex": "#394fc7",
  "rgb": {
    "r": 57,
    "g": 79,
    "b": 199
  },
  "hsl": {
    "h": 230.704,
    "s": 55.906,
    "l": 50.196
  },
  "oklch": {
    "l": 0.48564,
    "c": 0.18746,
    "h": 269.9
  },
  "luminance": 0.10585
}

Semantic roles & 50–950 ramp

primary
#394FC7
secondary
#CEC48E
accent
#C849DF
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #394FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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