#394773#394773

#394773 is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.7% C 0.076 H 269.4°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#394773
RGBrgb(57, 71, 115)
HSLhsl(226, 34%, 34%)
HSVhsv(226, 50%, 45%)
CMYKcmyk(50.4%, 38.3%, 0%, 54.9%)
CIE-LABlab(30.91, 7.72, -27.07)
CIE-LCHlch(30.91, 28.15, 285.92°)
OKLaboklab(40.71% -0.0007 -0.0763)
OKLCHoklch(40.71% 0.076 269.4)
XYZxyz(7.0341, 6.6137, 17.1223)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394773 #736539
analogous
#396473 #394773 #483973
triadic
#394773 #733947 #477339
tetradic
#394773 #733964 #736539 #397348
square
#394773 #733964 #736539 #397348
split-complementary
#394773 #734839 #647339
monochromatic
#101421 #252E4A #394773 #4D609C #6F80B8

Accessibility & contrast

On white

9.04
#394773 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#394773 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394773
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394773#FFFFFF#000000##FFFFFF
##3947731.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364B75
Deuteranopia (green-blind)
#314672
Tritanopia (blue-blind)
#225057
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #394773;
/* rgb */ color: rgb(57, 71, 115);
/* oklch */ color: oklch(40.7% 0.076 269.4);
Tailwind
colors: {
  custom: {
    50: '#737a9b',
    500: '#394773',
    950: '#000000',
  },
}
SCSS
$custom: #394773;
$custom-light: #737a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#394773",
  "rgb": {
    "r": 57,
    "g": 71,
    "b": 115
  },
  "hsl": {
    "h": 225.517,
    "s": 33.721,
    "l": 33.725
  },
  "oklch": {
    "l": 0.40712,
    "c": 0.07632,
    "h": 269.4
  },
  "luminance": 0.06614
}

Semantic roles & 50–950 ramp

primary
#394773
secondary
#A19367
accent
#B05ECA
background
#F7F7F9
surface
#EDEDF2
border
#C8C8CC
text
#08090E
muted
#7B7B7E

Preview Lab

Preview with #394773

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

Preview Lab → · Contrast checker → · Palette generator →

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