#394C8E#394C8E

#394C8E is a dark, moderate blue. Relative luminance 0.080; OKLCH L 43.6% C 0.111 H 269.3°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#394C8E
RGBrgb(57, 76, 142)
HSLhsl(227, 43%, 39%)
HSVhsv(227, 60%, 56%)
CMYKcmyk(59.9%, 46.5%, 0%, 44.3%)
CIE-LABlab(33.96, 13.81, -38.95)
CIE-LCHlch(33.96, 41.33, 289.53°)
OKLaboklab(43.57% -0.0013 -0.111)
OKLCHoklch(43.57% 0.111 269.3)
XYZxyz(9.1526, 7.9910, 26.6460)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394C8E #8E7B39
analogous
#39778E #394C8E #51398E
triadic
#394C8E #8E394C #4C8E39
tetradic
#394C8E #8E3977 #8E7B39 #398E51
square
#394C8E #8E3977 #8E7B39 #398E51
split-complementary
#394C8E #8E5139 #778E39
monochromatic
#161D37 #273562 #394C8E #4D65B7 #788AC9

Accessibility & contrast

On white

8.08
#394C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#394C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394C8E
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394C8E#FFFFFF#000000##FFFFFF
##394C8E1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5490
Deuteranopia (green-blind)
#214C8D
Tritanopia (blue-blind)
#005B66
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #394c8e;
/* rgb */ color: rgb(57, 76, 142);
/* oklch */ color: oklch(43.6% 0.111 269.3);
Tailwind
colors: {
  custom: {
    50: '#777daf',
    500: '#394c8e',
    950: '#000000',
  },
}
SCSS
$custom: #394c8e;
$custom-light: #777daf;
$custom-dark: #000000;
JSON
{
  "hex": "#394c8e",
  "rgb": {
    "r": 57,
    "g": 76,
    "b": 142
  },
  "hsl": {
    "h": 226.588,
    "s": 42.714,
    "l": 39.02
  },
  "oklch": {
    "l": 0.43573,
    "c": 0.11106,
    "h": 269.3
  },
  "luminance": 0.07992
}

Semantic roles & 50–950 ramp

primary
#394C8E
secondary
#B2A471
accent
#B755D2
background
#F7F7FA
surface
#EEEEF4
border
#C9C9CE
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #394C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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