#394EBC#394EBC

#394EBC is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.5% C 0.174 H 270.2°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#394EBC
RGBrgb(57, 78, 188)
HSLhsl(230, 53%, 48%)
HSVhsv(230, 70%, 74%)
CMYKcmyk(69.7%, 58.5%, 0%, 26.3%)
CIE-LABlab(37.75, 29.11, -60.36)
CIE-LCHlch(37.75, 67.01, 295.74°)
OKLaboklab(47.46% 0.0005 -0.174)
OKLCHoklch(47.46% 0.174 270.2)
XYZxyz(13.4857, 9.9482, 48.7767)
Luminance0.0995 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394EBC #BCA739
analogous
#398FBC #394EBC #6639BC
triadic
#394EBC #BC394E #4EBC39
tetradic
#394EBC #BC398F #BCA739 #39BC66
square
#394EBC #BC398F #BCA739 #39BC66
split-complementary
#394EBC #BC6639 #8FBC39
monochromatic
#1D275E #2B3B8D #394EBC #6374D0 #929EDE

Accessibility & contrast

On white

7.02
#394EBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#394EBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394EBC
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394EBC#FFFFFF#000000##FFFFFF
##394EBC1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC0
Deuteranopia (green-blind)
#0053BA
Tritanopia (blue-blind)
#00697D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #394ebc;
/* rgb */ color: rgb(57, 78, 188);
/* oklch */ color: oklch(47.5% 0.174 270.2);
Tailwind
colors: {
  custom: {
    50: '#807fd1',
    500: '#394ebc',
    950: '#000000',
  },
}
SCSS
$custom: #394ebc;
$custom-light: #807fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#394ebc",
  "rgb": {
    "r": 57,
    "g": 78,
    "b": 188
  },
  "hsl": {
    "h": 230.382,
    "s": 53.469,
    "l": 48.039
  },
  "oklch": {
    "l": 0.47459,
    "c": 0.17398,
    "h": 270.2
  },
  "luminance": 0.09949
}

Semantic roles & 50–950 ramp

primary
#394EBC
secondary
#C9BE88
accent
#C54BDD
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #394EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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