#394693#394693

#394693 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.6% C 0.127 H 272.7°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#394693
RGBrgb(57, 70, 147)
HSLhsl(231, 44%, 40%)
HSVhsv(231, 61%, 58%)
CMYKcmyk(61.2%, 52.4%, 0%, 42.4%)
CIE-LABlab(32.60, 19.59, -44.19)
CIE-LCHlch(32.60, 48.34, 293.91°)
OKLaboklab(42.65% 0.0059 -0.1265)
OKLCHoklch(42.65% 0.127 272.7)
XYZxyz(9.1422, 7.3560, 28.5362)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394693 #938639
analogous
#397393 #394693 #593993
triadic
#394693 #933946 #469339
tetradic
#394693 #933973 #938639 #399359
square
#394693 #933973 #938639 #399359
split-complementary
#394693 #935939 #739339
monochromatic
#171C3B #283167 #394693 #4F5EBB #7B86CC

Accessibility & contrast

On white

8.50
#394693 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#394693 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394693
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394693#FFFFFF#000000##FFFFFF
##3946931.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5196
Deuteranopia (green-blind)
#044991
Tritanopia (blue-blind)
#005865
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #394693;
/* rgb */ color: rgb(57, 70, 147);
/* oklch */ color: oklch(42.6% 0.127 272.7);
Tailwind
colors: {
  custom: {
    50: '#7879b3',
    500: '#394693',
    950: '#000000',
  },
}
SCSS
$custom: #394693;
$custom-light: #7879b3;
$custom-dark: #000000;
JSON
{
  "hex": "#394693",
  "rgb": {
    "r": 57,
    "g": 70,
    "b": 147
  },
  "hsl": {
    "h": 231.333,
    "s": 44.118,
    "l": 40
  },
  "oklch": {
    "l": 0.42646,
    "c": 0.12666,
    "h": 272.7
  },
  "luminance": 0.07357
}

Semantic roles & 50–950 ramp

primary
#394693
secondary
#B5AB73
accent
#C154D4
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0911
muted
#7C7B80

Preview Lab

Preview with #394693

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

Preview Lab → · Contrast checker → · Palette generator →

#394693 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva