#394EA9#394EA9

#394EA9 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.0% C 0.148 H 269.9°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#394EA9
RGBrgb(57, 78, 169)
HSLhsl(229, 50%, 44%)
HSVhsv(229, 66%, 66%)
CMYKcmyk(66.3%, 53.8%, 0%, 33.7%)
CIE-LABlab(36.33, 22.23, -51.43)
CIE-LCHlch(36.33, 56.03, 293.38°)
OKLaboklab(45.95% -0.0003 -0.1477)
OKLCHoklch(45.95% 0.148 269.9)
XYZxyz(11.5707, 9.1822, 38.6910)
Luminance0.0918 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394EA9 #A99439
analogous
#3986A9 #394EA9 #5C39A9
triadic
#394EA9 #A9394E #4EA939
tetradic
#394EA9 #A93986 #A99439 #39A95C
square
#394EA9 #A93986 #A99439 #39A95C
split-complementary
#394EA9 #A95C39 #86A939
monochromatic
#1A244D #2A397B #394EA9 #586DC7 #8695D6

Accessibility & contrast

On white

7.40
#394EA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #394EA9
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394EA9#FFFFFF#000000##FFFFFF
##394EA91.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#105BAC
Deuteranopia (green-blind)
#0051A7
Tritanopia (blue-blind)
#006474
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #394ea9;
/* rgb */ color: rgb(57, 78, 169);
/* oklch */ color: oklch(46.0% 0.148 269.9);
Tailwind
colors: {
  custom: {
    50: '#7c7fc3',
    500: '#394ea9',
    950: '#000000',
  },
}
SCSS
$custom: #394ea9;
$custom-light: #7c7fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#394ea9",
  "rgb": {
    "r": 57,
    "g": 78,
    "b": 169
  },
  "hsl": {
    "h": 228.75,
    "s": 49.558,
    "l": 44.314
  },
  "oklch": {
    "l": 0.45951,
    "c": 0.14772,
    "h": 269.9
  },
  "luminance": 0.09183
}

Semantic roles & 50–950 ramp

primary
#394EA9
secondary
#C0B47E
accent
#BF4FD9
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #394EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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