#394A89#394A89

#394A89 is a dark, moderate blue. Relative luminance 0.076; OKLCH L 42.8% C 0.106 H 270.1°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#394A89
RGBrgb(57, 74, 137)
HSLhsl(227, 41%, 38%)
HSVhsv(227, 58%, 54%)
CMYKcmyk(58.4%, 46%, 0%, 46.3%)
CIE-LABlab(33.08, 13.36, -37.31)
CIE-LCHlch(33.08, 39.63, 289.71°)
OKLaboklab(42.79% 0.0001 -0.1062)
OKLCHoklch(42.79% 0.106 270.1)
XYZxyz(8.6500, 7.5729, 24.6680)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394A89 #897839
analogous
#397289 #394A89 #503989
triadic
#394A89 #89394A #4A8939
tetradic
#394A89 #893972 #897839 #398950
square
#394A89 #893972 #897839 #398950
split-complementary
#394A89 #895039 #728939
monochromatic
#151B33 #27335E #394A89 #4B61B4 #7687C6

Accessibility & contrast

On white

8.35
#394A89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#394A89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394A89
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394A89#FFFFFF#000000##FFFFFF
##394A891.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E528B
Deuteranopia (green-blind)
#234A88
Tritanopia (blue-blind)
#055863
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #394a89;
/* rgb */ color: rgb(57, 74, 137);
/* oklch */ color: oklch(42.8% 0.106 270.1);
Tailwind
colors: {
  custom: {
    50: '#767cac',
    500: '#394a89',
    950: '#000000',
  },
}
SCSS
$custom: #394a89;
$custom-light: #767cac;
$custom-dark: #000000;
JSON
{
  "hex": "#394a89",
  "rgb": {
    "r": 57,
    "g": 74,
    "b": 137
  },
  "hsl": {
    "h": 227.25,
    "s": 41.237,
    "l": 38.039
  },
  "oklch": {
    "l": 0.42794,
    "c": 0.10624,
    "h": 270.1
  },
  "luminance": 0.07574
}

Semantic roles & 50–950 ramp

primary
#394A89
secondary
#AFA26F
accent
#B757D1
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #394A89

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

Preview Lab → · Contrast checker → · Palette generator →

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