#394387#394387

#394387 is a dark, moderate blue. Relative luminance 0.066; OKLCH L 41.1% C 0.113 H 274.1°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#394387
RGBrgb(57, 67, 135)
HSLhsl(232, 41%, 38%)
HSVhsv(232, 58%, 53%)
CMYKcmyk(57.8%, 50.4%, 0%, 47.1%)
CIE-LABlab(30.96, 17.33, -39.47)
CIE-LCHlch(30.96, 43.11, 293.70°)
OKLaboklab(41.14% 0.008 -0.1127)
OKLCHoklch(41.14% 0.113 274.1)
XYZxyz(8.0663, 6.6329, 23.7722)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394387 #877D39
analogous
#396A87 #394387 #563987
triadic
#394387 #873943 #438739
tetradic
#394387 #87396A #877D39 #398756
square
#394387 #87396A #877D39 #398756
split-complementary
#394387 #875639 #6A8739
monochromatic
#151831 #272E5C #394387 #4B58B2 #7580C5

Accessibility & contrast

On white

9.03
#394387 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #394387
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394387#FFFFFF#000000##FFFFFF
##3943871.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224C89
Deuteranopia (green-blind)
#164686
Tritanopia (blue-blind)
#0C525E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #394387;
/* rgb */ color: rgb(57, 67, 135);
/* oklch */ color: oklch(41.1% 0.113 274.1);
Tailwind
colors: {
  custom: {
    50: '#7676aa',
    500: '#394387',
    950: '#000000',
  },
}
SCSS
$custom: #394387;
$custom-light: #7676aa;
$custom-dark: #000000;
JSON
{
  "hex": "#394387",
  "rgb": {
    "r": 57,
    "g": 67,
    "b": 135
  },
  "hsl": {
    "h": 232.308,
    "s": 40.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.41139,
    "c": 0.11297,
    "h": 274.1
  },
  "luminance": 0.06633
}

Semantic roles & 50–950 ramp

primary
#394387
secondary
#AEA66E
accent
#C157D0
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #394387

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

Preview Lab → · Contrast checker → · Palette generator →

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