#394FA2#394FA2

#394FA2 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.6% C 0.136 H 269.2°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#394FA2
RGBrgb(57, 79, 162)
HSLhsl(227, 48%, 43%)
HSVhsv(227, 65%, 64%)
CMYKcmyk(64.8%, 51.2%, 0%, 36.5%)
CIE-LABlab(36.12, 19.04, -47.60)
CIE-LCHlch(36.12, 51.26, 291.80°)
OKLaboklab(45.63% -0.0019 -0.1364)
OKLCHoklch(45.63% 0.136 269.2)
XYZxyz(11.0027, 9.0695, 35.3462)
Luminance0.0907 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394FA2 #A28C39
analogous
#3983A2 #394FA2 #5839A2
triadic
#394FA2 #A2394F #4FA239
tetradic
#394FA2 #A23983 #A28C39 #39A258
square
#394FA2 #A23983 #A28C39 #39A258
split-complementary
#394FA2 #A25839 #83A239
monochromatic
#192347 #293975 #394FA2 #556CC3 #8293D3

Accessibility & contrast

On white

7.46
#394FA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#394FA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394FA2
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394FA2#FFFFFF#000000##FFFFFF
##394FA21.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205AA5
Deuteranopia (green-blind)
#0050A0
Tritanopia (blue-blind)
#006271
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #394fa2;
/* rgb */ color: rgb(57, 79, 162);
/* oklch */ color: oklch(45.6% 0.136 269.2);
Tailwind
colors: {
  custom: {
    50: '#7b80be',
    500: '#394fa2',
    950: '#000000',
  },
}
SCSS
$custom: #394fa2;
$custom-light: #7b80be;
$custom-dark: #000000;
JSON
{
  "hex": "#394fa2",
  "rgb": {
    "r": 57,
    "g": 79,
    "b": 162
  },
  "hsl": {
    "h": 227.429,
    "s": 47.945,
    "l": 42.941
  },
  "oklch": {
    "l": 0.45632,
    "c": 0.13644,
    "h": 269.2
  },
  "luminance": 0.0907
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #394FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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