#394BAF#394BAF

#394BAF is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.8% C 0.160 H 271.0°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#394BAF
RGBrgb(57, 75, 175)
HSLhsl(231, 51%, 45%)
HSVhsv(231, 67%, 69%)
CMYKcmyk(67.4%, 57.1%, 0%, 31.4%)
CIE-LABlab(35.98, 26.37, -55.58)
CIE-LCHlch(35.98, 61.51, 295.38°)
OKLaboklab(45.82% 0.0028 -0.1599)
OKLCHoklch(45.82% 0.16 271)
XYZxyz(11.9387, 8.9960, 41.6564)
Luminance0.0900 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394BAF #AF9D39
analogous
#3986AF #394BAF #6239AF
triadic
#394BAF #AF394B #4BAF39
tetradic
#394BAF #AF3986 #AF9D39 #39AF62
square
#394BAF #AF3986 #AF9D39 #39AF62
split-complementary
#394BAF #AF6239 #86AF39
monochromatic
#1B2353 #2A3781 #394BAF #5B6CCA #8A96D9

Accessibility & contrast

On white

7.50
#394BAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#394BAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394BAF
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394BAF#FFFFFF#000000##FFFFFF
##394BAF1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB2
Deuteranopia (green-blind)
#004FAD
Tritanopia (blue-blind)
#006375
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #394baf;
/* rgb */ color: rgb(57, 75, 175);
/* oklch */ color: oklch(45.8% 0.160 271.0);
Tailwind
colors: {
  custom: {
    50: '#7d7dc8',
    500: '#394baf',
    950: '#000000',
  },
}
SCSS
$custom: #394baf;
$custom-light: #7d7dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#394baf",
  "rgb": {
    "r": 57,
    "g": 75,
    "b": 175
  },
  "hsl": {
    "h": 230.847,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.45823,
    "c": 0.15997,
    "h": 271
  },
  "luminance": 0.08997
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #394BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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