#394896#394896

#394896 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.3% C 0.128 H 271.8°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#394896
RGBrgb(57, 72, 150)
HSLhsl(230, 45%, 41%)
HSVhsv(230, 62%, 59%)
CMYKcmyk(62%, 52%, 0%, 41.2%)
CIE-LABlab(33.36, 19.34, -44.79)
CIE-LCHlch(33.36, 48.79, 293.35°)
OKLaboklab(43.29% 0.0041 -0.1283)
OKLCHoklch(43.29% 0.128 271.8)
XYZxyz(9.5079, 7.7058, 29.8346)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394896 #968739
analogous
#397696 #394896 #583996
triadic
#394896 #963948 #489639
tetradic
#394896 #963976 #968739 #399658
square
#394896 #963976 #968739 #399658
split-complementary
#394896 #965839 #769639
monochromatic
#171D3D #28336A #394896 #5061BC #7C89CD

Accessibility & contrast

On white

8.26
#394896 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#394896 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394896
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394896#FFFFFF#000000##FFFFFF
##3948961.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5399
Deuteranopia (green-blind)
#044B94
Tritanopia (blue-blind)
#005A68
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #394896;
/* rgb */ color: rgb(57, 72, 150);
/* oklch */ color: oklch(43.3% 0.128 271.8);
Tailwind
colors: {
  custom: {
    50: '#797ab5',
    500: '#394896',
    950: '#000000',
  },
}
SCSS
$custom: #394896;
$custom-light: #797ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#394896",
  "rgb": {
    "r": 57,
    "g": 72,
    "b": 150
  },
  "hsl": {
    "h": 230.323,
    "s": 44.928,
    "l": 40.588
  },
  "oklch": {
    "l": 0.43285,
    "c": 0.12835,
    "h": 271.8
  },
  "luminance": 0.07707
}

Semantic roles & 50–950 ramp

primary
#394896
secondary
#B7AC74
accent
#C053D5
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0911
muted
#7C7B80

Preview Lab

Preview with #394896

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

Preview Lab → · Contrast checker → · Palette generator →

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