#394697#394697

#394697 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.9% C 0.133 H 272.7°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#394697
RGBrgb(57, 70, 151)
HSLhsl(232, 45%, 41%)
HSVhsv(232, 62%, 59%)
CMYKcmyk(62.3%, 53.6%, 0%, 40.8%)
CIE-LABlab(32.88, 21.02, -46.17)
CIE-LCHlch(32.88, 50.73, 294.48°)
OKLaboklab(42.95% 0.0063 -0.1324)
OKLCHoklch(42.95% 0.133 272.7)
XYZxyz(9.4616, 7.4838, 30.2181)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394697 #978A39
analogous
#397597 #394697 #5B3997
triadic
#394697 #973946 #469739
tetradic
#394697 #973975 #978A39 #39975B
square
#394697 #973975 #978A39 #39975B
split-complementary
#394697 #975B39 #759739
monochromatic
#171D3E #28316B #394697 #505FBD #7D88CE

Accessibility & contrast

On white

8.41
#394697 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#394697 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394697
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394697#FFFFFF#000000##FFFFFF
##3946971.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15529A
Deuteranopia (green-blind)
#004995
Tritanopia (blue-blind)
#005967
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #394697;
/* rgb */ color: rgb(57, 70, 151);
/* oklch */ color: oklch(42.9% 0.133 272.7);
Tailwind
colors: {
  custom: {
    50: '#7979b6',
    500: '#394697',
    950: '#000000',
  },
}
SCSS
$custom: #394697;
$custom-light: #7979b6;
$custom-dark: #000000;
JSON
{
  "hex": "#394697",
  "rgb": {
    "r": 57,
    "g": 70,
    "b": 151
  },
  "hsl": {
    "h": 231.702,
    "s": 45.192,
    "l": 40.784
  },
  "oklch": {
    "l": 0.42946,
    "c": 0.13251,
    "h": 272.7
  },
  "luminance": 0.07485
}

Semantic roles & 50–950 ramp

primary
#394697
secondary
#B7AE75
accent
#C353D5
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0911
muted
#7C7B80

Preview Lab

Preview with #394697

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

Preview Lab → · Contrast checker → · Palette generator →

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