#394199#394199

#394199 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.1% C 0.142 H 274.6°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#394199
RGBrgb(57, 65, 153)
HSLhsl(235, 46%, 41%)
HSVhsv(235, 63%, 60%)
CMYKcmyk(62.7%, 57.5%, 0%, 40%)
CIE-LABlab(31.69, 25.04, -49.32)
CIE-LCHlch(31.69, 55.31, 296.92°)
OKLaboklab(42.1% 0.0114 -0.1417)
OKLCHoklch(42.1% 0.142 274.6)
XYZxyz(9.3255, 6.9496, 30.9808)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394199 #999139
analogous
#397199 #394199 #613999
triadic
#394199 #993941 #419939
tetradic
#394199 #993971 #999139 #399961
square
#394199 #993971 #999139 #399961
split-complementary
#394199 #996139 #719939
monochromatic
#181B40 #282E6C #394199 #515ABE #7E84CF

Accessibility & contrast

On white

8.79
#394199 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#394199 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394199
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394199#FFFFFF#000000##FFFFFF
##3941991.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9C
Deuteranopia (green-blind)
#004697
Tritanopia (blue-blind)
#005666
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #394199;
/* rgb */ color: rgb(57, 65, 153);
/* oklch */ color: oklch(42.1% 0.142 274.6);
Tailwind
colors: {
  custom: {
    50: '#7a75b8',
    500: '#394199',
    950: '#000000',
  },
}
SCSS
$custom: #394199;
$custom-light: #7a75b8;
$custom-dark: #000000;
JSON
{
  "hex": "#394199",
  "rgb": {
    "r": 57,
    "g": 65,
    "b": 153
  },
  "hsl": {
    "h": 235,
    "s": 45.714,
    "l": 41.176
  },
  "oklch": {
    "l": 0.421,
    "c": 0.14213,
    "h": 274.6
  },
  "luminance": 0.0695
}

Semantic roles & 50–950 ramp

primary
#394199
secondary
#B8B376
accent
#CA52D5
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #394199

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

Preview Lab → · Contrast checker → · Palette generator →

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