#394DC8#394DC8

#394DC8 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 48.3% C 0.191 H 270.4°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#394DC8
RGBrgb(57, 77, 200)
HSLhsl(232, 57%, 50%)
HSVhsv(232, 72%, 78%)
CMYKcmyk(71.5%, 61.5%, 0%, 21.6%)
CIE-LABlab(38.46, 34.04, -66.21)
CIE-LCHlch(38.46, 74.45, 297.21°)
OKLaboklab(48.28% 0.0012 -0.1912)
OKLCHoklch(48.28% 0.191 270.4)
XYZxyz(14.7630, 10.3462, 55.8514)
Luminance0.1035 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394DC8 #C8B439
analogous
#3995C8 #394DC8 #6C39C8
triadic
#394DC8 #C8394D #4DC839
tetradic
#394DC8 #C83995 #C8B439 #39C86C
square
#394DC8 #C83995 #C8B439 #39C86C
split-complementary
#394DC8 #C86C39 #95C839
monochromatic
#1D2869 #2B3A99 #394DC8 #6978D5 #99A3E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##394DC8#FFFFFF#000000##FFFFFF
##394DC81.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)
#0061CC
Deuteranopia (green-blind)
#0054C6
Tritanopia (blue-blind)
#006C83
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #394dc8;
/* rgb */ color: rgb(57, 77, 200);
/* oklch */ color: oklch(48.3% 0.191 270.4);
Tailwind
colors: {
  custom: {
    50: '#837eda',
    500: '#394dc8',
    950: '#000000',
  },
}
SCSS
$custom: #394dc8;
$custom-light: #837eda;
$custom-dark: #000000;
JSON
{
  "hex": "#394dc8",
  "rgb": {
    "r": 57,
    "g": 77,
    "b": 200
  },
  "hsl": {
    "h": 231.608,
    "s": 56.522,
    "l": 50.392
  },
  "oklch": {
    "l": 0.48283,
    "c": 0.19116,
    "h": 270.4
  },
  "luminance": 0.10348
}

Semantic roles & 50–950 ramp

primary
#394DC8
secondary
#CEC58F
accent
#CB48E0
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #394DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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