#394476#394476

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

Color values

HEX#394476
RGBrgb(57, 68, 118)
HSLhsl(229, 35%, 34%)
HSVhsv(229, 52%, 46%)
CMYKcmyk(51.7%, 42.4%, 0%, 53.7%)
CIE-LABlab(30.19, 10.74, -30.10)
CIE-LCHlch(30.19, 31.96, 289.64°)
OKLaboklab(40.21% 0.004 -0.0852)
OKLCHoklch(40.21% 0.085 272.7)
XYZxyz(7.0234, 6.3117, 17.9842)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394476 #766B39
analogous
#396376 #394476 #4D3976
triadic
#394476 #763944 #447639
tetradic
#394476 #763963 #766B39 #39764D
square
#394476 #763963 #766B39 #39764D
split-complementary
#394476 #764D39 #637639
monochromatic
#111423 #252C4D #394476 #4D5C9F #707DBA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##394476#FFFFFF#000000##FFFFFF
##3944761.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)
#304A78
Deuteranopia (green-blind)
#2A4575
Tritanopia (blue-blind)
#204F57
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #394476;
/* rgb */ color: rgb(57, 68, 118);
/* oklch */ color: oklch(40.2% 0.085 272.7);
Tailwind
colors: {
  custom: {
    50: '#73779e',
    500: '#394476',
    950: '#000000',
  },
}
SCSS
$custom: #394476;
$custom-light: #73779e;
$custom-dark: #000000;
JSON
{
  "hex": "#394476",
  "rgb": {
    "r": 57,
    "g": 68,
    "b": 118
  },
  "hsl": {
    "h": 229.18,
    "s": 34.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.40209,
    "c": 0.08528,
    "h": 272.7
  },
  "luminance": 0.06312
}

Semantic roles & 50–950 ramp

primary
#394476
secondary
#A39868
accent
#B75DCB
background
#F7F7F9
surface
#EDEDF2
border
#C8C8CC
text
#08080E
muted
#7B7B7E

Preview Lab

Preview with #394476

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

Preview Lab → · Contrast checker → · Palette generator →

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