#394AD4#394AD4

#394AD4 is a mid, highly saturated blue. Relative luminance 0.105; OKLCH L 48.8% C 0.210 H 270.7°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#394AD4
RGBrgb(57, 74, 212)
HSLhsl(233, 64%, 53%)
HSVhsv(233, 73%, 83%)
CMYKcmyk(73.1%, 65.1%, 0%, 16.9%)
CIE-LABlab(38.76, 40.14, -72.65)
CIE-LCHlch(38.76, 83.00, 298.92°)
OKLaboklab(48.82% 0.0026 -0.2101)
OKLCHoklch(48.82% 0.21 270.7)
XYZxyz(16.0157, 10.5192, 63.4609)
Luminance0.1052 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394AD4 #D4C339
analogous
#3998D4 #394AD4 #7539D4
triadic
#394AD4 #D4394A #4AD439
tetradic
#394AD4 #D43998 #D4C339 #39D475
square
#394AD4 #D43998 #D4C339 #39D475
split-complementary
#394AD4 #D47539 #98D439
monochromatic
#1A2478 #2534AB #394AD4 #6B78DF #9EA6EA

Accessibility & contrast

On white

6.77
#394AD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#394AD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #394AD4
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394AD4#FFFFFF#000000##FFFFFF
##394AD41.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D8
Deuteranopia (green-blind)
#0054D1
Tritanopia (blue-blind)
#006F88
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #394ad4;
/* rgb */ color: rgb(57, 74, 212);
/* oklch */ color: oklch(48.8% 0.210 270.7);
Tailwind
colors: {
  custom: {
    50: '#857ce2',
    500: '#394ad4',
    950: '#000000',
  },
}
SCSS
$custom: #394ad4;
$custom-light: #857ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#394ad4",
  "rgb": {
    "r": 57,
    "g": 74,
    "b": 212
  },
  "hsl": {
    "h": 233.419,
    "s": 64.315,
    "l": 52.745
  },
  "oklch": {
    "l": 0.48818,
    "c": 0.21009,
    "h": 270.7
  },
  "luminance": 0.10521
}

Semantic roles & 50–950 ramp

primary
#394AD4
secondary
#D6CF93
accent
#D540E7
background
#F9F7FE
surface
#F1EEFC
border
#CBC9D5
text
#0D0916
muted
#7E7B84

Preview Lab

Preview with #394AD4

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

Preview Lab → · Contrast checker → · Palette generator →

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