#394EA2#394EA2

#394EA2 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.4% C 0.138 H 269.6°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#394EA2
RGBrgb(57, 78, 162)
HSLhsl(228, 48%, 43%)
HSVhsv(228, 65%, 64%)
CMYKcmyk(64.8%, 51.9%, 0%, 36.5%)
CIE-LABlab(35.84, 19.70, -48.04)
CIE-LCHlch(35.84, 51.92, 292.29°)
OKLaboklab(45.42% -0.0009 -0.1377)
OKLCHoklch(45.42% 0.138 269.6)
XYZxyz(10.9311, 8.9263, 35.3223)
Luminance0.0893 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394EA2 #A28D39
analogous
#3982A2 #394EA2 #5839A2
triadic
#394EA2 #A2394E #4EA239
tetradic
#394EA2 #A23982 #A28D39 #39A258
square
#394EA2 #A23982 #A28D39 #39A258
split-complementary
#394EA2 #A25839 #82A239
monochromatic
#192247 #293875 #394EA2 #556BC3 #8292D3

Accessibility & contrast

On white

7.54
#394EA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#394EA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394EA2
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394EA2#FFFFFF#000000##FFFFFF
##394EA21.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D59A5
Deuteranopia (green-blind)
#0050A0
Tritanopia (blue-blind)
#006270
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #394ea2;
/* rgb */ color: rgb(57, 78, 162);
/* oklch */ color: oklch(45.4% 0.138 269.6);
Tailwind
colors: {
  custom: {
    50: '#7b7fbe',
    500: '#394ea2',
    950: '#000000',
  },
}
SCSS
$custom: #394ea2;
$custom-light: #7b7fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#394ea2",
  "rgb": {
    "r": 57,
    "g": 78,
    "b": 162
  },
  "hsl": {
    "h": 228,
    "s": 47.945,
    "l": 42.941
  },
  "oklch": {
    "l": 0.45424,
    "c": 0.13775,
    "h": 269.6
  },
  "luminance": 0.08927
}

Semantic roles & 50–950 ramp

primary
#394EA2
secondary
#BDAF7A
accent
#BC50D8
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #394EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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