#394CBC#394CBC

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

Color values

HEX#394CBC
RGBrgb(57, 76, 188)
HSLhsl(231, 53%, 48%)
HSVhsv(231, 70%, 74%)
CMYKcmyk(69.7%, 59.6%, 0%, 26.3%)
CIE-LABlab(37.24, 30.39, -61.19)
CIE-LCHlch(37.24, 68.32, 296.42°)
OKLaboklab(47.08% 0.0021 -0.1764)
OKLCHoklch(47.08% 0.176 270.7)
XYZxyz(13.3458, 9.6683, 48.7300)
Luminance0.0967 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394CBC #BCA939
analogous
#398DBC #394CBC #6839BC
triadic
#394CBC #BC394C #4CBC39
tetradic
#394CBC #BC398D #BCA939 #39BC68
square
#394CBC #BC398D #BCA939 #39BC68
split-complementary
#394CBC #BC6839 #8DBC39
monochromatic
#1D265E #2B398D #394CBC #6372D0 #929DDE

Accessibility & contrast

On white

7.16
#394CBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#394CBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394CBC
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394CBC#FFFFFF#000000##FFFFFF
##394CBC1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC0
Deuteranopia (green-blind)
#0052BA
Tritanopia (blue-blind)
#00687C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #394cbc;
/* rgb */ color: rgb(57, 76, 188);
/* oklch */ color: oklch(47.1% 0.176 270.7);
Tailwind
colors: {
  custom: {
    50: '#807dd1',
    500: '#394cbc',
    950: '#000000',
  },
}
SCSS
$custom: #394cbc;
$custom-light: #807dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#394cbc",
  "rgb": {
    "r": 57,
    "g": 76,
    "b": 188
  },
  "hsl": {
    "h": 231.298,
    "s": 53.469,
    "l": 48.039
  },
  "oklch": {
    "l": 0.4708,
    "c": 0.17645,
    "h": 270.7
  },
  "luminance": 0.0967
}

Semantic roles & 50–950 ramp

primary
#394CBC
secondary
#C9BF88
accent
#C84BDD
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0914
muted
#7D7B82

Preview Lab

Preview with #394CBC

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

Preview Lab → · Contrast checker → · Palette generator →

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