#394090#394090

#394090 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.2% C 0.131 H 275.3°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#394090
RGBrgb(57, 64, 144)
HSLhsl(235, 43%, 39%)
HSVhsv(235, 60%, 56%)
CMYKcmyk(60.4%, 55.6%, 0%, 43.5%)
CIE-LABlab(30.76, 22.51, -45.33)
CIE-LCHlch(30.76, 50.61, 296.41°)
OKLaboklab(41.19% 0.0121 -0.1299)
OKLCHoklch(41.19% 0.131 275.3)
XYZxyz(8.5531, 6.5496, 27.1936)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394090 #908939
analogous
#396C90 #394090 #5D3990
triadic
#394090 #903940 #409039
tetradic
#394090 #90396C #908939 #39905D
square
#394090 #90396C #908939 #39905D
split-complementary
#394090 #905D39 #6C9039
monochromatic
#161938 #282D64 #394090 #4D56B9 #7980CA

Accessibility & contrast

On white

9.09
#394090 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #394090
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394090#FFFFFF#000000##FFFFFF
##3940901.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4C93
Deuteranopia (green-blind)
#00458E
Tritanopia (blue-blind)
#005361
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #394090;
/* rgb */ color: rgb(57, 64, 144);
/* oklch */ color: oklch(41.2% 0.131 275.3);
Tailwind
colors: {
  custom: {
    50: '#7874b1',
    500: '#394090',
    950: '#000000',
  },
}
SCSS
$custom: #394090;
$custom-light: #7874b1;
$custom-dark: #000000;
JSON
{
  "hex": "#394090",
  "rgb": {
    "r": 57,
    "g": 64,
    "b": 144
  },
  "hsl": {
    "h": 235.172,
    "s": 43.284,
    "l": 39.412
  },
  "oklch": {
    "l": 0.41191,
    "c": 0.13051,
    "h": 275.3
  },
  "luminance": 0.0655
}

Semantic roles & 50–950 ramp

primary
#394090
secondary
#B3AE71
accent
#C955D3
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #394090

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

Preview Lab → · Contrast checker → · Palette generator →

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