#394672#394672

#394672 is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.4% C 0.076 H 270.3°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#394672
RGBrgb(57, 70, 114)
HSLhsl(226, 33%, 34%)
HSVhsv(226, 50%, 45%)
CMYKcmyk(50%, 38.6%, 0%, 55.3%)
CIE-LABlab(30.56, 8.05, -27.00)
CIE-LCHlch(30.56, 28.18, 286.60°)
OKLaboklab(40.42% 0.0003 -0.0761)
OKLCHoklch(40.42% 0.076 270.3)
XYZxyz(6.9138, 6.4647, 16.7998)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394672 #726539
analogous
#396272 #394672 #483972
triadic
#394672 #723946 #467239
tetradic
#394672 #723962 #726539 #397248
square
#394672 #723962 #726539 #397248
split-complementary
#394672 #724839 #627239
monochromatic
#101420 #252D49 #394672 #4D5F9B #6F7FB7

Accessibility & contrast

On white

9.16
#394672 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#394672 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394672
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394672#FFFFFF#000000##FFFFFF
##3946721.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354B74
Deuteranopia (green-blind)
#304671
Tritanopia (blue-blind)
#234F56
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #394672;
/* rgb */ color: rgb(57, 70, 114);
/* oklch */ color: oklch(40.4% 0.076 270.3);
Tailwind
colors: {
  custom: {
    50: '#73799b',
    500: '#394672',
    950: '#000000',
  },
}
SCSS
$custom: #394672;
$custom-light: #73799b;
$custom-dark: #000000;
JSON
{
  "hex": "#394672",
  "rgb": {
    "r": 57,
    "g": 70,
    "b": 114
  },
  "hsl": {
    "h": 226.316,
    "s": 33.333,
    "l": 33.529
  },
  "oklch": {
    "l": 0.4042,
    "c": 0.07612,
    "h": 270.3
  },
  "luminance": 0.06465
}

Semantic roles & 50–950 ramp

primary
#394672
secondary
#A09367
accent
#B15EC9
background
#F7F7F9
surface
#EDEDF2
border
#C8C8CC
text
#08090E
muted
#7B7B7E

Preview Lab

Preview with #394672

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

Preview Lab → · Contrast checker → · Palette generator →

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