#394EB8#394EB8

#394EB8 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.1% C 0.169 H 270.2°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#394EB8
RGBrgb(57, 78, 184)
HSLhsl(230, 53%, 47%)
HSVhsv(230, 69%, 72%)
CMYKcmyk(69%, 57.6%, 0%, 27.8%)
CIE-LABlab(37.44, 27.66, -58.51)
CIE-LCHlch(37.44, 64.72, 295.30°)
OKLaboklab(47.13% 0.0005 -0.1685)
OKLCHoklch(47.13% 0.169 270.2)
XYZxyz(13.0605, 9.7781, 46.5372)
Luminance0.0978 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394EB8 #B8A339
analogous
#398DB8 #394EB8 #6439B8
triadic
#394EB8 #B8394E #4EB839
tetradic
#394EB8 #B8398D #B8A339 #39B864
square
#394EB8 #B8398D #B8A339 #39B864
split-complementary
#394EB8 #B86439 #8DB839
monochromatic
#1C265B #2B3A89 #394EB8 #6072CE #8F9CDC

Accessibility & contrast

On white

7.10
#394EB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#394EB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394EB8
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394EB8#FFFFFF#000000##FFFFFF
##394EB81.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBC
Deuteranopia (green-blind)
#0052B6
Tritanopia (blue-blind)
#00687B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #394eb8;
/* rgb */ color: rgb(57, 78, 184);
/* oklch */ color: oklch(47.1% 0.169 270.2);
Tailwind
colors: {
  custom: {
    50: '#7f7fce',
    500: '#394eb8',
    950: '#000000',
  },
}
SCSS
$custom: #394eb8;
$custom-light: #7f7fce;
$custom-dark: #000000;
JSON
{
  "hex": "#394eb8",
  "rgb": {
    "r": 57,
    "g": 78,
    "b": 184
  },
  "hsl": {
    "h": 230.079,
    "s": 52.697,
    "l": 47.255
  },
  "oklch": {
    "l": 0.47132,
    "c": 0.16855,
    "h": 270.2
  },
  "luminance": 0.09779
}

Semantic roles & 50–950 ramp

primary
#394EB8
secondary
#C7BC86
accent
#C44CDC
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #394EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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