#3A4592#3A4592

#3A4592 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.4% C 0.126 H 273.7°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#3A4592
RGBrgb(58, 69, 146)
HSLhsl(233, 43%, 40%)
HSVhsv(233, 60%, 57%)
CMYKcmyk(60.3%, 52.7%, 0%, 42.7%)
CIE-LABlab(32.33, 20.10, -44.02)
CIE-LCHlch(32.33, 48.40, 294.54°)
OKLaboklab(42.43% 0.0081 -0.126)
OKLCHoklch(42.43% 0.126 273.7)
XYZxyz(9.0597, 7.2304, 28.1068)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4592 #92873A
analogous
#3A7192 #3A4592 #5B3A92
triadic
#3A4592 #923A45 #45923A
tetradic
#3A4592 #923A71 #92873A #3A925B
square
#3A4592 #923A71 #92873A #3A925B
split-complementary
#3A4592 #925B3A #71923A
monochromatic
#171C3A #293066 #3A4592 #505DB9 #7C86CB

Accessibility & contrast

On white

8.58
#3A4592 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#3A4592 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4592
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4592#FFFFFF#000000##FFFFFF
##3A45921.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5095
Deuteranopia (green-blind)
#044890
Tritanopia (blue-blind)
#005764
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3a4592;
/* rgb */ color: rgb(58, 69, 146);
/* oklch */ color: oklch(42.4% 0.126 273.7);
Tailwind
colors: {
  custom: {
    50: '#7978b2',
    500: '#3a4592',
    950: '#000000',
  },
}
SCSS
$custom: #3a4592;
$custom-light: #7978b2;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4592",
  "rgb": {
    "r": 58,
    "g": 69,
    "b": 146
  },
  "hsl": {
    "h": 232.5,
    "s": 43.137,
    "l": 40
  },
  "oklch": {
    "l": 0.42431,
    "c": 0.12628,
    "h": 273.7
  },
  "luminance": 0.07231
}

Semantic roles & 50–950 ramp

primary
#3A4592
secondary
#B4AC74
accent
#C355D3
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0911
muted
#7C7B80

Preview Lab

Preview with #3A4592

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

Preview Lab → · Contrast checker → · Palette generator →

#3A4592 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva