#394790#394790

#394790 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.6% C 0.121 H 272.2°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#394790
RGBrgb(57, 71, 144)
HSLhsl(230, 43%, 39%)
HSVhsv(230, 60%, 56%)
CMYKcmyk(60.4%, 50.7%, 0%, 43.5%)
CIE-LABlab(32.68, 17.85, -42.24)
CIE-LCHlch(32.68, 45.86, 292.91°)
OKLaboklab(42.64% 0.0045 -0.1208)
OKLCHoklch(42.64% 0.121 272.2)
XYZxyz(8.9730, 7.3892, 27.3336)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394790 #908239
analogous
#397390 #394790 #573990
triadic
#394790 #903947 #479039
tetradic
#394790 #903973 #908239 #399057
square
#394790 #903973 #908239 #399057
split-complementary
#394790 #905739 #739039
monochromatic
#161C38 #283164 #394790 #4D5FB9 #7986CA

Accessibility & contrast

On white

8.47
#394790 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#394790 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394790
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394790#FFFFFF#000000##FFFFFF
##3947901.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215193
Deuteranopia (green-blind)
#11498E
Tritanopia (blue-blind)
#005864
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #394790;
/* rgb */ color: rgb(57, 71, 144);
/* oklch */ color: oklch(42.6% 0.121 272.2);
Tailwind
colors: {
  custom: {
    50: '#7879b1',
    500: '#394790',
    950: '#000000',
  },
}
SCSS
$custom: #394790;
$custom-light: #7879b1;
$custom-dark: #000000;
JSON
{
  "hex": "#394790",
  "rgb": {
    "r": 57,
    "g": 71,
    "b": 144
  },
  "hsl": {
    "h": 230.345,
    "s": 43.284,
    "l": 39.412
  },
  "oklch": {
    "l": 0.42635,
    "c": 0.12086,
    "h": 272.2
  },
  "luminance": 0.0739
}

Semantic roles & 50–950 ramp

primary
#394790
secondary
#B3A971
accent
#BF55D3
background
#F7F7FA
surface
#EEEDF5
border
#C9C8CF
text
#090911
muted
#7B7B80

Preview Lab

Preview with #394790

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

Preview Lab → · Contrast checker → · Palette generator →

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