#394DCC#394DCC

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

Color values

HEX#394DCC
RGBrgb(57, 77, 204)
HSLhsl(232, 59%, 51%)
HSVhsv(232, 72%, 80%)
CMYKcmyk(72.1%, 62.3%, 0%, 20%)
CIE-LABlab(38.79, 35.46, -67.99)
CIE-LCHlch(38.79, 76.68, 297.55°)
OKLaboklab(48.63% 0.0011 -0.1964)
OKLCHoklch(48.63% 0.196 270.3)
XYZxyz(15.2366, 10.5357, 58.3456)
Luminance0.1054 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394DCC #CCB839
analogous
#3996CC #394DCC #6E39CC
triadic
#394DCC #CC394D #4DCC39
tetradic
#394DCC #CC3996 #CCB839 #39CC6E
square
#394DCC #CC3996 #CCB839 #39CC6E
split-complementary
#394DCC #CC6E39 #96CC39
monochromatic
#1C286E #29399F #394DCC #6A79D9 #9AA4E5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##394DCC#FFFFFF#000000##FFFFFF
##394DCC1.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)
#0062D0
Deuteranopia (green-blind)
#0055CA
Tritanopia (blue-blind)
#006E85
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #394dcc;
/* rgb */ color: rgb(57, 77, 204);
/* oklch */ color: oklch(48.6% 0.196 270.3);
Tailwind
colors: {
  custom: {
    50: '#837edd',
    500: '#394dcc',
    950: '#000000',
  },
}
SCSS
$custom: #394dcc;
$custom-light: #837edd;
$custom-dark: #000000;
JSON
{
  "hex": "#394dcc",
  "rgb": {
    "r": 57,
    "g": 77,
    "b": 204
  },
  "hsl": {
    "h": 231.837,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.48629,
    "c": 0.19638,
    "h": 270.3
  },
  "luminance": 0.10537
}

Semantic roles & 50–950 ramp

primary
#394DCC
secondary
#D1C890
accent
#CD46E2
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #394DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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