#394083#394083

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

Color values

HEX#394083
RGBrgb(57, 64, 131)
HSLhsl(234, 39%, 37%)
HSVhsv(234, 56%, 51%)
CMYKcmyk(56.5%, 51.1%, 0%, 48.6%)
CIE-LABlab(29.85, 17.93, -38.77)
CIE-LCHlch(29.85, 42.72, 294.83°)
OKLaboklab(40.22% 0.0111 -0.1106)
OKLCHoklch(40.22% 0.111 275.7)
XYZxyz(7.6162, 6.1748, 22.2589)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394083 #837C39
analogous
#396583 #394083 #573983
triadic
#394083 #833940 #408339
tetradic
#394083 #833965 #837C39 #398357
square
#394083 #833965 #837C39 #398357
split-complementary
#394083 #835739 #658339
monochromatic
#14162E #262B58 #394083 #4C55AE #747BC2

Accessibility & contrast

On white

9.40
#394083 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#394083 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394083
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394083#FFFFFF#000000##FFFFFF
##3940831.009.402.249.40
#FFFFFF9.401.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4985
Deuteranopia (green-blind)
#154382
Tritanopia (blue-blind)
#144F5B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #394083;
/* rgb */ color: rgb(57, 64, 131);
/* oklch */ color: oklch(40.2% 0.111 275.7);
Tailwind
colors: {
  custom: {
    50: '#7674a7',
    500: '#394083',
    950: '#000000',
  },
}
SCSS
$custom: #394083;
$custom-light: #7674a7;
$custom-dark: #000000;
JSON
{
  "hex": "#394083",
  "rgb": {
    "r": 57,
    "g": 64,
    "b": 131
  },
  "hsl": {
    "h": 234.324,
    "s": 39.362,
    "l": 36.863
  },
  "oklch": {
    "l": 0.40216,
    "c": 0.11119,
    "h": 275.7
  },
  "luminance": 0.06175
}

Semantic roles & 50–950 ramp

primary
#394083
secondary
#ACA66C
accent
#C459CF
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#09080F
muted
#7B7B7F

Preview Lab

Preview with #394083

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

Preview Lab → · Contrast checker → · Palette generator →

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