#394DC5#394DC5

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

Color values

HEX#394DC5
RGBrgb(57, 77, 197)
HSLhsl(231, 55%, 50%)
HSVhsv(231, 71%, 77%)
CMYKcmyk(71.1%, 60.9%, 0%, 22.7%)
CIE-LABlab(38.21, 32.97, -64.86)
CIE-LCHlch(38.21, 72.76, 296.95°)
OKLaboklab(48.03% 0.0013 -0.1872)
OKLCHoklch(48.03% 0.187 270.4)
XYZxyz(14.4158, 10.2074, 54.0230)
Luminance0.1021 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394DC5 #C5B139
analogous
#3993C5 #394DC5 #6B39C5
triadic
#394DC5 #C5394D #4DC539
tetradic
#394DC5 #C53993 #C5B139 #39C56B
square
#394DC5 #C53993 #C5B139 #39C56B
split-complementary
#394DC5 #C56B39 #93C539
monochromatic
#1E2866 #2B3A96 #394DC5 #6877D3 #97A2E1

Accessibility & contrast

On white

6.90
#394DC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#394DC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #394DC5
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394DC5#FFFFFF#000000##FFFFFF
##394DC51.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C9
Deuteranopia (green-blind)
#0054C3
Tritanopia (blue-blind)
#006B81
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #394dc5;
/* rgb */ color: rgb(57, 77, 197);
/* oklch */ color: oklch(48.0% 0.187 270.4);
Tailwind
colors: {
  custom: {
    50: '#827ed8',
    500: '#394dc5',
    950: '#000000',
  },
}
SCSS
$custom: #394dc5;
$custom-light: #827ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#394dc5",
  "rgb": {
    "r": 57,
    "g": 77,
    "b": 197
  },
  "hsl": {
    "h": 231.429,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.48026,
    "c": 0.18722,
    "h": 270.4
  },
  "luminance": 0.10209
}

Semantic roles & 50–950 ramp

primary
#394DC5
secondary
#CDC48D
accent
#C949DE
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #394DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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