#394CC8#394CC8

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

Color values

HEX#394CC8
RGBrgb(57, 76, 200)
HSLhsl(232, 57%, 50%)
HSVhsv(232, 72%, 78%)
CMYKcmyk(71.5%, 62%, 0%, 21.6%)
CIE-LABlab(38.21, 34.68, -66.61)
CIE-LCHlch(38.21, 75.09, 297.50°)
OKLaboklab(48.1% 0.0019 -0.1923)
OKLCHoklch(48.1% 0.192 270.6)
XYZxyz(14.6936, 10.2074, 55.8282)
Luminance0.1021 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394CC8 #C8B539
analogous
#3993C8 #394CC8 #6D39C8
triadic
#394CC8 #C8394C #4CC839
tetradic
#394CC8 #C83993 #C8B539 #39C86D
square
#394CC8 #C83993 #C8B539 #39C86D
split-complementary
#394CC8 #C86D39 #93C839
monochromatic
#1D2769 #2B3999 #394CC8 #6977D5 #99A3E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##394CC8#FFFFFF#000000##FFFFFF
##394CC81.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)
#0061CC
Deuteranopia (green-blind)
#0053C6
Tritanopia (blue-blind)
#006C83
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #394cc8;
/* rgb */ color: rgb(57, 76, 200);
/* oklch */ color: oklch(48.1% 0.192 270.6);
Tailwind
colors: {
  custom: {
    50: '#837eda',
    500: '#394cc8',
    950: '#000000',
  },
}
SCSS
$custom: #394cc8;
$custom-light: #837eda;
$custom-dark: #000000;
JSON
{
  "hex": "#394cc8",
  "rgb": {
    "r": 57,
    "g": 76,
    "b": 200
  },
  "hsl": {
    "h": 232.028,
    "s": 56.522,
    "l": 50.392
  },
  "oklch": {
    "l": 0.48102,
    "c": 0.19236,
    "h": 270.6
  },
  "luminance": 0.10209
}

Semantic roles & 50–950 ramp

primary
#394CC8
secondary
#CEC68F
accent
#CC48E0
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #394CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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