#394CA9#394CA9

#394CA9 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.5% C 0.150 H 270.6°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#394CA9
RGBrgb(57, 76, 169)
HSLhsl(230, 50%, 44%)
HSVhsv(230, 66%, 66%)
CMYKcmyk(66.3%, 55%, 0%, 33.7%)
CIE-LABlab(35.80, 23.55, -52.30)
CIE-LCHlch(35.80, 57.36, 294.24°)
OKLaboklab(45.55% 0.0016 -0.1503)
OKLCHoklch(45.55% 0.15 270.6)
XYZxyz(11.4308, 8.9023, 38.6443)
Luminance0.0890 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394CA9 #A99639
analogous
#3984A9 #394CA9 #5E39A9
triadic
#394CA9 #A9394C #4CA939
tetradic
#394CA9 #A93984 #A99639 #39A95E
square
#394CA9 #A93984 #A99639 #39A95E
split-complementary
#394CA9 #A95E39 #84A939
monochromatic
#1A234D #2A377B #394CA9 #586BC7 #8694D6

Accessibility & contrast

On white

7.55
#394CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#394CA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394CA9
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394CA9#FFFFFF#000000##FFFFFF
##394CA91.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0359AC
Deuteranopia (green-blind)
#004FA7
Tritanopia (blue-blind)
#006273
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #394ca9;
/* rgb */ color: rgb(57, 76, 169);
/* oklch */ color: oklch(45.5% 0.150 270.6);
Tailwind
colors: {
  custom: {
    50: '#7c7dc3',
    500: '#394ca9',
    950: '#000000',
  },
}
SCSS
$custom: #394ca9;
$custom-light: #7c7dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#394ca9",
  "rgb": {
    "r": 57,
    "g": 76,
    "b": 169
  },
  "hsl": {
    "h": 229.821,
    "s": 49.558,
    "l": 44.314
  },
  "oklch": {
    "l": 0.45546,
    "c": 0.15032,
    "h": 270.6
  },
  "luminance": 0.08903
}

Semantic roles & 50–950 ramp

primary
#394CA9
secondary
#C0B57E
accent
#C24FD9
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #394CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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