#394F85#394F85

#394F85 is a dark, moderate blue. Relative luminance 0.082; OKLCH L 43.7% C 0.094 H 265.9°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#394F85
RGBrgb(57, 79, 133)
HSLhsl(223, 40%, 37%)
HSVhsv(223, 57%, 52%)
CMYKcmyk(57.1%, 40.6%, 0%, 47.8%)
CIE-LABlab(34.30, 8.65, -32.90)
CIE-LCHlch(34.30, 34.02, 284.73°)
OKLaboklab(43.66% -0.0066 -0.0933)
OKLCHoklch(43.66% 0.094 265.9)
XYZxyz(8.7155, 8.1546, 23.3005)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394F85 #856F39
analogous
#397585 #394F85 #493985
triadic
#394F85 #85394F #4F8539
tetradic
#394F85 #853975 #856F39 #398549
square
#394F85 #853975 #856F39 #398549
split-complementary
#394F85 #854939 #758539
monochromatic
#141C2F #27365A #394F85 #4B68B0 #758CC4

Accessibility & contrast

On white

7.98
#394F85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#394F85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394F85
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394F85#FFFFFF#000000##FFFFFF
##394F851.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395487
Deuteranopia (green-blind)
#2F4D84
Tritanopia (blue-blind)
#0B5B63
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #394f85;
/* rgb */ color: rgb(57, 79, 133);
/* oklch */ color: oklch(43.7% 0.094 265.9);
Tailwind
colors: {
  custom: {
    50: '#7580a9',
    500: '#394f85',
    950: '#000000',
  },
}
SCSS
$custom: #394f85;
$custom-light: #7580a9;
$custom-dark: #000000;
JSON
{
  "hex": "#394f85",
  "rgb": {
    "r": 57,
    "g": 79,
    "b": 133
  },
  "hsl": {
    "h": 222.632,
    "s": 40,
    "l": 37.255
  },
  "oklch": {
    "l": 0.43659,
    "c": 0.09351,
    "h": 265.9
  },
  "luminance": 0.08155
}

Semantic roles & 50–950 ramp

primary
#394F85
secondary
#AD9A6D
accent
#AD58D0
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #394F85

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

Preview Lab → · Contrast checker → · Palette generator →

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