#394BB2#394BB2

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

Color values

HEX#394BB2
RGBrgb(57, 75, 178)
HSLhsl(231, 51%, 46%)
HSVhsv(231, 68%, 70%)
CMYKcmyk(68%, 57.9%, 0%, 30.2%)
CIE-LABlab(36.21, 27.45, -56.98)
CIE-LCHlch(36.21, 63.25, 295.72°)
OKLaboklab(46.07% 0.0028 -0.1641)
OKLCHoklch(46.07% 0.164 271)
XYZxyz(12.2366, 9.1152, 43.2254)
Luminance0.0912 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394BB2 #B2A039
analogous
#3987B2 #394BB2 #6339B2
triadic
#394BB2 #B2394B #4BB239
tetradic
#394BB2 #B23987 #B2A039 #39B263
square
#394BB2 #B23987 #B2A039 #39B263
split-complementary
#394BB2 #B26339 #87B239
monochromatic
#1B2455 #2A3784 #394BB2 #5D6DCB #8B97DA

Accessibility & contrast

On white

7.44
#394BB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#394BB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394BB2
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394BB2#FFFFFF#000000##FFFFFF
##394BB21.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB5
Deuteranopia (green-blind)
#0050B0
Tritanopia (blue-blind)
#006477
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #394bb2;
/* rgb */ color: rgb(57, 75, 178);
/* oklch */ color: oklch(46.1% 0.164 271.0);
Tailwind
colors: {
  custom: {
    50: '#7e7dca',
    500: '#394bb2',
    950: '#000000',
  },
}
SCSS
$custom: #394bb2;
$custom-light: #7e7dca;
$custom-dark: #000000;
JSON
{
  "hex": "#394bb2",
  "rgb": {
    "r": 57,
    "g": 75,
    "b": 178
  },
  "hsl": {
    "h": 231.074,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.46066,
    "c": 0.16411,
    "h": 271
  },
  "luminance": 0.09116
}

Semantic roles & 50–950 ramp

primary
#394BB2
secondary
#C4BB82
accent
#C64DDB
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #394BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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