#394CA8#394CA8

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

Color values

HEX#394CA8
RGBrgb(57, 76, 168)
HSLhsl(230, 49%, 44%)
HSVhsv(230, 66%, 66%)
CMYKcmyk(66.1%, 54.8%, 0%, 34.1%)
CIE-LABlab(35.72, 23.18, -51.82)
CIE-LCHlch(35.72, 56.77, 294.10°)
OKLaboklab(45.47% 0.0015 -0.1489)
OKLCHoklch(45.47% 0.149 270.6)
XYZxyz(11.3373, 8.8649, 38.1518)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394CA8 #A89539
analogous
#3984A8 #394CA8 #5E39A8
triadic
#394CA8 #A8394C #4CA839
tetradic
#394CA8 #A83984 #A89539 #39A85E
square
#394CA8 #A83984 #A89539 #39A85E
split-complementary
#394CA8 #A85E39 #84A839
monochromatic
#1A234D #29377A #394CA8 #586BC6 #8693D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##394CA8#FFFFFF#000000##FFFFFF
##394CA81.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)
#0759AB
Deuteranopia (green-blind)
#004FA6
Tritanopia (blue-blind)
#006272
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #394ca8;
/* rgb */ color: rgb(57, 76, 168);
/* oklch */ color: oklch(45.5% 0.149 270.6);
Tailwind
colors: {
  custom: {
    50: '#7c7dc2',
    500: '#394ca8',
    950: '#000000',
  },
}
SCSS
$custom: #394ca8;
$custom-light: #7c7dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#394ca8",
  "rgb": {
    "r": 57,
    "g": 76,
    "b": 168
  },
  "hsl": {
    "h": 229.73,
    "s": 49.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.45469,
    "c": 0.14891,
    "h": 270.6
  },
  "luminance": 0.08866
}

Semantic roles & 50–950 ramp

primary
#394CA8
secondary
#C0B47D
accent
#C14FD9
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #394CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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