#394AC8#394AC8

#394AC8 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.7% C 0.195 H 271.0°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#394AC8
RGBrgb(57, 74, 200)
HSLhsl(233, 57%, 50%)
HSVhsv(233, 72%, 78%)
CMYKcmyk(71.5%, 63%, 0%, 21.6%)
CIE-LABlab(37.73, 35.94, -67.40)
CIE-LCHlch(37.73, 76.38, 298.07°)
OKLaboklab(47.75% 0.0033 -0.1947)
OKLCHoklch(47.75% 0.195 271)
XYZxyz(14.5579, 9.9361, 55.7830)
Luminance0.0994 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394AC8 #C8B739
analogous
#3992C8 #394AC8 #6F39C8
triadic
#394AC8 #C8394A #4AC839
tetradic
#394AC8 #C83992 #C8B739 #39C86F
square
#394AC8 #C83992 #C8B739 #39C86F
split-complementary
#394AC8 #C86F39 #92C839
monochromatic
#1D2669 #2B3899 #394AC8 #6976D5 #99A2E3

Accessibility & contrast

On white

7.03
#394AC8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#394AC8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394AC8
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394AC8#FFFFFF#000000##FFFFFF
##394AC81.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CC
Deuteranopia (green-blind)
#0052C6
Tritanopia (blue-blind)
#006B82
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #394ac8;
/* rgb */ color: rgb(57, 74, 200);
/* oklch */ color: oklch(47.7% 0.195 271.0);
Tailwind
colors: {
  custom: {
    50: '#837cda',
    500: '#394ac8',
    950: '#000000',
  },
}
SCSS
$custom: #394ac8;
$custom-light: #837cda;
$custom-dark: #000000;
JSON
{
  "hex": "#394ac8",
  "rgb": {
    "r": 57,
    "g": 74,
    "b": 200
  },
  "hsl": {
    "h": 232.867,
    "s": 56.522,
    "l": 50.392
  },
  "oklch": {
    "l": 0.47745,
    "c": 0.19472,
    "h": 271
  },
  "luminance": 0.09938
}

Semantic roles & 50–950 ramp

primary
#394AC8
secondary
#CEC78F
accent
#CE48E0
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #394AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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