#394DBC#394DBC

#394DBC is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.3% C 0.175 H 270.4°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#394DBC
RGBrgb(57, 77, 188)
HSLhsl(231, 53%, 48%)
HSVhsv(231, 70%, 74%)
CMYKcmyk(69.7%, 59%, 0%, 26.3%)
CIE-LABlab(37.49, 29.75, -60.78)
CIE-LCHlch(37.49, 67.67, 296.08°)
OKLaboklab(47.27% 0.0013 -0.1752)
OKLCHoklch(47.27% 0.175 270.4)
XYZxyz(13.4152, 9.8071, 48.7532)
Luminance0.0981 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394DBC #BCA839
analogous
#398EBC #394DBC #6739BC
triadic
#394DBC #BC394D #4DBC39
tetradic
#394DBC #BC398E #BCA839 #39BC67
square
#394DBC #BC398E #BCA839 #39BC67
split-complementary
#394DBC #BC6739 #8EBC39
monochromatic
#1D275E #2B3A8D #394DBC #6373D0 #929DDE

Accessibility & contrast

On white

7.09
#394DBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#394DBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394DBC
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394DBC#FFFFFF#000000##FFFFFF
##394DBC1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #394dbc;
/* rgb */ color: rgb(57, 77, 188);
/* oklch */ color: oklch(47.3% 0.175 270.4);
Tailwind
colors: {
  custom: {
    50: '#807ed1',
    500: '#394dbc',
    950: '#000000',
  },
}
SCSS
$custom: #394dbc;
$custom-light: #807ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#394dbc",
  "rgb": {
    "r": 57,
    "g": 77,
    "b": 188
  },
  "hsl": {
    "h": 230.84,
    "s": 53.469,
    "l": 48.039
  },
  "oklch": {
    "l": 0.47269,
    "c": 0.17522,
    "h": 270.4
  },
  "luminance": 0.09808
}

Semantic roles & 50–950 ramp

primary
#394DBC
secondary
#C9BF88
accent
#C74BDD
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #394DBC

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

Preview Lab → · Contrast checker → · Palette generator →

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