#3A4292#3A4292

#3A4292 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.8% C 0.130 H 275.0°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#3A4292
RGBrgb(58, 66, 146)
HSLhsl(235, 43%, 40%)
HSVhsv(235, 60%, 57%)
CMYKcmyk(60.3%, 54.8%, 0%, 42.7%)
CIE-LABlab(31.51, 22.09, -45.34)
CIE-LCHlch(31.51, 50.43, 295.98°)
OKLaboklab(41.82% 0.0113 -0.1299)
OKLCHoklch(41.82% 0.13 275)
XYZxyz(8.8798, 6.8706, 28.0468)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4292 #928A3A
analogous
#3A6E92 #3A4292 #5E3A92
triadic
#3A4292 #923A42 #42923A
tetradic
#3A4292 #923A6E #928A3A #3A925E
square
#3A4292 #923A6E #928A3A #3A925E
split-complementary
#3A4292 #925E3A #6E923A
monochromatic
#171A3A #292E66 #3A4292 #5059B9 #7C83CB

Accessibility & contrast

On white

8.85
#3A4292 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#3A4292 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4292
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4292#FFFFFF#000000##FFFFFF
##3A42921.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4E95
Deuteranopia (green-blind)
#004690
Tritanopia (blue-blind)
#005563
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3a4292;
/* rgb */ color: rgb(58, 66, 146);
/* oklch */ color: oklch(41.8% 0.130 275.0);
Tailwind
colors: {
  custom: {
    50: '#7976b3',
    500: '#3a4292',
    950: '#000000',
  },
}
SCSS
$custom: #3a4292;
$custom-light: #7976b3;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4292",
  "rgb": {
    "r": 58,
    "g": 66,
    "b": 146
  },
  "hsl": {
    "h": 234.545,
    "s": 43.137,
    "l": 40
  },
  "oklch": {
    "l": 0.41818,
    "c": 0.13041,
    "h": 275
  },
  "luminance": 0.06871
}

Semantic roles & 50–950 ramp

primary
#3A4292
secondary
#B4AE74
accent
#C755D3
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #3A4292

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

Preview Lab → · Contrast checker → · Palette generator →

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