#394388#394388

#394388 is a dark, moderate blue. Relative luminance 0.067; OKLCH L 41.2% C 0.114 H 274.1°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#394388
RGBrgb(57, 67, 136)
HSLhsl(232, 41%, 38%)
HSVhsv(232, 58%, 53%)
CMYKcmyk(58.1%, 50.7%, 0%, 46.7%)
CIE-LABlab(31.02, 17.68, -39.98)
CIE-LCHlch(31.02, 43.72, 293.86°)
OKLaboklab(41.21% 0.0081 -0.1142)
OKLCHoklch(41.21% 0.114 274.1)
XYZxyz(8.1370, 6.6612, 24.1447)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394388 #887E39
analogous
#396A88 #394388 #563988
triadic
#394388 #883943 #438839
tetradic
#394388 #88396A #887E39 #398856
square
#394388 #88396A #887E39 #398856
split-complementary
#394388 #885639 #6A8839
monochromatic
#151932 #272E5D #394388 #4B58B3 #7680C6

Accessibility & contrast

On white

9.00
#394388 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#394388 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394388
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394388#FFFFFF#000000##FFFFFF
##3943881.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214D8A
Deuteranopia (green-blind)
#144687
Tritanopia (blue-blind)
#0A525F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #394388;
/* rgb */ color: rgb(57, 67, 136);
/* oklch */ color: oklch(41.2% 0.114 274.1);
Tailwind
colors: {
  custom: {
    50: '#7676ab',
    500: '#394388',
    950: '#000000',
  },
}
SCSS
$custom: #394388;
$custom-light: #7676ab;
$custom-dark: #000000;
JSON
{
  "hex": "#394388",
  "rgb": {
    "r": 57,
    "g": 67,
    "b": 136
  },
  "hsl": {
    "h": 232.405,
    "s": 40.933,
    "l": 37.843
  },
  "oklch": {
    "l": 0.41211,
    "c": 0.11447,
    "h": 274.1
  },
  "luminance": 0.06662
}

Semantic roles & 50–950 ramp

primary
#394388
secondary
#AFA66E
accent
#C157D1
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #394388

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

Preview Lab → · Contrast checker → · Palette generator →

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