#394BAC#394BAC

#394BAC is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.6% C 0.156 H 271.0°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#394BAC
RGBrgb(57, 75, 172)
HSLhsl(231, 50%, 45%)
HSVhsv(231, 67%, 67%)
CMYKcmyk(66.9%, 56.4%, 0%, 32.5%)
CIE-LABlab(35.75, 25.29, -54.16)
CIE-LCHlch(35.75, 59.77, 295.03°)
OKLaboklab(45.58% 0.0026 -0.1558)
OKLCHoklch(45.58% 0.156 271)
XYZxyz(11.6473, 8.8795, 40.1218)
Luminance0.0888 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394BAC #AC9A39
analogous
#3984AC #394BAC #6139AC
triadic
#394BAC #AC394B #4BAC39
tetradic
#394BAC #AC3984 #AC9A39 #39AC61
square
#394BAC #AC3984 #AC9A39 #39AC61
split-complementary
#394BAC #AC6139 #84AC39
monochromatic
#1B2350 #2A377E #394BAC #5A6BC8 #8894D8

Accessibility & contrast

On white

7.56
#394BAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #394BAC
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394BAC#FFFFFF#000000##FFFFFF
##394BAC1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AF
Deuteranopia (green-blind)
#004FAA
Tritanopia (blue-blind)
#006274
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #394bac;
/* rgb */ color: rgb(57, 75, 172);
/* oklch */ color: oklch(45.6% 0.156 271.0);
Tailwind
colors: {
  custom: {
    50: '#7d7dc5',
    500: '#394bac',
    950: '#000000',
  },
}
SCSS
$custom: #394bac;
$custom-light: #7d7dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#394bac",
  "rgb": {
    "r": 57,
    "g": 75,
    "b": 172
  },
  "hsl": {
    "h": 230.609,
    "s": 50.218,
    "l": 44.902
  },
  "oklch": {
    "l": 0.45583,
    "c": 0.15581,
    "h": 271
  },
  "luminance": 0.08881
}

Semantic roles & 50–950 ramp

primary
#394BAC
secondary
#C2B77F
accent
#C44EDA
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #394BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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