#394EB2#394EB2

#394EB2 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.7% C 0.160 H 270.1°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#394EB2
RGBrgb(57, 78, 178)
HSLhsl(230, 51%, 46%)
HSVhsv(230, 68%, 70%)
CMYKcmyk(68%, 56.2%, 0%, 30.2%)
CIE-LABlab(36.99, 25.50, -55.71)
CIE-LCHlch(36.99, 61.27, 294.59°)
OKLaboklab(46.65% 0.0003 -0.1603)
OKLCHoklch(46.65% 0.16 270.1)
XYZxyz(12.4449, 9.5318, 43.2948)
Luminance0.0953 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394EB2 #B29D39
analogous
#398AB2 #394EB2 #6039B2
triadic
#394EB2 #B2394E #4EB239
tetradic
#394EB2 #B2398A #B29D39 #39B260
square
#394EB2 #B2398A #B29D39 #39B260
split-complementary
#394EB2 #B26039 #8AB239
monochromatic
#1B2555 #2A3A84 #394EB2 #5D70CB #8B99DA

Accessibility & contrast

On white

7.22
#394EB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#394EB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394EB2
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394EB2#FFFFFF#000000##FFFFFF
##394EB21.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB5
Deuteranopia (green-blind)
#0052B0
Tritanopia (blue-blind)
#006678
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #394eb2;
/* rgb */ color: rgb(57, 78, 178);
/* oklch */ color: oklch(46.7% 0.160 270.1);
Tailwind
colors: {
  custom: {
    50: '#7e7fca',
    500: '#394eb2',
    950: '#000000',
  },
}
SCSS
$custom: #394eb2;
$custom-light: #7e7fca;
$custom-dark: #000000;
JSON
{
  "hex": "#394eb2",
  "rgb": {
    "r": 57,
    "g": 78,
    "b": 178
  },
  "hsl": {
    "h": 229.587,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.46651,
    "c": 0.16031,
    "h": 270.1
  },
  "luminance": 0.09533
}

Semantic roles & 50–950 ramp

primary
#394EB2
secondary
#C4B982
accent
#C24DDB
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #394EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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