#394FD1#394FD1

#394FD1 is a mid, highly saturated blue. Relative luminance 0.111; OKLCH L 49.4% C 0.201 H 269.9°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#394FD1
RGBrgb(57, 79, 209)
HSLhsl(231, 62%, 52%)
HSVhsv(231, 73%, 82%)
CMYKcmyk(72.7%, 62.2%, 0%, 18%)
CIE-LABlab(39.69, 35.98, -69.40)
CIE-LCHlch(39.69, 78.17, 297.40°)
OKLaboklab(49.42% -0.0004 -0.2005)
OKLCHoklch(49.42% 0.201 269.9)
XYZxyz(15.9880, 11.0636, 61.6021)
Luminance0.1106 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394FD1 #D1BB39
analogous
#399BD1 #394FD1 #6F39D1
triadic
#394FD1 #D1394F #4FD139
tetradic
#394FD1 #D1399B #D1BB39 #39D16F
square
#394FD1 #D1399B #D1BB39 #39D16F
split-complementary
#394FD1 #D16F39 #9BD139
monochromatic
#1B2875 #2739A6 #394FD1 #6B7BDD #9CA7E8

Accessibility & contrast

On white

6.54
#394FD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#394FD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #394FD1
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394FD1#FFFFFF#000000##FFFFFF
##394FD11.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D5
Deuteranopia (green-blind)
#0057CF
Tritanopia (blue-blind)
#007188
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #394fd1;
/* rgb */ color: rgb(57, 79, 209);
/* oklch */ color: oklch(49.4% 0.201 269.9);
Tailwind
colors: {
  custom: {
    50: '#8480e0',
    500: '#394fd1',
    950: '#000000',
  },
}
SCSS
$custom: #394fd1;
$custom-light: #8480e0;
$custom-dark: #000000;
JSON
{
  "hex": "#394fd1",
  "rgb": {
    "r": 57,
    "g": 79,
    "b": 209
  },
  "hsl": {
    "h": 231.316,
    "s": 62.295,
    "l": 52.157
  },
  "oklch": {
    "l": 0.49421,
    "c": 0.20051,
    "h": 269.9
  },
  "luminance": 0.11065
}

Semantic roles & 50–950 ramp

primary
#394FD1
secondary
#D4CA92
accent
#CE42E5
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0D0A15
muted
#7D7C83

Preview Lab

Preview with #394FD1

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

Preview Lab → · Contrast checker → · Palette generator →

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