#394EAF#394EAF

#394EAF is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.4% C 0.156 H 270.0°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#394EAF
RGBrgb(57, 78, 175)
HSLhsl(229, 51%, 45%)
HSVhsv(229, 67%, 69%)
CMYKcmyk(67.4%, 55.4%, 0%, 31.4%)
CIE-LABlab(36.77, 24.41, -54.29)
CIE-LCHlch(36.77, 59.53, 294.21°)
OKLaboklab(46.42% 0.0001 -0.1561)
OKLCHoklch(46.42% 0.156 270)
XYZxyz(12.1470, 9.4126, 41.7258)
Luminance0.0941 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394EAF #AF9A39
analogous
#3989AF #394EAF #5F39AF
triadic
#394EAF #AF394E #4EAF39
tetradic
#394EAF #AF3989 #AF9A39 #39AF5F
square
#394EAF #AF3989 #AF9A39 #39AF5F
split-complementary
#394EAF #AF5F39 #89AF39
monochromatic
#1B2553 #2A3981 #394EAF #5B6FCA #8A98D9

Accessibility & contrast

On white

7.28
#394EAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#394EAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394EAF
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394EAF#FFFFFF#000000##FFFFFF
##394EAF1.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB2
Deuteranopia (green-blind)
#0051AD
Tritanopia (blue-blind)
#006577
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #394eaf;
/* rgb */ color: rgb(57, 78, 175);
/* oklch */ color: oklch(46.4% 0.156 270.0);
Tailwind
colors: {
  custom: {
    50: '#7d7fc8',
    500: '#394eaf',
    950: '#000000',
  },
}
SCSS
$custom: #394eaf;
$custom-light: #7d7fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#394eaf",
  "rgb": {
    "r": 57,
    "g": 78,
    "b": 175
  },
  "hsl": {
    "h": 229.322,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.46415,
    "c": 0.15615,
    "h": 270
  },
  "luminance": 0.09414
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #394EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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