#394FC0#394FC0

#394FC0 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 48.0% C 0.178 H 269.9°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#394FC0
RGBrgb(57, 79, 192)
HSLhsl(230, 54%, 49%)
HSVhsv(230, 70%, 75%)
CMYKcmyk(70.3%, 58.9%, 0%, 24.7%)
CIE-LABlab(38.32, 29.90, -61.78)
CIE-LCHlch(38.32, 68.63, 295.83°)
OKLaboklab(47.98% -0.0002 -0.1781)
OKLCHoklch(47.98% 0.178 269.9)
XYZxyz(13.9945, 10.2662, 51.1030)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394FC0 #C0AA39
analogous
#3993C0 #394FC0 #6739C0
triadic
#394FC0 #C0394F #4FC039
tetradic
#394FC0 #C03993 #C0AA39 #39C067
square
#394FC0 #C03993 #C0AA39 #39C067
split-complementary
#394FC0 #C06739 #93C039
monochromatic
#1D2862 #2B3C91 #394FC0 #6577D1 #94A0DF

Accessibility & contrast

On white

6.88
#394FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#394FC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #394FC0
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394FC0#FFFFFF#000000##FFFFFF
##394FC01.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C4
Deuteranopia (green-blind)
#0054BE
Tritanopia (blue-blind)
#006B80
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #394fc0;
/* rgb */ color: rgb(57, 79, 192);
/* oklch */ color: oklch(48.0% 0.178 269.9);
Tailwind
colors: {
  custom: {
    50: '#8180d4',
    500: '#394fc0',
    950: '#000000',
  },
}
SCSS
$custom: #394fc0;
$custom-light: #8180d4;
$custom-dark: #000000;
JSON
{
  "hex": "#394fc0",
  "rgb": {
    "r": 57,
    "g": 79,
    "b": 192
  },
  "hsl": {
    "h": 230.222,
    "s": 54.217,
    "l": 48.824
  },
  "oklch": {
    "l": 0.47979,
    "c": 0.17814,
    "h": 269.9
  },
  "luminance": 0.10268
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #394FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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