#3A4792#3A4792

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

Color values

HEX#3A4792
RGBrgb(58, 71, 146)
HSLhsl(231, 43%, 40%)
HSVhsv(231, 60%, 57%)
CMYKcmyk(60.3%, 51.4%, 0%, 42.7%)
CIE-LABlab(32.88, 18.77, -43.14)
CIE-LCHlch(32.88, 47.04, 293.51°)
OKLaboklab(42.85% 0.0059 -0.1234)
OKLCHoklch(42.85% 0.124 272.7)
XYZxyz(9.1848, 7.4806, 28.1485)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4792 #92853A
analogous
#3A7392 #3A4792 #593A92
triadic
#3A4792 #923A47 #47923A
tetradic
#3A4792 #923A73 #92853A #3A9259
square
#3A4792 #923A73 #92853A #3A9259
split-complementary
#3A4792 #92593A #73923A
monochromatic
#171C3A #293266 #3A4792 #505FB9 #7C87CB

Accessibility & contrast

On white

8.41
#3A4792 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#3A4792 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4792
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4792#FFFFFF#000000##FFFFFF
##3A47921.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a4792;
/* rgb */ color: rgb(58, 71, 146);
/* oklch */ color: oklch(42.8% 0.124 272.7);
Tailwind
colors: {
  custom: {
    50: '#787ab2',
    500: '#3a4792',
    950: '#000000',
  },
}
SCSS
$custom: #3a4792;
$custom-light: #787ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4792",
  "rgb": {
    "r": 58,
    "g": 71,
    "b": 146
  },
  "hsl": {
    "h": 231.136,
    "s": 43.137,
    "l": 40
  },
  "oklch": {
    "l": 0.42847,
    "c": 0.12353,
    "h": 272.7
  },
  "luminance": 0.07481
}

Semantic roles & 50–950 ramp

primary
#3A4792
secondary
#B4AB74
accent
#C055D3
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0911
muted
#7C7B80

Preview Lab

Preview with #3A4792

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

Preview Lab → · Contrast checker → · Palette generator →

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