#394572#394572

#394572 is a dark, moderate blue. Relative luminance 0.063; OKLCH L 40.2% C 0.078 H 271.3°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#394572
RGBrgb(57, 69, 114)
HSLhsl(227, 33%, 34%)
HSVhsv(227, 50%, 45%)
CMYKcmyk(50%, 39.5%, 0%, 55.3%)
CIE-LABlab(30.26, 8.71, -27.47)
CIE-LCHlch(30.26, 28.82, 287.60°)
OKLaboklab(40.19% 0.0017 -0.0775)
OKLCHoklch(40.19% 0.078 271.3)
XYZxyz(6.8518, 6.3406, 16.7791)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394572 #726639
analogous
#396172 #394572 #493972
triadic
#394572 #723945 #457239
tetradic
#394572 #723961 #726639 #397249
square
#394572 #723961 #726639 #397249
split-complementary
#394572 #724939 #617239
monochromatic
#101420 #252C49 #394572 #4D5E9B #6F7EB7

Accessibility & contrast

On white

9.26
#394572 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#394572 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394572
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394572#FFFFFF#000000##FFFFFF
##3945721.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344A74
Deuteranopia (green-blind)
#2F4571
Tritanopia (blue-blind)
#234E56
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #394572;
/* rgb */ color: rgb(57, 69, 114);
/* oklch */ color: oklch(40.2% 0.078 271.3);
Tailwind
colors: {
  custom: {
    50: '#73789b',
    500: '#394572',
    950: '#000000',
  },
}
SCSS
$custom: #394572;
$custom-light: #73789b;
$custom-dark: #000000;
JSON
{
  "hex": "#394572",
  "rgb": {
    "r": 57,
    "g": 69,
    "b": 114
  },
  "hsl": {
    "h": 227.368,
    "s": 33.333,
    "l": 33.529
  },
  "oklch": {
    "l": 0.40189,
    "c": 0.07753,
    "h": 271.3
  },
  "luminance": 0.06341
}

Semantic roles & 50–950 ramp

primary
#394572
secondary
#A09467
accent
#B35EC9
background
#F7F7F9
surface
#EDEDF2
border
#C8C8CC
text
#08080E
muted
#7B7B7E

Preview Lab

Preview with #394572

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

Preview Lab → · Contrast checker → · Palette generator →

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