#394CAA#394CAA

#394CAA is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.6% C 0.152 H 270.6°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#394CAA
RGBrgb(57, 76, 170)
HSLhsl(230, 50%, 45%)
HSVhsv(230, 66%, 67%)
CMYKcmyk(66.5%, 55.3%, 0%, 33.3%)
CIE-LABlab(35.87, 23.91, -52.78)
CIE-LCHlch(35.87, 57.94, 294.37°)
OKLaboklab(45.62% 0.0016 -0.1517)
OKLCHoklch(45.62% 0.152 270.6)
XYZxyz(11.5250, 8.9400, 39.1406)
Luminance0.0894 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394CAA #AA9739
analogous
#3984AA #394CAA #5F39AA
triadic
#394CAA #AA394C #4CAA39
tetradic
#394CAA #AA3984 #AA9739 #39AA5F
square
#394CAA #AA3984 #AA9739 #39AA5F
split-complementary
#394CAA #AA5F39 #84AA39
monochromatic
#1A234E #2A387C #394CAA #596BC7 #8794D7

Accessibility & contrast

On white

7.53
#394CAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#394CAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394CAA
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394CAA#FFFFFF#000000##FFFFFF
##394CAA1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AAD
Deuteranopia (green-blind)
#004FA8
Tritanopia (blue-blind)
#006273
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #394caa;
/* rgb */ color: rgb(57, 76, 170);
/* oklch */ color: oklch(45.6% 0.152 270.6);
Tailwind
colors: {
  custom: {
    50: '#7c7dc4',
    500: '#394caa',
    950: '#000000',
  },
}
SCSS
$custom: #394caa;
$custom-light: #7c7dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#394caa",
  "rgb": {
    "r": 57,
    "g": 76,
    "b": 170
  },
  "hsl": {
    "h": 229.912,
    "s": 49.78,
    "l": 44.51
  },
  "oklch": {
    "l": 0.45624,
    "c": 0.15172,
    "h": 270.6
  },
  "luminance": 0.08941
}

Semantic roles & 50–950 ramp

primary
#394CAA
secondary
#C1B67E
accent
#C24ED9
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #394CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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