#394DB3#394DB3

#394DB3 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.5% C 0.163 H 270.4°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#394DB3
RGBrgb(57, 77, 179)
HSLhsl(230, 52%, 46%)
HSVhsv(230, 68%, 70%)
CMYKcmyk(68.2%, 57%, 0%, 29.8%)
CIE-LABlab(36.80, 26.51, -56.60)
CIE-LCHlch(36.80, 62.50, 295.09°)
OKLaboklab(46.54% 0.0012 -0.163)
OKLCHoklch(46.54% 0.163 270.4)
XYZxyz(12.4751, 9.4311, 43.8020)
Luminance0.0943 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394DB3 #B39F39
analogous
#398AB3 #394DB3 #6239B3
triadic
#394DB3 #B3394D #4DB339
tetradic
#394DB3 #B3398A #B39F39 #39B362
square
#394DB3 #B3398A #B39F39 #39B362
split-complementary
#394DB3 #B36239 #8AB339
monochromatic
#1B2556 #2A3985 #394DB3 #5E70CC #8C99DA

Accessibility & contrast

On white

7.28
#394DB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#394DB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394DB3
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394DB3#FFFFFF#000000##FFFFFF
##394DB31.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #394db3;
/* rgb */ color: rgb(57, 77, 179);
/* oklch */ color: oklch(46.5% 0.163 270.4);
Tailwind
colors: {
  custom: {
    50: '#7e7eca',
    500: '#394db3',
    950: '#000000',
  },
}
SCSS
$custom: #394db3;
$custom-light: #7e7eca;
$custom-dark: #000000;
JSON
{
  "hex": "#394db3",
  "rgb": {
    "r": 57,
    "g": 77,
    "b": 179
  },
  "hsl": {
    "h": 230.164,
    "s": 51.695,
    "l": 46.275
  },
  "oklch": {
    "l": 0.46535,
    "c": 0.16296,
    "h": 270.4
  },
  "luminance": 0.09432
}

Semantic roles & 50–950 ramp

primary
#394DB3
secondary
#C5BA83
accent
#C44DDB
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #394DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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