#394AAF#394AAF

#394AAF is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.6% C 0.161 H 271.3°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#394AAF
RGBrgb(57, 74, 175)
HSLhsl(231, 51%, 45%)
HSVhsv(231, 67%, 69%)
CMYKcmyk(67.4%, 57.7%, 0%, 31.4%)
CIE-LABlab(35.72, 27.02, -56.00)
CIE-LCHlch(35.72, 62.18, 295.76°)
OKLaboklab(45.63% 0.0036 -0.1612)
OKLCHoklch(45.63% 0.161 271.3)
XYZxyz(11.8714, 8.8615, 41.6339)
Luminance0.0886 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394AAF #AF9E39
analogous
#3985AF #394AAF #6339AF
triadic
#394AAF #AF394A #4AAF39
tetradic
#394AAF #AF3985 #AF9E39 #39AF63
square
#394AAF #AF3985 #AF9E39 #39AF63
split-complementary
#394AAF #AF6339 #85AF39
monochromatic
#1B2353 #2A3681 #394AAF #5B6BCA #8A95D9

Accessibility & contrast

On white

7.57
#394AAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#394AAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394AAF
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394AAF#FFFFFF#000000##FFFFFF
##394AAF1.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B2
Deuteranopia (green-blind)
#004FAD
Tritanopia (blue-blind)
#006375
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #394aaf;
/* rgb */ color: rgb(57, 74, 175);
/* oklch */ color: oklch(45.6% 0.161 271.3);
Tailwind
colors: {
  custom: {
    50: '#7d7cc8',
    500: '#394aaf',
    950: '#000000',
  },
}
SCSS
$custom: #394aaf;
$custom-light: #7d7cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#394aaf",
  "rgb": {
    "r": 57,
    "g": 74,
    "b": 175
  },
  "hsl": {
    "h": 231.356,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.45628,
    "c": 0.16125,
    "h": 271.3
  },
  "luminance": 0.08863
}

Semantic roles & 50–950 ramp

primary
#394AAF
secondary
#C3B981
accent
#C64DDA
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #394AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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