#394FCC#394FCC

#394FCC is a mid, vivid blue. Relative luminance 0.108; OKLCH L 49.0% C 0.194 H 269.9°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#394FCC
RGBrgb(57, 79, 204)
HSLhsl(231, 59%, 51%)
HSVhsv(231, 72%, 80%)
CMYKcmyk(72.1%, 61.3%, 0%, 20%)
CIE-LABlab(39.28, 34.20, -67.19)
CIE-LCHlch(39.28, 75.39, 296.98°)
OKLaboklab(48.99% -0.0003 -0.194)
OKLCHoklch(48.99% 0.194 269.9)
XYZxyz(15.3787, 10.8199, 58.3930)
Luminance0.1082 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394FCC #CCB639
analogous
#3998CC #394FCC #6C39CC
triadic
#394FCC #CC394F #4FCC39
tetradic
#394FCC #CC3998 #CCB639 #39CC6C
square
#394FCC #CC3998 #CCB639 #39CC6C
split-complementary
#394FCC #CC6C39 #98CC39
monochromatic
#1C296E #293B9F #394FCC #6A7AD9 #9AA6E5

Accessibility & contrast

On white

6.64
#394FCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#394FCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #394FCC
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394FCC#FFFFFF#000000##FFFFFF
##394FCC1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D0
Deuteranopia (green-blind)
#0056CA
Tritanopia (blue-blind)
#006F86
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #394fcc;
/* rgb */ color: rgb(57, 79, 204);
/* oklch */ color: oklch(49.0% 0.194 269.9);
Tailwind
colors: {
  custom: {
    50: '#8380dd',
    500: '#394fcc',
    950: '#000000',
  },
}
SCSS
$custom: #394fcc;
$custom-light: #8380dd;
$custom-dark: #000000;
JSON
{
  "hex": "#394fcc",
  "rgb": {
    "r": 57,
    "g": 79,
    "b": 204
  },
  "hsl": {
    "h": 231.02,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.48989,
    "c": 0.19402,
    "h": 269.9
  },
  "luminance": 0.10821
}

Semantic roles & 50–950 ramp

primary
#394FCC
secondary
#D1C790
accent
#CB46E2
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #394FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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