#394380#394380

#394380 is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.6% C 0.102 H 274.0°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#394380
RGBrgb(57, 67, 128)
HSLhsl(232, 38%, 36%)
HSVhsv(232, 55%, 50%)
CMYKcmyk(55.5%, 47.7%, 0%, 49.8%)
CIE-LABlab(30.50, 14.87, -35.86)
CIE-LCHlch(30.50, 38.82, 292.52°)
OKLaboklab(40.65% 0.0071 -0.1021)
OKLCHoklch(40.65% 0.102 274)
XYZxyz(7.5895, 6.4422, 21.2614)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394380 #807639
analogous
#396780 #394380 #533980
triadic
#394380 #803943 #438039
tetradic
#394380 #803967 #807639 #398053
square
#394380 #803967 #807639 #398053
split-complementary
#394380 #805339 #678039
monochromatic
#13172B #262D56 #394380 #4C59AA #737EC1

Accessibility & contrast

On white

9.18
#394380 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #394380
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394380#FFFFFF#000000##FFFFFF
##3943801.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284B82
Deuteranopia (green-blind)
#20457F
Tritanopia (blue-blind)
#17505B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #394380;
/* rgb */ color: rgb(57, 67, 128);
/* oklch */ color: oklch(40.6% 0.102 274.0);
Tailwind
colors: {
  custom: {
    50: '#7576a5',
    500: '#394380',
    950: '#000000',
  },
}
SCSS
$custom: #394380;
$custom-light: #7576a5;
$custom-dark: #000000;
JSON
{
  "hex": "#394380",
  "rgb": {
    "r": 57,
    "g": 67,
    "b": 128
  },
  "hsl": {
    "h": 231.549,
    "s": 38.378,
    "l": 36.275
  },
  "oklch": {
    "l": 0.40648,
    "c": 0.1023,
    "h": 274
  },
  "luminance": 0.06443
}

Semantic roles & 50–950 ramp

primary
#394380
secondary
#AAA16B
accent
#BE59CE
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#09080F
muted
#7B7B7F

Preview Lab

Preview with #394380

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

Preview Lab → · Contrast checker → · Palette generator →

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