#394480#394480

#394480 is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.9% C 0.101 H 273.3°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#394480
RGBrgb(57, 68, 128)
HSLhsl(231, 38%, 36%)
HSVhsv(231, 55%, 50%)
CMYKcmyk(55.5%, 46.9%, 0%, 49.8%)
CIE-LABlab(30.79, 14.20, -35.40)
CIE-LCHlch(30.79, 38.14, 291.86°)
OKLaboklab(40.87% 0.0058 -0.1007)
OKLCHoklch(40.87% 0.101 273.3)
XYZxyz(7.6495, 6.5621, 21.2814)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394480 #807539
analogous
#396880 #394480 #523980
triadic
#394480 #803944 #448039
tetradic
#394480 #803968 #807539 #398052
square
#394480 #803968 #807539 #398052
split-complementary
#394480 #805239 #688039
monochromatic
#13172B #262E56 #394480 #4C5AAA #737FC1

Accessibility & contrast

On white

9.08
#394480 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#394480 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394480
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394480#FFFFFF#000000##FFFFFF
##3944801.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4C82
Deuteranopia (green-blind)
#21467F
Tritanopia (blue-blind)
#17515B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #394480;
/* rgb */ color: rgb(57, 68, 128);
/* oklch */ color: oklch(40.9% 0.101 273.3);
Tailwind
colors: {
  custom: {
    50: '#7577a5',
    500: '#394480',
    950: '#000000',
  },
}
SCSS
$custom: #394480;
$custom-light: #7577a5;
$custom-dark: #000000;
JSON
{
  "hex": "#394480",
  "rgb": {
    "r": 57,
    "g": 68,
    "b": 128
  },
  "hsl": {
    "h": 230.704,
    "s": 38.378,
    "l": 36.275
  },
  "oklch": {
    "l": 0.40866,
    "c": 0.10087,
    "h": 273.3
  },
  "luminance": 0.06563
}

Semantic roles & 50–950 ramp

primary
#394480
secondary
#AAA06B
accent
#BC59CE
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#09080F
muted
#7B7B7F

Preview Lab

Preview with #394480

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

Preview Lab → · Contrast checker → · Palette generator →

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