#394FA6#394FA6

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

Color values

HEX#394FA6
RGBrgb(57, 79, 166)
HSLhsl(228, 49%, 44%)
HSVhsv(228, 66%, 65%)
CMYKcmyk(65.7%, 52.4%, 0%, 34.9%)
CIE-LABlab(36.39, 20.49, -49.54)
CIE-LCHlch(36.39, 53.61, 292.47°)
OKLaboklab(45.93% -0.0015 -0.1422)
OKLCHoklch(45.93% 0.142 269.4)
XYZxyz(11.3639, 9.2140, 37.2486)
Luminance0.0921 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394FA6 #A69039
analogous
#3985A6 #394FA6 #5939A6
triadic
#394FA6 #A6394F #4FA639
tetradic
#394FA6 #A63985 #A69039 #39A659
square
#394FA6 #A63985 #A69039 #39A659
split-complementary
#394FA6 #A65939 #85A639
monochromatic
#1A244B #293978 #394FA6 #576DC5 #8495D5

Accessibility & contrast

On white

7.39
#394FA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #394FA6
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394FA6#FFFFFF#000000##FFFFFF
##394FA61.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5BA9
Deuteranopia (green-blind)
#0051A4
Tritanopia (blue-blind)
#006373
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #394fa6;
/* rgb */ color: rgb(57, 79, 166);
/* oklch */ color: oklch(45.9% 0.142 269.4);
Tailwind
colors: {
  custom: {
    50: '#7b80c1',
    500: '#394fa6',
    950: '#000000',
  },
}
SCSS
$custom: #394fa6;
$custom-light: #7b80c1;
$custom-dark: #000000;
JSON
{
  "hex": "#394fa6",
  "rgb": {
    "r": 57,
    "g": 79,
    "b": 166
  },
  "hsl": {
    "h": 227.89,
    "s": 48.879,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45929,
    "c": 0.14217,
    "h": 269.4
  },
  "luminance": 0.09215
}

Semantic roles & 50–950 ramp

primary
#394FA6
secondary
#BFB17C
accent
#BD4FD8
background
#F8F7FB
surface
#EFEEF7
border
#CAC9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #394FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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