#394CAE#394CAE

#394CAE is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.9% C 0.157 H 270.7°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#394CAE
RGBrgb(57, 76, 174)
HSLhsl(230, 51%, 45%)
HSVhsv(230, 67%, 68%)
CMYKcmyk(67.2%, 56.3%, 0%, 31.8%)
CIE-LABlab(36.16, 25.35, -54.68)
CIE-LCHlch(36.16, 60.27, 294.88°)
OKLaboklab(45.94% 0.0018 -0.1573)
OKLCHoklch(45.94% 0.157 270.7)
XYZxyz(11.9092, 9.0936, 41.1638)
Luminance0.0910 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394CAE #AE9B39
analogous
#3987AE #394CAE #6039AE
triadic
#394CAE #AE394C #4CAE39
tetradic
#394CAE #AE3987 #AE9B39 #39AE60
square
#394CAE #AE3987 #AE9B39 #39AE60
split-complementary
#394CAE #AE6039 #87AE39
monochromatic
#1B2452 #2A3880 #394CAE #5B6DC9 #8996D8

Accessibility & contrast

On white

7.45
#394CAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#394CAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394CAE
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394CAE#FFFFFF#000000##FFFFFF
##394CAE1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB1
Deuteranopia (green-blind)
#0050AC
Tritanopia (blue-blind)
#006475
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #394cae;
/* rgb */ color: rgb(57, 76, 174);
/* oklch */ color: oklch(45.9% 0.157 270.7);
Tailwind
colors: {
  custom: {
    50: '#7d7dc7',
    500: '#394cae',
    950: '#000000',
  },
}
SCSS
$custom: #394cae;
$custom-light: #7d7dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#394cae",
  "rgb": {
    "r": 57,
    "g": 76,
    "b": 174
  },
  "hsl": {
    "h": 230.256,
    "s": 50.649,
    "l": 45.294
  },
  "oklch": {
    "l": 0.45939,
    "c": 0.15731,
    "h": 270.7
  },
  "luminance": 0.09095
}

Semantic roles & 50–950 ramp

primary
#394CAE
secondary
#C3B880
accent
#C34EDA
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #394CAE

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

Preview Lab → · Contrast checker → · Palette generator →

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