#394DB2#394DB2

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

Color values

HEX#394DB2
RGBrgb(57, 77, 178)
HSLhsl(230, 51%, 46%)
HSVhsv(230, 68%, 70%)
CMYKcmyk(68%, 56.7%, 0%, 30.2%)
CIE-LABlab(36.73, 26.15, -56.14)
CIE-LCHlch(36.73, 61.93, 294.98°)
OKLaboklab(46.46% 0.0011 -0.1616)
OKLCHoklch(46.46% 0.162 270.4)
XYZxyz(12.3744, 9.3908, 43.2713)
Luminance0.0939 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394DB2 #B29E39
analogous
#3989B2 #394DB2 #6139B2
triadic
#394DB2 #B2394D #4DB239
tetradic
#394DB2 #B23989 #B29E39 #39B261
square
#394DB2 #B23989 #B29E39 #39B261
split-complementary
#394DB2 #B26139 #89B239
monochromatic
#1B2555 #2A3984 #394DB2 #5D6FCB #8B98DA

Accessibility & contrast

On white

7.30
#394DB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#394DB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394DB2
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394DB2#FFFFFF#000000##FFFFFF
##394DB21.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB5
Deuteranopia (green-blind)
#0051B0
Tritanopia (blue-blind)
#006678
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #394db2;
/* rgb */ color: rgb(57, 77, 178);
/* oklch */ color: oklch(46.5% 0.162 270.4);
Tailwind
colors: {
  custom: {
    50: '#7e7eca',
    500: '#394db2',
    950: '#000000',
  },
}
SCSS
$custom: #394db2;
$custom-light: #7e7eca;
$custom-dark: #000000;
JSON
{
  "hex": "#394db2",
  "rgb": {
    "r": 57,
    "g": 77,
    "b": 178
  },
  "hsl": {
    "h": 230.083,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.46455,
    "c": 0.16158,
    "h": 270.4
  },
  "luminance": 0.09392
}

Semantic roles & 50–950 ramp

primary
#394DB2
secondary
#C4BA82
accent
#C34DDB
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #394DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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