#394783#394783

#394783 is a dark, moderate blue. Relative luminance 0.070; OKLCH L 41.7% C 0.101 H 271.5°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#394783
RGBrgb(57, 71, 131)
HSLhsl(229, 39%, 37%)
HSVhsv(229, 56%, 51%)
CMYKcmyk(56.5%, 45.8%, 0%, 48.6%)
CIE-LABlab(31.84, 13.24, -35.58)
CIE-LCHlch(31.84, 37.97, 290.42°)
OKLaboklab(41.73% 0.0027 -0.1012)
OKLCHoklch(41.73% 0.101 271.5)
XYZxyz(8.0360, 7.0145, 22.3988)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394783 #837539
analogous
#396C83 #394783 #503983
triadic
#394783 #833947 #478339
tetradic
#394783 #83396C #837539 #398350
square
#394783 #83396C #837539 #398350
split-complementary
#394783 #835039 #6C8339
monochromatic
#14192E #263058 #394783 #4C5EAE #7483C2

Accessibility & contrast

On white

8.74
#394783 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#394783 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394783
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394783#FFFFFF#000000##FFFFFF
##3947831.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4E85
Deuteranopia (green-blind)
#244882
Tritanopia (blue-blind)
#12545E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #394783;
/* rgb */ color: rgb(57, 71, 131);
/* oklch */ color: oklch(41.7% 0.101 271.5);
Tailwind
colors: {
  custom: {
    50: '#7579a7',
    500: '#394783',
    950: '#000000',
  },
}
SCSS
$custom: #394783;
$custom-light: #7579a7;
$custom-dark: #000000;
JSON
{
  "hex": "#394783",
  "rgb": {
    "r": 57,
    "g": 71,
    "b": 131
  },
  "hsl": {
    "h": 228.649,
    "s": 39.362,
    "l": 36.863
  },
  "oklch": {
    "l": 0.41728,
    "c": 0.10125,
    "h": 271.5
  },
  "luminance": 0.07015
}

Semantic roles & 50–950 ramp

primary
#394783
secondary
#ACA06C
accent
#B959CF
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#09090F
muted
#7B7B7F

Preview Lab

Preview with #394783

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

Preview Lab → · Contrast checker → · Palette generator →

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