#394CA3#394CA3

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

Color values

HEX#394CA3
RGBrgb(57, 76, 163)
HSLhsl(229, 48%, 43%)
HSVhsv(229, 65%, 64%)
CMYKcmyk(65%, 53.4%, 0%, 36.1%)
CIE-LABlab(35.36, 21.38, -49.41)
CIE-LCHlch(35.36, 53.84, 293.39°)
OKLaboklab(45.09% 0.0012 -0.1418)
OKLCHoklch(45.09% 0.142 270.5)
XYZxyz(10.8804, 8.6821, 35.7457)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394CA3 #A39039
analogous
#3981A3 #394CA3 #5B39A3
triadic
#394CA3 #A3394C #4CA339
tetradic
#394CA3 #A33981 #A39039 #39A35B
square
#394CA3 #A33981 #A39039 #39A35B
split-complementary
#394CA3 #A35B39 #81A339
monochromatic
#192248 #293776 #394CA3 #5569C4 #8391D4

Accessibility & contrast

On white

7.67
#394CA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#394CA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394CA3
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394CA3#FFFFFF#000000##FFFFFF
##394CA31.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1558A6
Deuteranopia (green-blind)
#004FA1
Tritanopia (blue-blind)
#006070
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #394ca3;
/* rgb */ color: rgb(57, 76, 163);
/* oklch */ color: oklch(45.1% 0.142 270.5);
Tailwind
colors: {
  custom: {
    50: '#7b7dbf',
    500: '#394ca3',
    950: '#000000',
  },
}
SCSS
$custom: #394ca3;
$custom-light: #7b7dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#394ca3",
  "rgb": {
    "r": 57,
    "g": 76,
    "b": 163
  },
  "hsl": {
    "h": 229.245,
    "s": 48.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.45086,
    "c": 0.1418,
    "h": 270.5
  },
  "luminance": 0.08683
}

Semantic roles & 50–950 ramp

primary
#394CA3
secondary
#BDB17A
accent
#BF50D8
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #394CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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