#394BB8#394BB8

#394BB8 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.6% C 0.172 H 271.0°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#394BB8
RGBrgb(57, 75, 184)
HSLhsl(231, 53%, 47%)
HSVhsv(231, 69%, 72%)
CMYKcmyk(69%, 59.2%, 0%, 27.8%)
CIE-LABlab(36.67, 29.60, -59.77)
CIE-LCHlch(36.67, 66.70, 296.35°)
OKLaboklab(46.56% 0.0029 -0.1723)
OKLCHoklch(46.56% 0.172 271)
XYZxyz(12.8522, 9.3615, 46.4677)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394BB8 #B8A639
analogous
#398BB8 #394BB8 #6739B8
triadic
#394BB8 #B8394B #4BB839
tetradic
#394BB8 #B8398B #B8A639 #39B867
square
#394BB8 #B8398B #B8A639 #39B867
split-complementary
#394BB8 #B86739 #8BB839
monochromatic
#1C255B #2B3889 #394BB8 #6070CE #8F9ADC

Accessibility & contrast

On white

7.31
#394BB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#394BB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394BB8
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394BB8#FFFFFF#000000##FFFFFF
##394BB81.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBC
Deuteranopia (green-blind)
#0051B6
Tritanopia (blue-blind)
#00667A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #394bb8;
/* rgb */ color: rgb(57, 75, 184);
/* oklch */ color: oklch(46.6% 0.172 271.0);
Tailwind
colors: {
  custom: {
    50: '#7f7dce',
    500: '#394bb8',
    950: '#000000',
  },
}
SCSS
$custom: #394bb8;
$custom-light: #7f7dce;
$custom-dark: #000000;
JSON
{
  "hex": "#394bb8",
  "rgb": {
    "r": 57,
    "g": 75,
    "b": 184
  },
  "hsl": {
    "h": 231.496,
    "s": 52.697,
    "l": 47.255
  },
  "oklch": {
    "l": 0.46559,
    "c": 0.17229,
    "h": 271
  },
  "luminance": 0.09363
}

Semantic roles & 50–950 ramp

primary
#394BB8
secondary
#C7BE86
accent
#C84CDC
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #394BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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