#394DA7#394DA7

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

Color values

HEX#394DA7
RGBrgb(57, 77, 167)
HSLhsl(229, 49%, 44%)
HSVhsv(229, 66%, 65%)
CMYKcmyk(65.9%, 53.9%, 0%, 34.5%)
CIE-LABlab(35.92, 22.17, -50.91)
CIE-LCHlch(35.92, 55.52, 293.53°)
OKLaboklab(45.59% 0.0005 -0.1462)
OKLCHoklch(45.59% 0.146 270.2)
XYZxyz(11.3139, 8.9666, 37.6862)
Luminance0.0897 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394DA7 #A79339
analogous
#3984A7 #394DA7 #5C39A7
triadic
#394DA7 #A7394D #4DA739
tetradic
#394DA7 #A73984 #A79339 #39A75C
square
#394DA7 #A73984 #A79339 #39A75C
split-complementary
#394DA7 #A75C39 #84A739
monochromatic
#1A234C #293879 #394DA7 #576BC6 #8594D5

Accessibility & contrast

On white

7.52
#394DA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#394DA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394DA7
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394DA7#FFFFFF#000000##FFFFFF
##394DA71.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#105AAA
Deuteranopia (green-blind)
#0050A5
Tritanopia (blue-blind)
#006272
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #394da7;
/* rgb */ color: rgb(57, 77, 167);
/* oklch */ color: oklch(45.6% 0.146 270.2);
Tailwind
colors: {
  custom: {
    50: '#7c7ec2',
    500: '#394da7',
    950: '#000000',
  },
}
SCSS
$custom: #394da7;
$custom-light: #7c7ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#394da7",
  "rgb": {
    "r": 57,
    "g": 77,
    "b": 167
  },
  "hsl": {
    "h": 229.091,
    "s": 49.107,
    "l": 43.922
  },
  "oklch": {
    "l": 0.45594,
    "c": 0.14619,
    "h": 270.2
  },
  "luminance": 0.08968
}

Semantic roles & 50–950 ramp

primary
#394DA7
secondary
#BFB37D
accent
#C04FD9
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #394DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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