#394BA6#394BA6

#394BA6 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.1% C 0.147 H 270.9°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#394BA6
RGBrgb(57, 75, 166)
HSLhsl(230, 49%, 44%)
HSVhsv(230, 66%, 65%)
CMYKcmyk(65.7%, 54.8%, 0%, 34.9%)
CIE-LABlab(35.31, 23.12, -51.30)
CIE-LCHlch(35.31, 56.26, 294.26°)
OKLaboklab(45.11% 0.0023 -0.1474)
OKLCHoklch(45.11% 0.147 270.9)
XYZxyz(11.0840, 8.6542, 37.1553)
Luminance0.0866 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394BA6 #A69439
analogous
#3981A6 #394BA6 #5D39A6
triadic
#394BA6 #A6394B #4BA639
tetradic
#394BA6 #A63981 #A69439 #39A65D
square
#394BA6 #A63981 #A69439 #39A65D
split-complementary
#394BA6 #A65D39 #81A639
monochromatic
#1A224B #293678 #394BA6 #5769C5 #8492D5

Accessibility & contrast

On white

7.69
#394BA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#394BA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394BA6
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394BA6#FFFFFF#000000##FFFFFF
##394BA61.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0758A9
Deuteranopia (green-blind)
#004EA4
Tritanopia (blue-blind)
#006171
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #394ba6;
/* rgb */ color: rgb(57, 75, 166);
/* oklch */ color: oklch(45.1% 0.147 270.9);
Tailwind
colors: {
  custom: {
    50: '#7c7dc1',
    500: '#394ba6',
    950: '#000000',
  },
}
SCSS
$custom: #394ba6;
$custom-light: #7c7dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#394ba6",
  "rgb": {
    "r": 57,
    "g": 75,
    "b": 166
  },
  "hsl": {
    "h": 230.092,
    "s": 48.879,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45112,
    "c": 0.14738,
    "h": 270.9
  },
  "luminance": 0.08655
}

Semantic roles & 50–950 ramp

primary
#394BA6
secondary
#BFB47C
accent
#C24FD8
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #394BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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