#394DCA#394DCA

#394DCA is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.5% C 0.194 H 270.3°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#394DCA
RGBrgb(57, 77, 202)
HSLhsl(232, 58%, 51%)
HSVhsv(232, 72%, 79%)
CMYKcmyk(71.8%, 61.9%, 0%, 20.8%)
CIE-LABlab(38.62, 34.75, -67.10)
CIE-LCHlch(38.62, 75.57, 297.38°)
OKLaboklab(48.46% 0.0012 -0.1938)
OKLCHoklch(48.46% 0.194 270.3)
XYZxyz(14.9983, 10.4403, 57.0904)
Luminance0.1044 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394DCA #CAB639
analogous
#3995CA #394DCA #6D39CA
triadic
#394DCA #CA394D #4DCA39
tetradic
#394DCA #CA3995 #CAB639 #39CA6D
square
#394DCA #CA3995 #CAB639 #39CA6D
split-complementary
#394DCA #CA6D39 #95CA39
monochromatic
#1D286C #2A3A9C #394DCA #6978D7 #9AA4E4

Accessibility & contrast

On white

6.80
#394DCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#394DCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #394DCA
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394DCA#FFFFFF#000000##FFFFFF
##394DCA1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CE
Deuteranopia (green-blind)
#0054C8
Tritanopia (blue-blind)
#006D84
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #394dca;
/* rgb */ color: rgb(57, 77, 202);
/* oklch */ color: oklch(48.5% 0.194 270.3);
Tailwind
colors: {
  custom: {
    50: '#837edb',
    500: '#394dca',
    950: '#000000',
  },
}
SCSS
$custom: #394dca;
$custom-light: #837edb;
$custom-dark: #000000;
JSON
{
  "hex": "#394dca",
  "rgb": {
    "r": 57,
    "g": 77,
    "b": 202
  },
  "hsl": {
    "h": 231.724,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.48455,
    "c": 0.19378,
    "h": 270.3
  },
  "luminance": 0.10442
}

Semantic roles & 50–950 ramp

primary
#394DCA
secondary
#D0C78F
accent
#CC47E1
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #394DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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