#394FC8#394FC8

#394FC8 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.6% C 0.189 H 269.9°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#394FC8
RGBrgb(57, 79, 200)
HSLhsl(231, 57%, 50%)
HSVhsv(231, 72%, 78%)
CMYKcmyk(71.5%, 60.5%, 0%, 21.6%)
CIE-LABlab(38.95, 32.77, -65.40)
CIE-LCHlch(38.95, 73.15, 296.62°)
OKLaboklab(48.65% -0.0002 -0.1888)
OKLCHoklch(48.65% 0.189 269.9)
XYZxyz(14.9051, 10.6304, 55.8987)
Luminance0.1063 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394FC8 #C8B239
analogous
#3997C8 #394FC8 #6A39C8
triadic
#394FC8 #C8394F #4FC839
tetradic
#394FC8 #C83997 #C8B239 #39C86A
square
#394FC8 #C83997 #C8B239 #39C86A
split-complementary
#394FC8 #C86A39 #97C839
monochromatic
#1D2969 #2B3C99 #394FC8 #697AD5 #99A4E3

Accessibility & contrast

On white

6.72
#394FC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#394FC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #394FC8
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394FC8#FFFFFF#000000##FFFFFF
##394FC81.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CC
Deuteranopia (green-blind)
#0055C6
Tritanopia (blue-blind)
#006E84
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #394fc8;
/* rgb */ color: rgb(57, 79, 200);
/* oklch */ color: oklch(48.6% 0.189 269.9);
Tailwind
colors: {
  custom: {
    50: '#8280da',
    500: '#394fc8',
    950: '#000000',
  },
}
SCSS
$custom: #394fc8;
$custom-light: #8280da;
$custom-dark: #000000;
JSON
{
  "hex": "#394fc8",
  "rgb": {
    "r": 57,
    "g": 79,
    "b": 200
  },
  "hsl": {
    "h": 230.769,
    "s": 56.522,
    "l": 50.392
  },
  "oklch": {
    "l": 0.48648,
    "c": 0.18878,
    "h": 269.9
  },
  "luminance": 0.10632
}

Semantic roles & 50–950 ramp

primary
#394FC8
secondary
#CEC48F
accent
#C848E0
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #394FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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