#394EB0#394EB0

#394EB0 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.5% C 0.158 H 270.1°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#394EB0
RGBrgb(57, 78, 176)
HSLhsl(229, 51%, 46%)
HSVhsv(229, 68%, 69%)
CMYKcmyk(67.6%, 55.7%, 0%, 31%)
CIE-LABlab(36.84, 24.77, -54.77)
CIE-LCHlch(36.84, 60.11, 294.34°)
OKLaboklab(46.49% 0.0002 -0.1575)
OKLCHoklch(46.49% 0.158 270.1)
XYZxyz(12.2455, 9.4521, 42.2450)
Luminance0.0945 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394EB0 #B09B39
analogous
#3989B0 #394EB0 #5F39B0
triadic
#394EB0 #B0394E #4EB039
tetradic
#394EB0 #B03989 #B09B39 #39B05F
square
#394EB0 #B03989 #B09B39 #39B05F
split-complementary
#394EB0 #B05F39 #89B039
monochromatic
#1B2554 #2A3A82 #394EB0 #5C6FCA #8A98D9

Accessibility & contrast

On white

7.26
#394EB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#394EB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394EB0
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394EB0#FFFFFF#000000##FFFFFF
##394EB01.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB3
Deuteranopia (green-blind)
#0051AE
Tritanopia (blue-blind)
#006677
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #394eb0;
/* rgb */ color: rgb(57, 78, 176);
/* oklch */ color: oklch(46.5% 0.158 270.1);
Tailwind
colors: {
  custom: {
    50: '#7d7fc8',
    500: '#394eb0',
    950: '#000000',
  },
}
SCSS
$custom: #394eb0;
$custom-light: #7d7fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#394eb0",
  "rgb": {
    "r": 57,
    "g": 78,
    "b": 176
  },
  "hsl": {
    "h": 229.412,
    "s": 51.073,
    "l": 45.686
  },
  "oklch": {
    "l": 0.46493,
    "c": 0.15754,
    "h": 270.1
  },
  "luminance": 0.09453
}

Semantic roles & 50–950 ramp

primary
#394EB0
secondary
#C4B881
accent
#C24DDB
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #394EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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