#394FC2#394FC2

#394FC2 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.1% C 0.181 H 269.9°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#394FC2
RGBrgb(57, 79, 194)
HSLhsl(230, 55%, 49%)
HSVhsv(230, 71%, 76%)
CMYKcmyk(70.6%, 59.3%, 0%, 23.9%)
CIE-LABlab(38.47, 30.62, -62.69)
CIE-LCHlch(38.47, 69.77, 296.03°)
OKLaboklab(48.14% -0.0002 -0.1808)
OKLCHoklch(48.14% 0.181 269.9)
XYZxyz(14.2176, 10.3554, 52.2780)
Luminance0.1036 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394FC2 #C2AC39
analogous
#3994C2 #394FC2 #6839C2
triadic
#394FC2 #C2394F #4FC239
tetradic
#394FC2 #C23994 #C2AC39 #39C268
square
#394FC2 #C23994 #C2AC39 #39C268
split-complementary
#394FC2 #C26839 #94C239
monochromatic
#1D2863 #2B3C93 #394FC2 #6677D2 #95A1E0

Accessibility & contrast

On white

6.84
#394FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#394FC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #394FC2
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394FC2#FFFFFF#000000##FFFFFF
##394FC21.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C6
Deuteranopia (green-blind)
#0054C0
Tritanopia (blue-blind)
#006C81
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #394fc2;
/* rgb */ color: rgb(57, 79, 194);
/* oklch */ color: oklch(48.1% 0.181 269.9);
Tailwind
colors: {
  custom: {
    50: '#8180d5',
    500: '#394fc2',
    950: '#000000',
  },
}
SCSS
$custom: #394fc2;
$custom-light: #8180d5;
$custom-dark: #000000;
JSON
{
  "hex": "#394fc2",
  "rgb": {
    "r": 57,
    "g": 79,
    "b": 194
  },
  "hsl": {
    "h": 230.365,
    "s": 54.582,
    "l": 49.216
  },
  "oklch": {
    "l": 0.48144,
    "c": 0.18082,
    "h": 269.9
  },
  "luminance": 0.10357
}

Semantic roles & 50–950 ramp

primary
#394FC2
secondary
#CBC18B
accent
#C64ADE
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #394FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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