#394CA5#394CA5

#394CA5 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.2% C 0.145 H 270.5°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#394CA5
RGBrgb(57, 76, 165)
HSLhsl(229, 49%, 44%)
HSVhsv(229, 65%, 65%)
CMYKcmyk(65.5%, 53.9%, 0%, 35.3%)
CIE-LABlab(35.51, 22.10, -50.38)
CIE-LCHlch(35.51, 55.01, 293.68°)
OKLaboklab(45.24% 0.0013 -0.1446)
OKLCHoklch(45.24% 0.145 270.5)
XYZxyz(11.0610, 8.7544, 36.6969)
Luminance0.0876 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394CA5 #A59239
analogous
#3982A5 #394CA5 #5C39A5
triadic
#394CA5 #A5394C #4CA539
tetradic
#394CA5 #A53982 #A59239 #39A55C
square
#394CA5 #A53982 #A59239 #39A55C
split-complementary
#394CA5 #A55C39 #82A539
monochromatic
#1A224A #293778 #394CA5 #566AC5 #8492D4

Accessibility & contrast

On white

7.63
#394CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#394CA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394CA5
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394CA5#FFFFFF#000000##FFFFFF
##394CA51.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1059A8
Deuteranopia (green-blind)
#004FA3
Tritanopia (blue-blind)
#006171
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #394ca5;
/* rgb */ color: rgb(57, 76, 165);
/* oklch */ color: oklch(45.2% 0.145 270.5);
Tailwind
colors: {
  custom: {
    50: '#7b7dc0',
    500: '#394ca5',
    950: '#000000',
  },
}
SCSS
$custom: #394ca5;
$custom-light: #7b7dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#394ca5",
  "rgb": {
    "r": 57,
    "g": 76,
    "b": 165
  },
  "hsl": {
    "h": 229.444,
    "s": 48.649,
    "l": 43.529
  },
  "oklch": {
    "l": 0.45238,
    "c": 0.14466,
    "h": 270.5
  },
  "luminance": 0.08755
}

Semantic roles & 50–950 ramp

primary
#394CA5
secondary
#BEB37B
accent
#C050D8
background
#F8F7FB
surface
#EFEEF7
border
#CAC9D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #394CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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