#394CBB#394CBB

#394CBB is a mid, vivid blue. Relative luminance 0.096; OKLCH L 47.0% C 0.175 H 270.7°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#394CBB
RGBrgb(57, 76, 187)
HSLhsl(231, 53%, 48%)
HSVhsv(231, 70%, 73%)
CMYKcmyk(69.5%, 59.4%, 0%, 26.7%)
CIE-LABlab(37.16, 30.04, -60.73)
CIE-LCHlch(37.16, 67.75, 296.32°)
OKLaboklab(47% 0.0021 -0.1751)
OKLCHoklch(47% 0.175 270.7)
XYZxyz(13.2384, 9.6253, 48.1643)
Luminance0.0963 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394CBB #BBA839
analogous
#398DBB #394CBB #6739BB
triadic
#394CBB #BB394C #4CBB39
tetradic
#394CBB #BB398D #BBA839 #39BB67
square
#394CBB #BB398D #BBA839 #39BB67
split-complementary
#394CBB #BB6739 #8DBB39
monochromatic
#1C265D #2B398C #394CBB #6272CF #919CDD

Accessibility & contrast

On white

7.18
#394CBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #394CBB
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394CBB#FFFFFF#000000##FFFFFF
##394CBB1.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBF
Deuteranopia (green-blind)
#0052B9
Tritanopia (blue-blind)
#00687C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #394cbb;
/* rgb */ color: rgb(57, 76, 187);
/* oklch */ color: oklch(47.0% 0.175 270.7);
Tailwind
colors: {
  custom: {
    50: '#807dd0',
    500: '#394cbb',
    950: '#000000',
  },
}
SCSS
$custom: #394cbb;
$custom-light: #807dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#394cbb",
  "rgb": {
    "r": 57,
    "g": 76,
    "b": 187
  },
  "hsl": {
    "h": 231.231,
    "s": 53.279,
    "l": 47.843
  },
  "oklch": {
    "l": 0.46997,
    "c": 0.17511,
    "h": 270.7
  },
  "luminance": 0.09627
}

Semantic roles & 50–950 ramp

primary
#394CBB
secondary
#C8BF87
accent
#C74BDD
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #394CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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