#394ACC#394ACC

#394ACC is a mid, vivid blue. Relative luminance 0.101; OKLCH L 48.1% C 0.200 H 270.9°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#394ACC
RGBrgb(57, 74, 204)
HSLhsl(233, 59%, 51%)
HSVhsv(233, 72%, 80%)
CMYKcmyk(72.1%, 63.7%, 0%, 20%)
CIE-LABlab(38.07, 37.34, -69.17)
CIE-LCHlch(38.07, 78.60, 298.37°)
OKLaboklab(48.1% 0.0031 -0.1999)
OKLCHoklch(48.1% 0.2 270.9)
XYZxyz(15.0315, 10.1255, 58.2773)
Luminance0.1013 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394ACC #CCBB39
analogous
#3993CC #394ACC #7139CC
triadic
#394ACC #CC394A #4ACC39
tetradic
#394ACC #CC3993 #CCBB39 #39CC71
square
#394ACC #CC3993 #CCBB39 #39CC71
split-complementary
#394ACC #CC7139 #93CC39
monochromatic
#1C266E #29379F #394ACC #6A76D9 #9AA3E5

Accessibility & contrast

On white

6.94
#394ACC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #394ACC
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394ACC#FFFFFF#000000##FFFFFF
##394ACC1.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.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: #394acc;
/* rgb */ color: rgb(57, 74, 204);
/* oklch */ color: oklch(48.1% 0.200 270.9);
Tailwind
colors: {
  custom: {
    50: '#847cdd',
    500: '#394acc',
    950: '#000000',
  },
}
SCSS
$custom: #394acc;
$custom-light: #847cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#394acc",
  "rgb": {
    "r": 57,
    "g": 74,
    "b": 204
  },
  "hsl": {
    "h": 233.061,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.48099,
    "c": 0.19988,
    "h": 270.9
  },
  "luminance": 0.10127
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #394ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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