#394FAF#394FAF

#394FAF is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.6% C 0.155 H 269.7°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#394FAF
RGBrgb(57, 79, 175)
HSLhsl(229, 51%, 45%)
HSVhsv(229, 67%, 69%)
CMYKcmyk(67.4%, 54.9%, 0%, 31.4%)
CIE-LABlab(37.03, 23.76, -53.86)
CIE-LCHlch(37.03, 58.87, 293.80°)
OKLaboklab(46.62% -0.0008 -0.1549)
OKLCHoklch(46.62% 0.155 269.7)
XYZxyz(12.2186, 9.5558, 41.7497)
Luminance0.0956 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394FAF #AF9939
analogous
#398AAF #394FAF #5E39AF
triadic
#394FAF #AF394F #4FAF39
tetradic
#394FAF #AF398A #AF9939 #39AF5E
square
#394FAF #AF398A #AF9939 #39AF5E
split-complementary
#394FAF #AF5E39 #8AAF39
monochromatic
#1B2553 #2A3A81 #394FAF #5B70CA #8A98D9

Accessibility & contrast

On white

7.21
#394FAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#394FAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394FAF
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394FAF#FFFFFF#000000##FFFFFF
##394FAF1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#025DB2
Deuteranopia (green-blind)
#0052AD
Tritanopia (blue-blind)
#006677
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #394faf;
/* rgb */ color: rgb(57, 79, 175);
/* oklch */ color: oklch(46.6% 0.155 269.7);
Tailwind
colors: {
  custom: {
    50: '#7d80c8',
    500: '#394faf',
    950: '#000000',
  },
}
SCSS
$custom: #394faf;
$custom-light: #7d80c8;
$custom-dark: #000000;
JSON
{
  "hex": "#394faf",
  "rgb": {
    "r": 57,
    "g": 79,
    "b": 175
  },
  "hsl": {
    "h": 228.814,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.46615,
    "c": 0.15486,
    "h": 269.7
  },
  "luminance": 0.09557
}

Semantic roles & 50–950 ramp

primary
#394FAF
secondary
#C3B781
accent
#C04DDA
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #394FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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