#394CAF#394CAF

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

Color values

HEX#394CAF
RGBrgb(57, 76, 175)
HSLhsl(230, 51%, 45%)
HSVhsv(230, 67%, 69%)
CMYKcmyk(67.4%, 56.6%, 0%, 31.4%)
CIE-LABlab(36.24, 25.71, -55.15)
CIE-LCHlch(36.24, 60.85, 295.00°)
OKLaboklab(46.02% 0.0019 -0.1587)
OKLCHoklch(46.02% 0.159 270.7)
XYZxyz(12.0070, 9.1328, 41.6792)
Luminance0.0913 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394CAF #AF9C39
analogous
#3987AF #394CAF #6139AF
triadic
#394CAF #AF394C #4CAF39
tetradic
#394CAF #AF3987 #AF9C39 #39AF61
square
#394CAF #AF3987 #AF9C39 #39AF61
split-complementary
#394CAF #AF6139 #87AF39
monochromatic
#1B2453 #2A3881 #394CAF #5B6DCA #8A96D9

Accessibility & contrast

On white

7.43
#394CAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#394CAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394CAF
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394CAF#FFFFFF#000000##FFFFFF
##394CAF1.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB2
Deuteranopia (green-blind)
#0050AD
Tritanopia (blue-blind)
#006476
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #394caf;
/* rgb */ color: rgb(57, 76, 175);
/* oklch */ color: oklch(46.0% 0.159 270.7);
Tailwind
colors: {
  custom: {
    50: '#7d7dc8',
    500: '#394caf',
    950: '#000000',
  },
}
SCSS
$custom: #394caf;
$custom-light: #7d7dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#394caf",
  "rgb": {
    "r": 57,
    "g": 76,
    "b": 175
  },
  "hsl": {
    "h": 230.339,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.46019,
    "c": 0.1587,
    "h": 270.7
  },
  "luminance": 0.09134
}

Semantic roles & 50–950 ramp

primary
#394CAF
secondary
#C3B881
accent
#C44DDA
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #394CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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