#394E95#394E95

#394E95 is a dark, moderate blue. Relative luminance 0.085; OKLCH L 44.5% C 0.119 H 268.8°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#394E95
RGBrgb(57, 78, 149)
HSLhsl(226, 45%, 40%)
HSVhsv(226, 62%, 58%)
CMYKcmyk(61.7%, 47.7%, 0%, 41.6%)
CIE-LABlab(34.98, 15.00, -41.59)
CIE-LCHlch(34.98, 44.21, 289.83°)
OKLaboklab(44.49% -0.0025 -0.1188)
OKLCHoklch(44.49% 0.119 268.8)
XYZxyz(9.8347, 8.4877, 29.5480)
Luminance0.0849 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394E95 #958039
analogous
#397C95 #394E95 #523995
triadic
#394E95 #95394E #4E9539
tetradic
#394E95 #95397C #958039 #399552
square
#394E95 #95397C #958039 #399552
split-complementary
#394E95 #955239 #7C9539
monochromatic
#17203C #283769 #394E95 #4F68BC #7C8ECD

Accessibility & contrast

On white

7.78
#394E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#394E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394E95
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394E95#FFFFFF#000000##FFFFFF
##394E951.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5798
Deuteranopia (green-blind)
#1D4E94
Tritanopia (blue-blind)
#005E6A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #394e95;
/* rgb */ color: rgb(57, 78, 149);
/* oklch */ color: oklch(44.5% 0.119 268.8);
Tailwind
colors: {
  custom: {
    50: '#787fb5',
    500: '#394e95',
    950: '#000000',
  },
}
SCSS
$custom: #394e95;
$custom-light: #787fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#394e95",
  "rgb": {
    "r": 57,
    "g": 78,
    "b": 149
  },
  "hsl": {
    "h": 226.304,
    "s": 44.66,
    "l": 40.392
  },
  "oklch": {
    "l": 0.44491,
    "c": 0.11881,
    "h": 268.8
  },
  "luminance": 0.08489
}

Semantic roles & 50–950 ramp

primary
#394E95
secondary
#B6A774
accent
#B753D4
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A11
muted
#7C7C80

Preview Lab

Preview with #394E95

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

Preview Lab → · Contrast checker → · Palette generator →

#394E95 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva