#394CB2#394CB2

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

Color values

HEX#394CB2
RGBrgb(57, 76, 178)
HSLhsl(231, 51%, 46%)
HSVhsv(231, 68%, 70%)
CMYKcmyk(68%, 57.3%, 0%, 30.2%)
CIE-LABlab(36.46, 26.80, -56.56)
CIE-LCHlch(36.46, 62.59, 295.35°)
OKLaboklab(46.26% 0.002 -0.1628)
OKLCHoklch(46.26% 0.163 270.7)
XYZxyz(12.3049, 9.2519, 43.2482)
Luminance0.0925 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394CB2 #B29F39
analogous
#3988B2 #394CB2 #6339B2
triadic
#394CB2 #B2394C #4CB239
tetradic
#394CB2 #B23988 #B29F39 #39B263
square
#394CB2 #B23988 #B29F39 #39B263
split-complementary
#394CB2 #B26339 #88B239
monochromatic
#1B2455 #2A3884 #394CB2 #5D6ECB #8B98DA

Accessibility & contrast

On white

7.37
#394CB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#394CB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394CB2
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394CB2#FFFFFF#000000##FFFFFF
##394CB21.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #394cb2;
/* rgb */ color: rgb(57, 76, 178);
/* oklch */ color: oklch(46.3% 0.163 270.7);
Tailwind
colors: {
  custom: {
    50: '#7e7dca',
    500: '#394cb2',
    950: '#000000',
  },
}
SCSS
$custom: #394cb2;
$custom-light: #7e7dca;
$custom-dark: #000000;
JSON
{
  "hex": "#394cb2",
  "rgb": {
    "r": 57,
    "g": 76,
    "b": 178
  },
  "hsl": {
    "h": 230.579,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.46259,
    "c": 0.16285,
    "h": 270.7
  },
  "luminance": 0.09253
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #394CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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