#394BB3#394BB3

#394BB3 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.1% C 0.165 H 271.0°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#394BB3
RGBrgb(57, 75, 179)
HSLhsl(231, 52%, 46%)
HSVhsv(231, 68%, 70%)
CMYKcmyk(68.2%, 58.1%, 0%, 29.8%)
CIE-LABlab(36.28, 27.81, -57.45)
CIE-LCHlch(36.28, 63.82, 295.83°)
OKLaboklab(46.15% 0.0028 -0.1655)
OKLCHoklch(46.15% 0.165 271)
XYZxyz(12.3373, 9.1555, 43.7561)
Luminance0.0916 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394BB3 #B3A139
analogous
#3988B3 #394BB3 #6439B3
triadic
#394BB3 #B3394B #4BB339
tetradic
#394BB3 #B33988 #B3A139 #39B364
square
#394BB3 #B33988 #B3A139 #39B364
split-complementary
#394BB3 #B36439 #88B339
monochromatic
#1B2456 #2A3885 #394BB3 #5E6ECC #8C98DA

Accessibility & contrast

On white

7.42
#394BB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#394BB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394BB3
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394BB3#FFFFFF#000000##FFFFFF
##394BB31.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB7
Deuteranopia (green-blind)
#0050B1
Tritanopia (blue-blind)
#006577
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #394bb3;
/* rgb */ color: rgb(57, 75, 179);
/* oklch */ color: oklch(46.1% 0.165 271.0);
Tailwind
colors: {
  custom: {
    50: '#7e7dcb',
    500: '#394bb3',
    950: '#000000',
  },
}
SCSS
$custom: #394bb3;
$custom-light: #7e7dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#394bb3",
  "rgb": {
    "r": 57,
    "g": 75,
    "b": 179
  },
  "hsl": {
    "h": 231.148,
    "s": 51.695,
    "l": 46.275
  },
  "oklch": {
    "l": 0.46147,
    "c": 0.16548,
    "h": 271
  },
  "luminance": 0.09157
}

Semantic roles & 50–950 ramp

primary
#394BB3
secondary
#C5BB83
accent
#C64DDB
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #394BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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