#394089#394089

#394089 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.7% C 0.120 H 275.6°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#394089
RGBrgb(57, 64, 137)
HSLhsl(235, 41%, 38%)
HSVhsv(235, 58%, 54%)
CMYKcmyk(58.4%, 53.3%, 0%, 46.3%)
CIE-LABlab(30.26, 20.04, -41.83)
CIE-LCHlch(30.26, 46.38, 295.60°)
OKLaboklab(40.66% 0.0117 -0.1196)
OKLCHoklch(40.66% 0.12 275.6)
XYZxyz(8.0346, 6.3422, 24.4628)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394089 #898239
analogous
#396889 #394089 #5A3989
triadic
#394089 #893940 #408939
tetradic
#394089 #893968 #898239 #39895A
square
#394089 #893968 #898239 #39895A
split-complementary
#394089 #895A39 #688939
monochromatic
#151833 #272C5E #394089 #4B54B4 #767DC6

Accessibility & contrast

On white

9.26
#394089 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#394089 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394089
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394089#FFFFFF#000000##FFFFFF
##3940891.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184B8C
Deuteranopia (green-blind)
#074487
Tritanopia (blue-blind)
#09515E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #394089;
/* rgb */ color: rgb(57, 64, 137);
/* oklch */ color: oklch(40.7% 0.120 275.6);
Tailwind
colors: {
  custom: {
    50: '#7774ac',
    500: '#394089',
    950: '#000000',
  },
}
SCSS
$custom: #394089;
$custom-light: #7774ac;
$custom-dark: #000000;
JSON
{
  "hex": "#394089",
  "rgb": {
    "r": 57,
    "g": 64,
    "b": 137
  },
  "hsl": {
    "h": 234.75,
    "s": 41.237,
    "l": 38.039
  },
  "oklch": {
    "l": 0.40657,
    "c": 0.12021,
    "h": 275.6
  },
  "luminance": 0.06343
}

Semantic roles & 50–950 ramp

primary
#394089
secondary
#AFAA6F
accent
#C657D1
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #394089

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

Preview Lab → · Contrast checker → · Palette generator →

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