#394088#394088

#394088 is a dark, moderate blue. Relative luminance 0.063; OKLCH L 40.6% C 0.119 H 275.6°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#394088
RGBrgb(57, 64, 136)
HSLhsl(235, 41%, 38%)
HSVhsv(235, 58%, 53%)
CMYKcmyk(58.1%, 52.9%, 0%, 46.7%)
CIE-LABlab(30.19, 19.69, -41.32)
CIE-LCHlch(30.19, 45.77, 295.48°)
OKLaboklab(40.58% 0.0116 -0.1181)
OKLCHoklch(40.58% 0.119 275.6)
XYZxyz(7.9632, 6.3137, 24.0868)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394088 #888139
analogous
#396788 #394088 #5A3988
triadic
#394088 #883940 #408839
tetradic
#394088 #883967 #888139 #39885A
square
#394088 #883967 #888139 #39885A
split-complementary
#394088 #885A39 #678839
monochromatic
#151732 #272C5D #394088 #4B54B3 #767DC6

Accessibility & contrast

On white

9.28
#394088 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#394088 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394088
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394088#FFFFFF#000000##FFFFFF
##3940881.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194B8B
Deuteranopia (green-blind)
#0A4486
Tritanopia (blue-blind)
#0B505D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #394088;
/* rgb */ color: rgb(57, 64, 136);
/* oklch */ color: oklch(40.6% 0.119 275.6);
Tailwind
colors: {
  custom: {
    50: '#7774ab',
    500: '#394088',
    950: '#000000',
  },
}
SCSS
$custom: #394088;
$custom-light: #7774ab;
$custom-dark: #000000;
JSON
{
  "hex": "#394088",
  "rgb": {
    "r": 57,
    "g": 64,
    "b": 136
  },
  "hsl": {
    "h": 234.684,
    "s": 40.933,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40583,
    "c": 0.11872,
    "h": 275.6
  },
  "luminance": 0.06314
}

Semantic roles & 50–950 ramp

primary
#394088
secondary
#AFA96E
accent
#C657D1
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #394088

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

Preview Lab → · Contrast checker → · Palette generator →

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