#394A95#394A95

#394A95 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.6% C 0.124 H 270.9°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#394A95
RGBrgb(57, 74, 149)
HSLhsl(229, 45%, 40%)
HSVhsv(229, 62%, 58%)
CMYKcmyk(61.7%, 50.3%, 0%, 41.6%)
CIE-LABlab(33.85, 17.65, -43.40)
CIE-LCHlch(33.85, 46.85, 292.13°)
OKLaboklab(43.63% 0.0019 -0.1241)
OKLCHoklch(43.63% 0.124 270.9)
XYZxyz(9.5591, 7.9366, 29.4561)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394A95 #958439
analogous
#397895 #394A95 #563995
triadic
#394A95 #95394A #4A9539
tetradic
#394A95 #953978 #958439 #399556
square
#394A95 #953978 #958439 #399556
split-complementary
#394A95 #955639 #789539
monochromatic
#171E3C #283469 #394A95 #4F63BC #7C8BCD

Accessibility & contrast

On white

8.12
#394A95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#394A95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394A95
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394A95#FFFFFF#000000##FFFFFF
##394A951.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235498
Deuteranopia (green-blind)
#114C93
Tritanopia (blue-blind)
#005B68
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #394a95;
/* rgb */ color: rgb(57, 74, 149);
/* oklch */ color: oklch(43.6% 0.124 270.9);
Tailwind
colors: {
  custom: {
    50: '#787cb5',
    500: '#394a95',
    950: '#000000',
  },
}
SCSS
$custom: #394a95;
$custom-light: #787cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#394a95",
  "rgb": {
    "r": 57,
    "g": 74,
    "b": 149
  },
  "hsl": {
    "h": 228.913,
    "s": 44.66,
    "l": 40.392
  },
  "oklch": {
    "l": 0.43632,
    "c": 0.12416,
    "h": 270.9
  },
  "luminance": 0.07937
}

Semantic roles & 50–950 ramp

primary
#394A95
secondary
#B6AA74
accent
#BD53D4
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0911
muted
#7C7B80

Preview Lab

Preview with #394A95

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

Preview Lab → · Contrast checker → · Palette generator →

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