#394CAB#394CAB

#394CAB is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.7% C 0.153 H 270.6°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#394CAB
RGBrgb(57, 76, 171)
HSLhsl(230, 50%, 45%)
HSVhsv(230, 67%, 67%)
CMYKcmyk(66.7%, 55.6%, 0%, 32.9%)
CIE-LABlab(35.94, 24.27, -53.25)
CIE-LCHlch(35.94, 58.52, 294.50°)
OKLaboklab(45.7% 0.0017 -0.1531)
OKLCHoklch(45.7% 0.153 270.6)
XYZxyz(11.6200, 8.9779, 39.6407)
Luminance0.0898 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394CAB #AB9839
analogous
#3985AB #394CAB #5F39AB
triadic
#394CAB #AB394C #4CAB39
tetradic
#394CAB #AB3985 #AB9839 #39AB5F
square
#394CAB #AB3985 #AB9839 #39AB5F
split-complementary
#394CAB #AB5F39 #85AB39
monochromatic
#1A234F #2A387D #394CAB #596CC8 #8795D7

Accessibility & contrast

On white

7.51
#394CAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#394CAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394CAB
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394CAB#FFFFFF#000000##FFFFFF
##394CAB1.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AAE
Deuteranopia (green-blind)
#0050A9
Tritanopia (blue-blind)
#006374
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #394cab;
/* rgb */ color: rgb(57, 76, 171);
/* oklch */ color: oklch(45.7% 0.153 270.6);
Tailwind
colors: {
  custom: {
    50: '#7c7dc5',
    500: '#394cab',
    950: '#000000',
  },
}
SCSS
$custom: #394cab;
$custom-light: #7c7dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#394cab",
  "rgb": {
    "r": 57,
    "g": 76,
    "b": 171
  },
  "hsl": {
    "h": 230,
    "s": 50,
    "l": 44.706
  },
  "oklch": {
    "l": 0.45703,
    "c": 0.15313,
    "h": 270.6
  },
  "luminance": 0.08979
}

Semantic roles & 50–950 ramp

primary
#394CAB
secondary
#C1B67F
accent
#C24EDA
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #394CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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