#394AA9#394AA9

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

Color values

HEX#394AA9
RGBrgb(57, 74, 169)
HSLhsl(231, 50%, 44%)
HSVhsv(231, 66%, 66%)
CMYKcmyk(66.3%, 56.2%, 0%, 33.7%)
CIE-LABlab(35.26, 24.86, -53.16)
CIE-LCHlch(35.26, 58.69, 295.06°)
OKLaboklab(45.15% 0.0034 -0.1529)
OKLCHoklch(45.15% 0.153 271.3)
XYZxyz(11.2951, 8.6310, 38.5991)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394AA9 #A99839
analogous
#3982A9 #394AA9 #6039A9
triadic
#394AA9 #A9394A #4AA939
tetradic
#394AA9 #A93982 #A99839 #39A960
square
#394AA9 #A93982 #A99839 #39A960
split-complementary
#394AA9 #A96039 #82A939
monochromatic
#1A224D #2A367B #394AA9 #5869C7 #8692D6

Accessibility & contrast

On white

7.70
#394AA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #394AA9
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394AA9#FFFFFF#000000##FFFFFF
##394AA91.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #394aa9;
/* rgb */ color: rgb(57, 74, 169);
/* oklch */ color: oklch(45.1% 0.153 271.3);
Tailwind
colors: {
  custom: {
    50: '#7c7cc3',
    500: '#394aa9',
    950: '#000000',
  },
}
SCSS
$custom: #394aa9;
$custom-light: #7c7cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#394aa9",
  "rgb": {
    "r": 57,
    "g": 74,
    "b": 169
  },
  "hsl": {
    "h": 230.893,
    "s": 49.558,
    "l": 44.314
  },
  "oklch": {
    "l": 0.45148,
    "c": 0.15291,
    "h": 271.3
  },
  "luminance": 0.08632
}

Semantic roles & 50–950 ramp

primary
#394AA9
secondary
#C0B67E
accent
#C44FD9
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #394AA9

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

Preview Lab → · Contrast checker → · Palette generator →

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