#394AAA#394AAA

#394AAA is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.2% C 0.154 H 271.3°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#394AAA
RGBrgb(57, 74, 170)
HSLhsl(231, 50%, 45%)
HSVhsv(231, 66%, 67%)
CMYKcmyk(66.5%, 56.5%, 0%, 33.3%)
CIE-LABlab(35.34, 25.22, -53.64)
CIE-LCHlch(35.34, 59.27, 295.18°)
OKLaboklab(45.23% 0.0035 -0.1543)
OKLCHoklch(45.23% 0.154 271.3)
XYZxyz(11.3894, 8.6687, 39.0954)
Luminance0.0867 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394AAA #AA9939
analogous
#3983AA #394AAA #6039AA
triadic
#394AAA #AA394A #4AAA39
tetradic
#394AAA #AA3983 #AA9939 #39AA60
square
#394AAA #AA3983 #AA9939 #39AA60
split-complementary
#394AAA #AA6039 #83AA39
monochromatic
#1A224E #2A367C #394AAA #596AC7 #8793D7

Accessibility & contrast

On white

7.68
#394AAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#394AAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394AAA
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394AAA#FFFFFF#000000##FFFFFF
##394AAA1.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AD
Deuteranopia (green-blind)
#004EA8
Tritanopia (blue-blind)
#006172
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #394aaa;
/* rgb */ color: rgb(57, 74, 170);
/* oklch */ color: oklch(45.2% 0.154 271.3);
Tailwind
colors: {
  custom: {
    50: '#7c7cc4',
    500: '#394aaa',
    950: '#000000',
  },
}
SCSS
$custom: #394aaa;
$custom-light: #7c7cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#394aaa",
  "rgb": {
    "r": 57,
    "g": 74,
    "b": 170
  },
  "hsl": {
    "h": 230.973,
    "s": 49.78,
    "l": 44.51
  },
  "oklch": {
    "l": 0.45227,
    "c": 0.15431,
    "h": 271.3
  },
  "luminance": 0.0867
}

Semantic roles & 50–950 ramp

primary
#394AAA
secondary
#C1B77E
accent
#C44ED9
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #394AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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