#394FA8#394FA8

#394FA8 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.1% C 0.145 H 269.5°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#394FA8
RGBrgb(57, 79, 168)
HSLhsl(228, 49%, 44%)
HSVhsv(228, 66%, 66%)
CMYKcmyk(66.1%, 53%, 0%, 34.1%)
CIE-LABlab(36.53, 21.21, -50.51)
CIE-LCHlch(36.53, 54.79, 292.78°)
OKLaboklab(46.08% -0.0013 -0.145)
OKLCHoklch(46.08% 0.145 269.5)
XYZxyz(11.5488, 9.2879, 38.2223)
Luminance0.0929 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394FA8 #A89239
analogous
#3987A8 #394FA8 #5B39A8
triadic
#394FA8 #A8394F #4FA839
tetradic
#394FA8 #A83987 #A89239 #39A85B
square
#394FA8 #A83987 #A89239 #39A85B
split-complementary
#394FA8 #A85B39 #87A839
monochromatic
#1A244D #293A7A #394FA8 #586EC6 #8695D6

Accessibility & contrast

On white

7.35
#394FA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#394FA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394FA8
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394FA8#FFFFFF#000000##FFFFFF
##394FA81.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175BAB
Deuteranopia (green-blind)
#0051A6
Tritanopia (blue-blind)
#006474
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #394fa8;
/* rgb */ color: rgb(57, 79, 168);
/* oklch */ color: oklch(46.1% 0.145 269.5);
Tailwind
colors: {
  custom: {
    50: '#7c80c2',
    500: '#394fa8',
    950: '#000000',
  },
}
SCSS
$custom: #394fa8;
$custom-light: #7c80c2;
$custom-dark: #000000;
JSON
{
  "hex": "#394fa8",
  "rgb": {
    "r": 57,
    "g": 79,
    "b": 168
  },
  "hsl": {
    "h": 228.108,
    "s": 49.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.46079,
    "c": 0.14502,
    "h": 269.5
  },
  "luminance": 0.09289
}

Semantic roles & 50–950 ramp

primary
#394FA8
secondary
#C0B37D
accent
#BE4FD9
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #394FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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