#394792#394792

#394792 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.8% C 0.124 H 272.2°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#394792
RGBrgb(57, 71, 146)
HSLhsl(231, 44%, 40%)
HSVhsv(231, 61%, 57%)
CMYKcmyk(61%, 51.4%, 0%, 42.7%)
CIE-LABlab(32.81, 18.57, -43.24)
CIE-LCHlch(32.81, 47.06, 293.24°)
OKLaboklab(42.78% 0.0048 -0.1237)
OKLCHoklch(42.78% 0.124 272.2)
XYZxyz(9.1272, 7.4509, 28.1458)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394792 #928439
analogous
#397392 #394792 #583992
triadic
#394792 #923947 #479239
tetradic
#394792 #923973 #928439 #399258
square
#394792 #923973 #928439 #399258
split-complementary
#394792 #925839 #739239
monochromatic
#171C3A #283266 #394792 #4E5FBA #7A87CB

Accessibility & contrast

On white

8.43
#394792 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#394792 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394792
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394792#FFFFFF#000000##FFFFFF
##3947921.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5195
Deuteranopia (green-blind)
#0C4990
Tritanopia (blue-blind)
#005865
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #394792;
/* rgb */ color: rgb(57, 71, 146);
/* oklch */ color: oklch(42.8% 0.124 272.2);
Tailwind
colors: {
  custom: {
    50: '#787ab2',
    500: '#394792',
    950: '#000000',
  },
}
SCSS
$custom: #394792;
$custom-light: #787ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#394792",
  "rgb": {
    "r": 57,
    "g": 71,
    "b": 146
  },
  "hsl": {
    "h": 230.562,
    "s": 43.842,
    "l": 39.804
  },
  "oklch": {
    "l": 0.42781,
    "c": 0.12382,
    "h": 272.2
  },
  "luminance": 0.07452
}

Semantic roles & 50–950 ramp

primary
#394792
secondary
#B4AA72
accent
#C054D4
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #394792

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

Preview Lab → · Contrast checker → · Palette generator →

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