#394CA7#394CA7

#394CA7 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.4% C 0.147 H 270.6°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#394CA7
RGBrgb(57, 76, 167)
HSLhsl(230, 49%, 44%)
HSVhsv(230, 66%, 65%)
CMYKcmyk(65.9%, 54.5%, 0%, 34.5%)
CIE-LABlab(35.65, 22.82, -51.34)
CIE-LCHlch(35.65, 56.19, 293.97°)
OKLaboklab(45.39% 0.0015 -0.1475)
OKLCHoklch(45.39% 0.148 270.6)
XYZxyz(11.2445, 8.8277, 37.6631)
Luminance0.0883 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394CA7 #A79439
analogous
#3983A7 #394CA7 #5D39A7
triadic
#394CA7 #A7394C #4CA739
tetradic
#394CA7 #A73983 #A79439 #39A75D
square
#394CA7 #A73983 #A79439 #39A75D
split-complementary
#394CA7 #A75D39 #83A739
monochromatic
#1A224C #293779 #394CA7 #576AC6 #8593D5

Accessibility & contrast

On white

7.59
#394CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#394CA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394CA7
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394CA7#FFFFFF#000000##FFFFFF
##394CA71.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A59AA
Deuteranopia (green-blind)
#004FA5
Tritanopia (blue-blind)
#006272
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #394ca7;
/* rgb */ color: rgb(57, 76, 167);
/* oklch */ color: oklch(45.4% 0.147 270.6);
Tailwind
colors: {
  custom: {
    50: '#7c7dc2',
    500: '#394ca7',
    950: '#000000',
  },
}
SCSS
$custom: #394ca7;
$custom-light: #7c7dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#394ca7",
  "rgb": {
    "r": 57,
    "g": 76,
    "b": 167
  },
  "hsl": {
    "h": 229.636,
    "s": 49.107,
    "l": 43.922
  },
  "oklch": {
    "l": 0.45391,
    "c": 0.1475,
    "h": 270.6
  },
  "luminance": 0.08829
}

Semantic roles & 50–950 ramp

primary
#394CA7
secondary
#BFB47D
accent
#C14FD9
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #394CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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