#394CB3#394CB3

#394CB3 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.3% C 0.164 H 270.7°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#394CB3
RGBrgb(57, 76, 179)
HSLhsl(231, 52%, 46%)
HSVhsv(231, 68%, 70%)
CMYKcmyk(68.2%, 57.5%, 0%, 29.8%)
CIE-LABlab(36.54, 27.16, -57.03)
CIE-LCHlch(36.54, 63.16, 295.47°)
OKLaboklab(46.34% 0.002 -0.1642)
OKLCHoklch(46.34% 0.164 270.7)
XYZxyz(12.4057, 9.2922, 43.7789)
Luminance0.0929 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394CB3 #B3A039
analogous
#3989B3 #394CB3 #6339B3
triadic
#394CB3 #B3394C #4CB339
tetradic
#394CB3 #B33989 #B3A039 #39B363
square
#394CB3 #B33989 #B3A039 #39B363
split-complementary
#394CB3 #B36339 #89B339
monochromatic
#1B2556 #2A3885 #394CB3 #5E6FCC #8C98DA

Accessibility & contrast

On white

7.35
#394CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#394CB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394CB3
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394CB3#FFFFFF#000000##FFFFFF
##394CB31.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB6
Deuteranopia (green-blind)
#0051B1
Tritanopia (blue-blind)
#006578
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #394cb3;
/* rgb */ color: rgb(57, 76, 179);
/* oklch */ color: oklch(46.3% 0.164 270.7);
Tailwind
colors: {
  custom: {
    50: '#7e7dca',
    500: '#394cb3',
    950: '#000000',
  },
}
SCSS
$custom: #394cb3;
$custom-light: #7e7dca;
$custom-dark: #000000;
JSON
{
  "hex": "#394cb3",
  "rgb": {
    "r": 57,
    "g": 76,
    "b": 179
  },
  "hsl": {
    "h": 230.656,
    "s": 51.695,
    "l": 46.275
  },
  "oklch": {
    "l": 0.4634,
    "c": 0.16422,
    "h": 270.7
  },
  "luminance": 0.09293
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #394CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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