#394FC3#394FC3

#394FC3 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.2% C 0.182 H 269.9°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#394FC3
RGBrgb(57, 79, 195)
HSLhsl(230, 55%, 49%)
HSVhsv(230, 71%, 76%)
CMYKcmyk(70.8%, 59.5%, 0%, 23.5%)
CIE-LABlab(38.55, 30.98, -63.14)
CIE-LCHlch(38.55, 70.34, 296.13°)
OKLaboklab(48.23% -0.0002 -0.1821)
OKLCHoklch(48.23% 0.182 269.9)
XYZxyz(14.3303, 10.4005, 52.8715)
Luminance0.1040 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394FC3 #C3AD39
analogous
#3994C3 #394FC3 #6839C3
triadic
#394FC3 #C3394F #4FC339
tetradic
#394FC3 #C33994 #C3AD39 #39C368
square
#394FC3 #C33994 #C3AD39 #39C368
split-complementary
#394FC3 #C36839 #94C339
monochromatic
#1D2964 #2B3C94 #394FC3 #6778D2 #96A2E0

Accessibility & contrast

On white

6.82
#394FC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#394FC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #394FC3
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394FC3#FFFFFF#000000##FFFFFF
##394FC31.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C7
Deuteranopia (green-blind)
#0055C1
Tritanopia (blue-blind)
#006C81
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #394fc3;
/* rgb */ color: rgb(57, 79, 195);
/* oklch */ color: oklch(48.2% 0.182 269.9);
Tailwind
colors: {
  custom: {
    50: '#8180d6',
    500: '#394fc3',
    950: '#000000',
  },
}
SCSS
$custom: #394fc3;
$custom-light: #8180d6;
$custom-dark: #000000;
JSON
{
  "hex": "#394fc3",
  "rgb": {
    "r": 57,
    "g": 79,
    "b": 195
  },
  "hsl": {
    "h": 230.435,
    "s": 54.762,
    "l": 49.412
  },
  "oklch": {
    "l": 0.48228,
    "c": 0.18215,
    "h": 269.9
  },
  "luminance": 0.10402
}

Semantic roles & 50–950 ramp

primary
#394FC3
secondary
#CCC28C
accent
#C64ADE
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #394FC3

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

Preview Lab → · Contrast checker → · Palette generator →

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