#394FA5#394FA5

#394FA5 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.9% C 0.141 H 269.4°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#394FA5
RGBrgb(57, 79, 165)
HSLhsl(228, 49%, 44%)
HSVhsv(228, 65%, 65%)
CMYKcmyk(65.5%, 52.1%, 0%, 35.3%)
CIE-LABlab(36.32, 20.12, -49.06)
CIE-LCHlch(36.32, 53.03, 292.30°)
OKLaboklab(45.85% -0.0016 -0.1407)
OKLCHoklch(45.85% 0.141 269.4)
XYZxyz(11.2725, 9.1774, 36.7674)
Luminance0.0918 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394FA5 #A58F39
analogous
#3985A5 #394FA5 #5939A5
triadic
#394FA5 #A5394F #4FA539
tetradic
#394FA5 #A53985 #A58F39 #39A559
square
#394FA5 #A53985 #A58F39 #39A559
split-complementary
#394FA5 #A55939 #85A539
monochromatic
#1A234A #293978 #394FA5 #566DC5 #8494D4

Accessibility & contrast

On white

7.41
#394FA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#394FA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394FA5
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394FA5#FFFFFF#000000##FFFFFF
##394FA51.007.412.847.41
#FFFFFF7.411.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5BA8
Deuteranopia (green-blind)
#0051A3
Tritanopia (blue-blind)
#006372
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #394fa5;
/* rgb */ color: rgb(57, 79, 165);
/* oklch */ color: oklch(45.9% 0.141 269.4);
Tailwind
colors: {
  custom: {
    50: '#7b80c0',
    500: '#394fa5',
    950: '#000000',
  },
}
SCSS
$custom: #394fa5;
$custom-light: #7b80c0;
$custom-dark: #000000;
JSON
{
  "hex": "#394fa5",
  "rgb": {
    "r": 57,
    "g": 79,
    "b": 165
  },
  "hsl": {
    "h": 227.778,
    "s": 48.649,
    "l": 43.529
  },
  "oklch": {
    "l": 0.45854,
    "c": 0.14074,
    "h": 269.4
  },
  "luminance": 0.09178
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #394FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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