#394095#394095

#394095 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.6% C 0.138 H 275.1°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#394095
RGBrgb(57, 64, 149)
HSLhsl(235, 45%, 40%)
HSVhsv(235, 62%, 58%)
CMYKcmyk(61.7%, 57%, 0%, 41.6%)
CIE-LABlab(31.13, 24.28, -47.79)
CIE-LCHlch(31.13, 53.61, 296.93°)
OKLaboklab(41.58% 0.0123 -0.1372)
OKLCHoklch(41.58% 0.138 275.1)
XYZxyz(8.9438, 6.7059, 29.2510)
Luminance0.0671 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394095 #958E39
analogous
#396E95 #394095 #603995
triadic
#394095 #953940 #409539
tetradic
#394095 #95396E #958E39 #399560
square
#394095 #95396E #958E39 #399560
split-complementary
#394095 #956039 #6E9539
monochromatic
#171A3C #282D69 #394095 #4F58BC #7C82CD

Accessibility & contrast

On white

8.97
#394095 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#394095 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394095
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394095#FFFFFF#000000##FFFFFF
##3940951.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D98
Deuteranopia (green-blind)
#004593
Tritanopia (blue-blind)
#005464
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #394095;
/* rgb */ color: rgb(57, 64, 149);
/* oklch */ color: oklch(41.6% 0.138 275.1);
Tailwind
colors: {
  custom: {
    50: '#7974b5',
    500: '#394095',
    950: '#000000',
  },
}
SCSS
$custom: #394095;
$custom-light: #7974b5;
$custom-dark: #000000;
JSON
{
  "hex": "#394095",
  "rgb": {
    "r": 57,
    "g": 64,
    "b": 149
  },
  "hsl": {
    "h": 235.435,
    "s": 44.66,
    "l": 40.392
  },
  "oklch": {
    "l": 0.41584,
    "c": 0.13775,
    "h": 275.1
  },
  "luminance": 0.06707
}

Semantic roles & 50–950 ramp

primary
#394095
secondary
#B6B174
accent
#CB53D4
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #394095

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

Preview Lab → · Contrast checker → · Palette generator →

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