#394CA1#394CA1

#394CA1 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.9% C 0.139 H 270.4°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#394CA1
RGBrgb(57, 76, 161)
HSLhsl(229, 48%, 43%)
HSVhsv(229, 65%, 63%)
CMYKcmyk(64.6%, 52.8%, 0%, 36.9%)
CIE-LABlab(35.22, 20.65, -48.44)
CIE-LCHlch(35.22, 52.66, 293.09°)
OKLaboklab(44.94% 0.001 -0.1389)
OKLCHoklch(44.94% 0.139 270.4)
XYZxyz(10.7026, 8.6110, 34.8094)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394CA1 #A18E39
analogous
#3980A1 #394CA1 #5A39A1
triadic
#394CA1 #A1394C #4CA139
tetradic
#394CA1 #A13980 #A18E39 #39A15A
square
#394CA1 #A13980 #A18E39 #39A15A
split-complementary
#394CA1 #A15A39 #80A139
monochromatic
#192147 #293774 #394CA1 #5569C3 #8291D3

Accessibility & contrast

On white

7.71
#394CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#394CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394CA1
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394CA1#FFFFFF#000000##FFFFFF
##394CA11.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1858A4
Deuteranopia (green-blind)
#004E9F
Tritanopia (blue-blind)
#00606F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #394ca1;
/* rgb */ color: rgb(57, 76, 161);
/* oklch */ color: oklch(44.9% 0.139 270.4);
Tailwind
colors: {
  custom: {
    50: '#7a7dbd',
    500: '#394ca1',
    950: '#000000',
  },
}
SCSS
$custom: #394ca1;
$custom-light: #7a7dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#394ca1",
  "rgb": {
    "r": 57,
    "g": 76,
    "b": 161
  },
  "hsl": {
    "h": 229.038,
    "s": 47.706,
    "l": 42.745
  },
  "oklch": {
    "l": 0.44935,
    "c": 0.13894,
    "h": 270.4
  },
  "luminance": 0.08612
}

Semantic roles & 50–950 ramp

primary
#394CA1
secondary
#BCB079
accent
#BF50D7
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #394CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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