#394FA1#394FA1

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

Color values

HEX#394FA1
RGBrgb(57, 79, 161)
HSLhsl(227, 48%, 43%)
HSVhsv(227, 65%, 63%)
CMYKcmyk(64.6%, 50.9%, 0%, 36.9%)
CIE-LABlab(36.05, 18.67, -47.11)
CIE-LCHlch(36.05, 50.67, 291.62°)
OKLaboklab(45.56% -0.002 -0.135)
OKLCHoklch(45.56% 0.135 269.2)
XYZxyz(10.9142, 9.0341, 34.8799)
Luminance0.0903 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394FA1 #A18B39
analogous
#3983A1 #394FA1 #5739A1
triadic
#394FA1 #A1394F #4FA139
tetradic
#394FA1 #A13983 #A18B39 #39A157
square
#394FA1 #A13983 #A18B39 #39A157
split-complementary
#394FA1 #A15739 #83A139
monochromatic
#192347 #293974 #394FA1 #556CC3 #8293D3

Accessibility & contrast

On white

7.48
#394FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #394FA1
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394FA1#FFFFFF#000000##FFFFFF
##394FA11.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215AA4
Deuteranopia (green-blind)
#04509F
Tritanopia (blue-blind)
#006270
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #394fa1;
/* rgb */ color: rgb(57, 79, 161);
/* oklch */ color: oklch(45.6% 0.135 269.2);
Tailwind
colors: {
  custom: {
    50: '#7a80bd',
    500: '#394fa1',
    950: '#000000',
  },
}
SCSS
$custom: #394fa1;
$custom-light: #7a80bd;
$custom-dark: #000000;
JSON
{
  "hex": "#394fa1",
  "rgb": {
    "r": 57,
    "g": 79,
    "b": 161
  },
  "hsl": {
    "h": 227.308,
    "s": 47.706,
    "l": 42.745
  },
  "oklch": {
    "l": 0.45559,
    "c": 0.13499,
    "h": 269.2
  },
  "luminance": 0.09035
}

Semantic roles & 50–950 ramp

primary
#394FA1
secondary
#BCAE79
accent
#BB50D7
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #394FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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