#394682#394682

#394682 is a dark, moderate blue. Relative luminance 0.069; OKLCH L 41.4% C 0.101 H 272.1°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#394682
RGBrgb(57, 70, 130)
HSLhsl(229, 39%, 37%)
HSVhsv(229, 56%, 51%)
CMYKcmyk(56.2%, 46.2%, 0%, 49%)
CIE-LABlab(31.49, 13.56, -35.52)
CIE-LCHlch(31.49, 38.02, 290.90°)
OKLaboklab(41.44% 0.0037 -0.101)
OKLCHoklch(41.44% 0.101 272.1)
XYZxyz(7.9055, 6.8613, 22.0226)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394682 #827539
analogous
#396B82 #394682 #513982
triadic
#394682 #823946 #468239
tetradic
#394682 #82396B #827539 #398251
square
#394682 #82396B #827539 #398251
split-complementary
#394682 #825139 #6B8239
monochromatic
#14182D #262F57 #394682 #4C5DAD #7481C2

Accessibility & contrast

On white

8.85
#394682 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#394682 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394682
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394682#FFFFFF#000000##FFFFFF
##3946821.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4D84
Deuteranopia (green-blind)
#234781
Tritanopia (blue-blind)
#14535D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #394682;
/* rgb */ color: rgb(57, 70, 130);
/* oklch */ color: oklch(41.4% 0.101 272.1);
Tailwind
colors: {
  custom: {
    50: '#7579a7',
    500: '#394682',
    950: '#000000',
  },
}
SCSS
$custom: #394682;
$custom-light: #7579a7;
$custom-dark: #000000;
JSON
{
  "hex": "#394682",
  "rgb": {
    "r": 57,
    "g": 70,
    "b": 130
  },
  "hsl": {
    "h": 229.315,
    "s": 39.037,
    "l": 36.667
  },
  "oklch": {
    "l": 0.41441,
    "c": 0.10111,
    "h": 272.1
  },
  "luminance": 0.06862
}

Semantic roles & 50–950 ramp

primary
#394682
secondary
#ABA06C
accent
#BA59CF
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#09090F
muted
#7B7B7F

Preview Lab

Preview with #394682

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

Preview Lab → · Contrast checker → · Palette generator →

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