#394FB3#394FB3

#394FB3 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.9% C 0.160 H 269.8°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#394FB3
RGBrgb(57, 79, 179)
HSLhsl(229, 52%, 46%)
HSVhsv(229, 68%, 70%)
CMYKcmyk(68.2%, 55.9%, 0%, 29.8%)
CIE-LABlab(37.33, 25.21, -55.75)
CIE-LCHlch(37.33, 61.19, 294.33°)
OKLaboklab(46.93% -0.0006 -0.1604)
OKLCHoklch(46.93% 0.16 269.8)
XYZxyz(12.6172, 9.7153, 43.8494)
Luminance0.0972 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394FB3 #B39D39
analogous
#398CB3 #394FB3 #6039B3
triadic
#394FB3 #B3394F #4FB339
tetradic
#394FB3 #B3398C #B39D39 #39B360
square
#394FB3 #B3398C #B39D39 #39B360
split-complementary
#394FB3 #B36039 #8CB339
monochromatic
#1B2656 #2A3B85 #394FB3 #5E71CC #8C9ADA

Accessibility & contrast

On white

7.14
#394FB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#394FB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394FB3
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394FB3#FFFFFF#000000##FFFFFF
##394FB31.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB6
Deuteranopia (green-blind)
#0052B1
Tritanopia (blue-blind)
#006779
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #394fb3;
/* rgb */ color: rgb(57, 79, 179);
/* oklch */ color: oklch(46.9% 0.160 269.8);
Tailwind
colors: {
  custom: {
    50: '#7e80ca',
    500: '#394fb3',
    950: '#000000',
  },
}
SCSS
$custom: #394fb3;
$custom-light: #7e80ca;
$custom-dark: #000000;
JSON
{
  "hex": "#394fb3",
  "rgb": {
    "r": 57,
    "g": 79,
    "b": 179
  },
  "hsl": {
    "h": 229.18,
    "s": 51.695,
    "l": 46.275
  },
  "oklch": {
    "l": 0.46928,
    "c": 0.16042,
    "h": 269.8
  },
  "luminance": 0.09716
}

Semantic roles & 50–950 ramp

primary
#394FB3
secondary
#C5B983
accent
#C14DDB
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #394FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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