#394BCC#394BCC

#394BCC is a mid, vivid blue. Relative luminance 0.103; OKLCH L 48.3% C 0.199 H 270.7°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#394BCC
RGBrgb(57, 75, 204)
HSLhsl(233, 59%, 51%)
HSVhsv(233, 72%, 80%)
CMYKcmyk(72.1%, 63.2%, 0%, 20%)
CIE-LABlab(38.31, 36.72, -68.78)
CIE-LCHlch(38.31, 77.96, 298.10°)
OKLaboklab(48.27% 0.0025 -0.1987)
OKLCHoklch(48.27% 0.199 270.7)
XYZxyz(15.0988, 10.2601, 58.2997)
Luminance0.1026 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394BCC #CCBA39
analogous
#3994CC #394BCC #7039CC
triadic
#394BCC #CC394B #4BCC39
tetradic
#394BCC #CC3994 #CCBA39 #39CC70
square
#394BCC #CC3994 #CCBA39 #39CC70
split-complementary
#394BCC #CC7039 #94CC39
monochromatic
#1C266E #29379F #394BCC #6A77D9 #9AA3E5

Accessibility & contrast

On white

6.88
#394BCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#394BCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #394BCC
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394BCC#FFFFFF#000000##FFFFFF
##394BCC1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D0
Deuteranopia (green-blind)
#0053CA
Tritanopia (blue-blind)
#006C84
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #394bcc;
/* rgb */ color: rgb(57, 75, 204);
/* oklch */ color: oklch(48.3% 0.199 270.7);
Tailwind
colors: {
  custom: {
    50: '#847ddd',
    500: '#394bcc',
    950: '#000000',
  },
}
SCSS
$custom: #394bcc;
$custom-light: #847ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#394bcc",
  "rgb": {
    "r": 57,
    "g": 75,
    "b": 204
  },
  "hsl": {
    "h": 232.653,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.48274,
    "c": 0.19873,
    "h": 270.7
  },
  "luminance": 0.10262
}

Semantic roles & 50–950 ramp

primary
#394BCC
secondary
#D1C990
accent
#CF46E2
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #394BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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