#394AA8#394AA8

#394AA8 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.1% C 0.152 H 271.3°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#394AA8
RGBrgb(57, 74, 168)
HSLhsl(231, 49%, 44%)
HSVhsv(231, 66%, 66%)
CMYKcmyk(66.1%, 56%, 0%, 34.1%)
CIE-LABlab(35.19, 24.50, -52.68)
CIE-LCHlch(35.19, 58.10, 294.94°)
OKLaboklab(45.07% 0.0034 -0.1515)
OKLCHoklch(45.07% 0.152 271.3)
XYZxyz(11.2016, 8.5936, 38.1066)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394AA8 #A89739
analogous
#3982A8 #394AA8 #6039A8
triadic
#394AA8 #A8394A #4AA839
tetradic
#394AA8 #A83982 #A89739 #39A860
square
#394AA8 #A83982 #A89739 #39A860
split-complementary
#394AA8 #A86039 #82A839
monochromatic
#1A224D #29367A #394AA8 #5869C6 #8692D6

Accessibility & contrast

On white

7.72
#394AA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#394AA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394AA8
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394AA8#FFFFFF#000000##FFFFFF
##394AA81.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AB
Deuteranopia (green-blind)
#004EA6
Tritanopia (blue-blind)
#006171
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #394aa8;
/* rgb */ color: rgb(57, 74, 168);
/* oklch */ color: oklch(45.1% 0.152 271.3);
Tailwind
colors: {
  custom: {
    50: '#7c7cc3',
    500: '#394aa8',
    950: '#000000',
  },
}
SCSS
$custom: #394aa8;
$custom-light: #7c7cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#394aa8",
  "rgb": {
    "r": 57,
    "g": 74,
    "b": 168
  },
  "hsl": {
    "h": 230.811,
    "s": 49.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.45069,
    "c": 0.15151,
    "h": 271.3
  },
  "luminance": 0.08595
}

Semantic roles & 50–950 ramp

primary
#394AA8
secondary
#C0B67D
accent
#C44FD9
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0912
muted
#7C7B81

Preview Lab

Preview with #394AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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