#394EB7#394EB7

#394EB7 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.1% C 0.167 H 270.1°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#394EB7
RGBrgb(57, 78, 183)
HSLhsl(230, 53%, 47%)
HSVhsv(230, 69%, 72%)
CMYKcmyk(68.9%, 57.4%, 0%, 28.2%)
CIE-LABlab(37.36, 27.30, -58.05)
CIE-LCHlch(37.36, 64.15, 295.19°)
OKLaboklab(47.05% 0.0004 -0.1672)
OKLCHoklch(47.05% 0.167 270.1)
XYZxyz(12.9561, 9.7363, 45.9871)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394EB7 #B7A239
analogous
#398DB7 #394EB7 #6339B7
triadic
#394EB7 #B7394E #4EB739
tetradic
#394EB7 #B7398D #B7A239 #39B763
square
#394EB7 #B7398D #B7A239 #39B763
split-complementary
#394EB7 #B76339 #8DB739
monochromatic
#1C265A #2A3A88 #394EB7 #6072CD #8E9BDC

Accessibility & contrast

On white

7.12
#394EB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#394EB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394EB7
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394EB7#FFFFFF#000000##FFFFFF
##394EB71.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #394eb7;
/* rgb */ color: rgb(57, 78, 183);
/* oklch */ color: oklch(47.1% 0.167 270.1);
Tailwind
colors: {
  custom: {
    50: '#7f7fcd',
    500: '#394eb7',
    950: '#000000',
  },
}
SCSS
$custom: #394eb7;
$custom-light: #7f7fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#394eb7",
  "rgb": {
    "r": 57,
    "g": 78,
    "b": 183
  },
  "hsl": {
    "h": 230,
    "s": 52.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.47051,
    "c": 0.16719,
    "h": 270.1
  },
  "luminance": 0.09738
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #394EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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