#394CF3#394CF3

#394CF3 is a mid, highly saturated blue. Relative luminance 0.125; OKLCH L 52.0% C 0.246 H 269.7°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#394CF3
RGBrgb(57, 76, 243)
HSLhsl(234, 89%, 59%)
HSVhsv(234, 77%, 95%)
CMYKcmyk(76.5%, 68.7%, 0%, 4.7%)
CIE-LABlab(42.01, 49.53, -84.94)
CIE-LCHlch(42.01, 98.32, 300.25°)
OKLaboklab(52.03% -0.0011 -0.2459)
OKLCHoklch(52.03% 0.246 269.7)
XYZxyz(20.4439, 12.5075, 86.1134)
Luminance0.1251 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394CF3 #F3E039
analogous
#39A9F3 #394CF3 #8339F3
triadic
#394CF3 #F3394C #4CF339
tetradic
#394CF3 #F339A9 #F3E039 #39F383
square
#394CF3 #F339A9 #F3E039 #39F383
split-complementary
#394CF3 #F38339 #A9F339
monochromatic
#0A1AA7 #0E23E1 #394CF3 #7380F6 #ACB4FA

Accessibility & contrast

On white

6.00
#394CF3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#394CF3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #394CF3
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394CF3#FFFFFF#000000##FFFFFF
##394CF31.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CF8
Deuteranopia (green-blind)
#005AF0
Tritanopia (blue-blind)
#007B9A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #394cf3;
/* rgb */ color: rgb(57, 76, 243);
/* oklch */ color: oklch(52.0% 0.246 269.7);
Tailwind
colors: {
  custom: {
    50: '#8c7ff8',
    500: '#394cf3',
    950: '#000000',
  },
}
SCSS
$custom: #394cf3;
$custom-light: #8c7ff8;
$custom-dark: #000000;
JSON
{
  "hex": "#394cf3",
  "rgb": {
    "r": 57,
    "g": 76,
    "b": 243
  },
  "hsl": {
    "h": 233.871,
    "s": 88.571,
    "l": 58.824
  },
  "oklch": {
    "l": 0.52033,
    "c": 0.24594,
    "h": 269.7
  },
  "luminance": 0.1251
}

Semantic roles & 50–950 ramp

primary
#394CF3
secondary
#E9E19F
accent
#E929FF
background
#F9F7FF
surface
#F2EEFF
border
#CCC9D7
text
#0E0A17
muted
#7E7C85

Preview Lab

Preview with #394CF3

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

Preview Lab → · Contrast checker → · Palette generator →

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