#394097#394097

#394097 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.7% C 0.141 H 275.0°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#394097
RGBrgb(57, 64, 151)
HSLhsl(236, 45%, 41%)
HSVhsv(236, 62%, 59%)
CMYKcmyk(62.3%, 57.6%, 0%, 40.8%)
CIE-LABlab(31.28, 24.99, -48.77)
CIE-LCHlch(31.28, 54.80, 297.13°)
OKLaboklab(41.74% 0.0124 -0.1401)
OKLCHoklch(41.74% 0.141 275)
XYZxyz(9.1048, 6.7703, 30.0992)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394097 #979039
analogous
#396F97 #394097 #613997
triadic
#394097 #973940 #409739
tetradic
#394097 #97396F #979039 #399761
square
#394097 #97396F #979039 #399761
split-complementary
#394097 #976139 #6F9739
monochromatic
#171A3E #282D6B #394097 #5058BD #7D83CE

Accessibility & contrast

On white

8.92
#394097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#394097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394097
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394097#FFFFFF#000000##FFFFFF
##3940971.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9A
Deuteranopia (green-blind)
#004695
Tritanopia (blue-blind)
#005565
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #394097;
/* rgb */ color: rgb(57, 64, 151);
/* oklch */ color: oklch(41.7% 0.141 275.0);
Tailwind
colors: {
  custom: {
    50: '#7974b6',
    500: '#394097',
    950: '#000000',
  },
}
SCSS
$custom: #394097;
$custom-light: #7974b6;
$custom-dark: #000000;
JSON
{
  "hex": "#394097",
  "rgb": {
    "r": 57,
    "g": 64,
    "b": 151
  },
  "hsl": {
    "h": 235.532,
    "s": 45.192,
    "l": 40.784
  },
  "oklch": {
    "l": 0.41743,
    "c": 0.14061,
    "h": 275
  },
  "luminance": 0.06771
}

Semantic roles & 50–950 ramp

primary
#394097
secondary
#B7B275
accent
#CB53D5
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #394097

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

Preview Lab → · Contrast checker → · Palette generator →

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