#394085#394085

#394085 is a dark, moderate blue. Relative luminance 0.062; OKLCH L 40.4% C 0.114 H 275.7°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#394085
RGBrgb(57, 64, 133)
HSLhsl(234, 40%, 37%)
HSVhsv(234, 57%, 52%)
CMYKcmyk(57.1%, 51.9%, 0%, 47.8%)
CIE-LABlab(29.98, 18.63, -39.79)
CIE-LCHlch(29.98, 43.94, 295.09°)
OKLaboklab(40.36% 0.0113 -0.1136)
OKLCHoklch(40.36% 0.114 275.7)
XYZxyz(7.7530, 6.2296, 22.9796)
Luminance0.0623 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394085 #857E39
analogous
#396685 #394085 #583985
triadic
#394085 #853940 #408539
tetradic
#394085 #853966 #857E39 #398558
square
#394085 #853966 #857E39 #398558
split-complementary
#394085 #855839 #668539
monochromatic
#14172F #272B5A #394085 #4B55B0 #757CC4

Accessibility & contrast

On white

9.35
#394085 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#394085 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394085
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394085#FFFFFF#000000##FFFFFF
##3940851.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4A87
Deuteranopia (green-blind)
#114484
Tritanopia (blue-blind)
#114F5C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #394085;
/* rgb */ color: rgb(57, 64, 133);
/* oklch */ color: oklch(40.4% 0.114 275.7);
Tailwind
colors: {
  custom: {
    50: '#7674a9',
    500: '#394085',
    950: '#000000',
  },
}
SCSS
$custom: #394085;
$custom-light: #7674a9;
$custom-dark: #000000;
JSON
{
  "hex": "#394085",
  "rgb": {
    "r": 57,
    "g": 64,
    "b": 133
  },
  "hsl": {
    "h": 234.474,
    "s": 40,
    "l": 37.255
  },
  "oklch": {
    "l": 0.40361,
    "c": 0.11421,
    "h": 275.7
  },
  "luminance": 0.0623
}

Semantic roles & 50–950 ramp

primary
#394085
secondary
#ADA76D
accent
#C558D0
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #394085

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

Preview Lab → · Contrast checker → · Palette generator →

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