#394FBF#394FBF

#394FBF is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.9% C 0.177 H 269.9°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#394FBF
RGBrgb(57, 79, 191)
HSLhsl(230, 54%, 49%)
HSVhsv(230, 70%, 75%)
CMYKcmyk(70.2%, 58.6%, 0%, 25.1%)
CIE-LABlab(38.24, 29.54, -61.32)
CIE-LCHlch(38.24, 68.07, 295.72°)
OKLaboklab(47.9% -0.0002 -0.1768)
OKLCHoklch(47.9% 0.177 269.9)
XYZxyz(13.8841, 10.2220, 50.5215)
Luminance0.1022 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394FBF #BFA939
analogous
#3992BF #394FBF #6639BF
triadic
#394FBF #BF394F #4FBF39
tetradic
#394FBF #BF3992 #BFA939 #39BF66
square
#394FBF #BF3992 #BFA939 #39BF66
split-complementary
#394FBF #BF6639 #92BF39
monochromatic
#1D2861 #2B3C90 #394FBF #6476D1 #93A0DF

Accessibility & contrast

On white

6.90
#394FBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#394FBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #394FBF
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394FBF#FFFFFF#000000##FFFFFF
##394FBF1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C3
Deuteranopia (green-blind)
#0054BD
Tritanopia (blue-blind)
#006B7F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #394fbf;
/* rgb */ color: rgb(57, 79, 191);
/* oklch */ color: oklch(47.9% 0.177 269.9);
Tailwind
colors: {
  custom: {
    50: '#8080d3',
    500: '#394fbf',
    950: '#000000',
  },
}
SCSS
$custom: #394fbf;
$custom-light: #8080d3;
$custom-dark: #000000;
JSON
{
  "hex": "#394fbf",
  "rgb": {
    "r": 57,
    "g": 79,
    "b": 191
  },
  "hsl": {
    "h": 230.149,
    "s": 54.032,
    "l": 48.627
  },
  "oklch": {
    "l": 0.47896,
    "c": 0.1768,
    "h": 269.9
  },
  "luminance": 0.10223
}

Semantic roles & 50–950 ramp

primary
#394FBF
secondary
#CAC08A
accent
#C54ADD
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #394FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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