#394080#394080

#394080 is a dark, moderate blue. Relative luminance 0.061; OKLCH L 40.0% C 0.107 H 275.8°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#394080
RGBrgb(57, 64, 128)
HSLhsl(234, 38%, 36%)
HSVhsv(234, 55%, 50%)
CMYKcmyk(55.5%, 50%, 0%, 49.8%)
CIE-LABlab(29.65, 16.89, -37.22)
CIE-LCHlch(29.65, 40.87, 294.40°)
OKLaboklab(40% 0.0107 -0.1061)
OKLCHoklch(40% 0.107 275.8)
XYZxyz(7.4158, 6.0947, 21.2035)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394080 #807939
analogous
#396480 #394080 #563980
triadic
#394080 #803940 #408039
tetradic
#394080 #803964 #807939 #398056
square
#394080 #803964 #807939 #398056
split-complementary
#394080 #805639 #648039
monochromatic
#13162B #262B56 #394080 #4C55AA #737AC1

Accessibility & contrast

On white

9.46
#394080 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#394080 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394080
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394080#FFFFFF#000000##FFFFFF
##3940801.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224982
Deuteranopia (green-blind)
#19437F
Tritanopia (blue-blind)
#174E5A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #394080;
/* rgb */ color: rgb(57, 64, 128);
/* oklch */ color: oklch(40.0% 0.107 275.8);
Tailwind
colors: {
  custom: {
    50: '#7574a5',
    500: '#394080',
    950: '#000000',
  },
}
SCSS
$custom: #394080;
$custom-light: #7574a5;
$custom-dark: #000000;
JSON
{
  "hex": "#394080",
  "rgb": {
    "r": 57,
    "g": 64,
    "b": 128
  },
  "hsl": {
    "h": 234.085,
    "s": 38.378,
    "l": 36.275
  },
  "oklch": {
    "l": 0.40001,
    "c": 0.10663,
    "h": 275.8
  },
  "luminance": 0.06095
}

Semantic roles & 50–950 ramp

primary
#394080
secondary
#AAA46B
accent
#C359CE
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#09080F
muted
#7B7B7F

Preview Lab

Preview with #394080

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

Preview Lab → · Contrast checker → · Palette generator →

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