#394DB9#394DB9

#394DB9 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.0% C 0.171 H 270.4°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#394DB9
RGBrgb(57, 77, 185)
HSLhsl(231, 53%, 47%)
HSVhsv(231, 69%, 73%)
CMYKcmyk(69.2%, 58.4%, 0%, 27.5%)
CIE-LABlab(37.26, 28.67, -59.40)
CIE-LCHlch(37.26, 65.95, 295.77°)
OKLaboklab(47.02% 0.0013 -0.1712)
OKLCHoklch(47.02% 0.171 270.4)
XYZxyz(13.0952, 9.6791, 47.0677)
Luminance0.0968 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394DB9 #B9A539
analogous
#398DB9 #394DB9 #6539B9
triadic
#394DB9 #B9394D #4DB939
tetradic
#394DB9 #B9398D #B9A539 #39B965
square
#394DB9 #B9398D #B9A539 #39B965
split-complementary
#394DB9 #B96539 #8DB939
monochromatic
#1C265B #2B3A8A #394DB9 #6172CE #909CDD

Accessibility & contrast

On white

7.15
#394DB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#394DB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394DB9
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394DB9#FFFFFF#000000##FFFFFF
##394DB91.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBD
Deuteranopia (green-blind)
#0052B7
Tritanopia (blue-blind)
#00687B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #394db9;
/* rgb */ color: rgb(57, 77, 185);
/* oklch */ color: oklch(47.0% 0.171 270.4);
Tailwind
colors: {
  custom: {
    50: '#7f7ecf',
    500: '#394db9',
    950: '#000000',
  },
}
SCSS
$custom: #394db9;
$custom-light: #7f7ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#394db9",
  "rgb": {
    "r": 57,
    "g": 77,
    "b": 185
  },
  "hsl": {
    "h": 230.625,
    "s": 52.893,
    "l": 47.451
  },
  "oklch": {
    "l": 0.47022,
    "c": 0.17116,
    "h": 270.4
  },
  "luminance": 0.0968
}

Semantic roles & 50–950 ramp

primary
#394DB9
secondary
#C8BD86
accent
#C64BDC
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #394DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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