#394E8D#394E8D

#394E8D is a dark, moderate blue. Relative luminance 0.082; OKLCH L 43.9% C 0.107 H 268.0°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#394E8D
RGBrgb(57, 78, 141)
HSLhsl(225, 42%, 39%)
HSVhsv(225, 60%, 55%)
CMYKcmyk(59.6%, 44.7%, 0%, 44.7%)
CIE-LABlab(34.48, 12.13, -37.52)
CIE-LCHlch(34.48, 39.43, 287.92°)
OKLaboklab(43.95% -0.0038 -0.1068)
OKLCHoklch(43.95% 0.107 268)
XYZxyz(9.2178, 8.2410, 26.2991)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394E8D #8D7839
analogous
#39788D #394E8D #4E398D
triadic
#394E8D #8D394E #4E8D39
tetradic
#394E8D #8D3978 #8D7839 #398D4E
square
#394E8D #8D3978 #8D7839 #398D4E
split-complementary
#394E8D #8D4E39 #788D39
monochromatic
#161E36 #273661 #394E8D #4C67B7 #788CC8

Accessibility & contrast

On white

7.93
#394E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#394E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394E8D
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394E8D#FFFFFF#000000##FFFFFF
##394E8D1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32558F
Deuteranopia (green-blind)
#274E8C
Tritanopia (blue-blind)
#005C66
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #394e8d;
/* rgb */ color: rgb(57, 78, 141);
/* oklch */ color: oklch(43.9% 0.107 268.0);
Tailwind
colors: {
  custom: {
    50: '#777faf',
    500: '#394e8d',
    950: '#000000',
  },
}
SCSS
$custom: #394e8d;
$custom-light: #777faf;
$custom-dark: #000000;
JSON
{
  "hex": "#394e8d",
  "rgb": {
    "r": 57,
    "g": 78,
    "b": 141
  },
  "hsl": {
    "h": 225,
    "s": 42.424,
    "l": 38.824
  },
  "oklch": {
    "l": 0.43948,
    "c": 0.10689,
    "h": 268
  },
  "luminance": 0.08242
}

Semantic roles & 50–950 ramp

primary
#394E8D
secondary
#B2A170
accent
#B356D2
background
#F7F7FA
surface
#EEEEF4
border
#C9C9CE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #394E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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