#394883#394883

#394883 is a dark, moderate blue. Relative luminance 0.071; OKLCH L 41.9% C 0.100 H 270.8°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#394883
RGBrgb(57, 72, 131)
HSLhsl(228, 39%, 37%)
HSVhsv(228, 56%, 51%)
CMYKcmyk(56.5%, 45%, 0%, 48.6%)
CIE-LABlab(32.13, 12.58, -35.12)
CIE-LCHlch(32.13, 37.30, 289.70°)
OKLaboklab(41.95% 0.0015 -0.0998)
OKLCHoklch(41.95% 0.1 270.8)
XYZxyz(8.1001, 7.1427, 22.4202)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394883 #837439
analogous
#396D83 #394883 #4F3983
triadic
#394883 #833948 #488339
tetradic
#394883 #83396D #837439 #39834F
square
#394883 #83396D #837439 #39834F
split-complementary
#394883 #834F39 #6D8339
monochromatic
#14192E #263158 #394883 #4C5FAE #7484C2

Accessibility & contrast

On white

8.65
#394883 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#394883 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394883
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394883#FFFFFF#000000##FFFFFF
##3948831.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4F85
Deuteranopia (green-blind)
#264982
Tritanopia (blue-blind)
#11555F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #394883;
/* rgb */ color: rgb(57, 72, 131);
/* oklch */ color: oklch(41.9% 0.100 270.8);
Tailwind
colors: {
  custom: {
    50: '#757aa7',
    500: '#394883',
    950: '#000000',
  },
}
SCSS
$custom: #394883;
$custom-light: #757aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#394883",
  "rgb": {
    "r": 57,
    "g": 72,
    "b": 131
  },
  "hsl": {
    "h": 227.838,
    "s": 39.362,
    "l": 36.863
  },
  "oklch": {
    "l": 0.4195,
    "c": 0.09986,
    "h": 270.8
  },
  "luminance": 0.07143
}

Semantic roles & 50–950 ramp

primary
#394883
secondary
#AC9F6C
accent
#B759CF
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#09090F
muted
#7B7B7F

Preview Lab

Preview with #394883

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

Preview Lab → · Contrast checker → · Palette generator →

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