#394CBD#394CBD

#394CBD is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.2% C 0.178 H 270.7°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#394CBD
RGBrgb(57, 76, 189)
HSLhsl(231, 54%, 48%)
HSVhsv(231, 70%, 74%)
CMYKcmyk(69.8%, 59.8%, 0%, 25.9%)
CIE-LABlab(37.32, 30.75, -61.65)
CIE-LCHlch(37.32, 68.89, 296.51°)
OKLaboklab(47.16% 0.0021 -0.1778)
OKLCHoklch(47.16% 0.178 270.7)
XYZxyz(13.4540, 9.7115, 49.2997)
Luminance0.0971 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394CBD #BDAA39
analogous
#398EBD #394CBD #6839BD
triadic
#394CBD #BD394C #4CBD39
tetradic
#394CBD #BD398E #BDAA39 #39BD68
square
#394CBD #BD398E #BDAA39 #39BD68
split-complementary
#394CBD #BD6839 #8EBD39
monochromatic
#1D265F #2B398E #394CBD #6373D0 #929DDE

Accessibility & contrast

On white

7.14
#394CBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#394CBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394CBD
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394CBD#FFFFFF#000000##FFFFFF
##394CBD1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC1
Deuteranopia (green-blind)
#0052BB
Tritanopia (blue-blind)
#00687D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #394cbd;
/* rgb */ color: rgb(57, 76, 189);
/* oklch */ color: oklch(47.2% 0.178 270.7);
Tailwind
colors: {
  custom: {
    50: '#807dd2',
    500: '#394cbd',
    950: '#000000',
  },
}
SCSS
$custom: #394cbd;
$custom-light: #807dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#394cbd",
  "rgb": {
    "r": 57,
    "g": 76,
    "b": 189
  },
  "hsl": {
    "h": 231.364,
    "s": 53.659,
    "l": 48.235
  },
  "oklch": {
    "l": 0.47164,
    "c": 0.17779,
    "h": 270.7
  },
  "luminance": 0.09713
}

Semantic roles & 50–950 ramp

primary
#394CBD
secondary
#C9C089
accent
#C84BDD
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #394CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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