#394CC7#394CC7

#394CC7 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 48.0% C 0.191 H 270.6°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#394CC7
RGBrgb(57, 76, 199)
HSLhsl(232, 56%, 50%)
HSVhsv(232, 71%, 78%)
CMYKcmyk(71.4%, 61.8%, 0%, 22%)
CIE-LABlab(38.13, 34.32, -66.16)
CIE-LCHlch(38.13, 74.53, 297.42°)
OKLaboklab(48.02% 0.002 -0.191)
OKLCHoklch(48.02% 0.191 270.6)
XYZxyz(14.5771, 10.1608, 55.2148)
Luminance0.1016 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394CC7 #C7B439
analogous
#3993C7 #394CC7 #6D39C7
triadic
#394CC7 #C7394C #4CC739
tetradic
#394CC7 #C73993 #C7B439 #39C76D
square
#394CC7 #C73993 #C7B439 #39C76D
split-complementary
#394CC7 #C76D39 #93C739
monochromatic
#1D2768 #2B3A98 #394CC7 #6977D4 #98A2E2

Accessibility & contrast

On white

6.93
#394CC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#394CC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #394CC7
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394CC7#FFFFFF#000000##FFFFFF
##394CC71.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CB
Deuteranopia (green-blind)
#0053C5
Tritanopia (blue-blind)
#006B82
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #394cc7;
/* rgb */ color: rgb(57, 76, 199);
/* oklch */ color: oklch(48.0% 0.191 270.6);
Tailwind
colors: {
  custom: {
    50: '#827ed9',
    500: '#394cc7',
    950: '#000000',
  },
}
SCSS
$custom: #394cc7;
$custom-light: #827ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#394cc7",
  "rgb": {
    "r": 57,
    "g": 76,
    "b": 199
  },
  "hsl": {
    "h": 231.972,
    "s": 55.906,
    "l": 50.196
  },
  "oklch": {
    "l": 0.48015,
    "c": 0.19105,
    "h": 270.6
  },
  "luminance": 0.10162
}

Semantic roles & 50–950 ramp

primary
#394CC7
secondary
#CEC58E
accent
#CB49DF
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #394CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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