#394E92#394E92

#394E92 is a dark, moderate blue. Relative luminance 0.084; OKLCH L 44.3% C 0.114 H 268.5°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#394E92
RGBrgb(57, 78, 146)
HSLhsl(226, 44%, 40%)
HSVhsv(226, 61%, 57%)
CMYKcmyk(61%, 46.6%, 0%, 42.7%)
CIE-LABlab(34.79, 13.92, -40.07)
CIE-LCHlch(34.79, 42.42, 289.16°)
OKLaboklab(44.28% -0.0029 -0.1143)
OKLCHoklch(44.28% 0.114 268.5)
XYZxyz(9.5983, 8.3932, 28.3028)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394E92 #927D39
analogous
#397A92 #394E92 #513992
triadic
#394E92 #92394E #4E9239
tetradic
#394E92 #92397A #927D39 #399251
square
#394E92 #92397A #927D39 #399251
split-complementary
#394E92 #925139 #7A9239
monochromatic
#171F3A #283666 #394E92 #4E68BA #7A8DCB

Accessibility & contrast

On white

7.84
#394E92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#394E92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394E92
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394E92#FFFFFF#000000##FFFFFF
##394E921.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5695
Deuteranopia (green-blind)
#214E91
Tritanopia (blue-blind)
#005D69
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #394e92;
/* rgb */ color: rgb(57, 78, 146);
/* oklch */ color: oklch(44.3% 0.114 268.5);
Tailwind
colors: {
  custom: {
    50: '#787fb2',
    500: '#394e92',
    950: '#000000',
  },
}
SCSS
$custom: #394e92;
$custom-light: #787fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#394e92",
  "rgb": {
    "r": 57,
    "g": 78,
    "b": 146
  },
  "hsl": {
    "h": 225.843,
    "s": 43.842,
    "l": 39.804
  },
  "oklch": {
    "l": 0.44284,
    "c": 0.11436,
    "h": 268.5
  },
  "luminance": 0.08394
}

Semantic roles & 50–950 ramp

primary
#394E92
secondary
#B4A572
accent
#B654D4
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #394E92

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

Preview Lab → · Contrast checker → · Palette generator →

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