#394BB0#394BB0

#394BB0 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.9% C 0.161 H 271.0°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#394BB0
RGBrgb(57, 75, 176)
HSLhsl(231, 51%, 46%)
HSVhsv(231, 68%, 69%)
CMYKcmyk(67.6%, 57.4%, 0%, 31%)
CIE-LABlab(36.05, 26.73, -56.05)
CIE-LCHlch(36.05, 62.09, 295.50°)
OKLaboklab(45.9% 0.0028 -0.1613)
OKLCHoklch(45.9% 0.161 271)
XYZxyz(12.0372, 9.0355, 42.1755)
Luminance0.0904 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394BB0 #B09E39
analogous
#3986B0 #394BB0 #6239B0
triadic
#394BB0 #B0394B #4BB039
tetradic
#394BB0 #B03986 #B09E39 #39B062
square
#394BB0 #B03986 #B09E39 #39B062
split-complementary
#394BB0 #B06239 #86B039
monochromatic
#1B2454 #2A3782 #394BB0 #5C6DCA #8A96D9

Accessibility & contrast

On white

7.48
#394BB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#394BB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394BB0
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394BB0#FFFFFF#000000##FFFFFF
##394BB01.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB3
Deuteranopia (green-blind)
#0050AE
Tritanopia (blue-blind)
#006476
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #394bb0;
/* rgb */ color: rgb(57, 75, 176);
/* oklch */ color: oklch(45.9% 0.161 271.0);
Tailwind
colors: {
  custom: {
    50: '#7e7dc8',
    500: '#394bb0',
    950: '#000000',
  },
}
SCSS
$custom: #394bb0;
$custom-light: #7e7dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#394bb0",
  "rgb": {
    "r": 57,
    "g": 75,
    "b": 176
  },
  "hsl": {
    "h": 230.924,
    "s": 51.073,
    "l": 45.686
  },
  "oklch": {
    "l": 0.45904,
    "c": 0.16136,
    "h": 271
  },
  "luminance": 0.09037
}

Semantic roles & 50–950 ramp

primary
#394BB0
secondary
#C4B981
accent
#C54DDB
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #394BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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