#394E87#394E87

#394E87 is a dark, moderate blue. Relative luminance 0.081; OKLCH L 43.6% C 0.098 H 267.1°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#394E87
RGBrgb(57, 78, 135)
HSLhsl(224, 41%, 38%)
HSVhsv(224, 58%, 53%)
CMYKcmyk(57.8%, 42.2%, 0%, 47.1%)
CIE-LABlab(34.12, 10.01, -34.41)
CIE-LCHlch(34.12, 35.84, 286.22°)
OKLaboklab(43.56% -0.005 -0.0977)
OKLCHoklch(43.56% 0.098 267.1)
XYZxyz(8.7834, 8.0672, 24.0112)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394E87 #877239
analogous
#397587 #394E87 #4B3987
triadic
#394E87 #87394E #4E8739
tetradic
#394E87 #873975 #877239 #39874B
square
#394E87 #873975 #877239 #39874B
split-complementary
#394E87 #874B39 #758739
monochromatic
#151C31 #27355C #394E87 #4B67B2 #758BC5

Accessibility & contrast

On white

8.03
#394E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#394E87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394E87
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394E87#FFFFFF#000000##FFFFFF
##394E871.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365489
Deuteranopia (green-blind)
#2C4D86
Tritanopia (blue-blind)
#075B64
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #394e87;
/* rgb */ color: rgb(57, 78, 135);
/* oklch */ color: oklch(43.6% 0.098 267.1);
Tailwind
colors: {
  custom: {
    50: '#767faa',
    500: '#394e87',
    950: '#000000',
  },
}
SCSS
$custom: #394e87;
$custom-light: #767faa;
$custom-dark: #000000;
JSON
{
  "hex": "#394e87",
  "rgb": {
    "r": 57,
    "g": 78,
    "b": 135
  },
  "hsl": {
    "h": 223.846,
    "s": 40.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.43557,
    "c": 0.09784,
    "h": 267.1
  },
  "luminance": 0.08068
}

Semantic roles & 50–950 ramp

primary
#394E87
secondary
#AE9D6E
accent
#B057D0
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #394E87

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

Preview Lab → · Contrast checker → · Palette generator →

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