#394FA3#394FA3

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

Color values

HEX#394FA3
RGBrgb(57, 79, 163)
HSLhsl(228, 48%, 43%)
HSVhsv(228, 65%, 64%)
CMYKcmyk(65%, 51.5%, 0%, 36.1%)
CIE-LABlab(36.19, 19.40, -48.08)
CIE-LCHlch(36.19, 51.85, 291.97°)
OKLaboklab(45.71% -0.0018 -0.1379)
OKLCHoklch(45.71% 0.138 269.3)
XYZxyz(11.0919, 9.1052, 35.8162)
Luminance0.0911 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394FA3 #A38D39
analogous
#3984A3 #394FA3 #5839A3
triadic
#394FA3 #A3394F #4FA339
tetradic
#394FA3 #A33984 #A38D39 #39A358
square
#394FA3 #A33984 #A38D39 #39A358
split-complementary
#394FA3 #A35839 #84A339
monochromatic
#192348 #293976 #394FA3 #556CC4 #8394D4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##394FA3#FFFFFF#000000##FFFFFF
##394FA31.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)
#1F5AA6
Deuteranopia (green-blind)
#0051A1
Tritanopia (blue-blind)
#006371
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #394fa3;
/* rgb */ color: rgb(57, 79, 163);
/* oklch */ color: oklch(45.7% 0.138 269.3);
Tailwind
colors: {
  custom: {
    50: '#7b80bf',
    500: '#394fa3',
    950: '#000000',
  },
}
SCSS
$custom: #394fa3;
$custom-light: #7b80bf;
$custom-dark: #000000;
JSON
{
  "hex": "#394fa3",
  "rgb": {
    "r": 57,
    "g": 79,
    "b": 163
  },
  "hsl": {
    "h": 227.547,
    "s": 48.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.45706,
    "c": 0.13787,
    "h": 269.3
  },
  "luminance": 0.09106
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #394FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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