#394FB2#394FB2

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

Color values

HEX#394FB2
RGBrgb(57, 79, 178)
HSLhsl(229, 51%, 46%)
HSVhsv(229, 68%, 70%)
CMYKcmyk(68%, 55.6%, 0%, 30.2%)
CIE-LABlab(37.25, 24.84, -55.28)
CIE-LCHlch(37.25, 60.61, 294.20°)
OKLaboklab(46.85% -0.0006 -0.159)
OKLCHoklch(46.85% 0.159 269.8)
XYZxyz(12.5165, 9.6750, 43.3187)
Luminance0.0968 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394FB2 #B29C39
analogous
#398BB2 #394FB2 #5F39B2
triadic
#394FB2 #B2394F #4FB239
tetradic
#394FB2 #B2398B #B29C39 #39B25F
square
#394FB2 #B2398B #B29C39 #39B25F
split-complementary
#394FB2 #B25F39 #8BB239
monochromatic
#1B2655 #2A3A84 #394FB2 #5D71CB #8B9ADA

Accessibility & contrast

On white

7.15
#394FB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #394FB2
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394FB2#FFFFFF#000000##FFFFFF
##394FB21.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #394fb2;
/* rgb */ color: rgb(57, 79, 178);
/* oklch */ color: oklch(46.8% 0.159 269.8);
Tailwind
colors: {
  custom: {
    50: '#7e80ca',
    500: '#394fb2',
    950: '#000000',
  },
}
SCSS
$custom: #394fb2;
$custom-light: #7e80ca;
$custom-dark: #000000;
JSON
{
  "hex": "#394fb2",
  "rgb": {
    "r": 57,
    "g": 79,
    "b": 178
  },
  "hsl": {
    "h": 229.091,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.46849,
    "c": 0.15904,
    "h": 269.8
  },
  "luminance": 0.09676
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #394FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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