#3A4192#3A4192

#3A4192 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.6% C 0.132 H 275.4°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#3A4192
RGBrgb(58, 65, 146)
HSLhsl(235, 43%, 40%)
HSVhsv(235, 60%, 57%)
CMYKcmyk(60.3%, 55.5%, 0%, 42.7%)
CIE-LABlab(31.24, 22.75, -45.77)
CIE-LCHlch(31.24, 51.12, 296.43°)
OKLaboklab(41.62% 0.0123 -0.1312)
OKLCHoklch(41.62% 0.132 275.4)
XYZxyz(8.8218, 6.7548, 28.0275)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4192 #928B3A
analogous
#3A6D92 #3A4192 #5F3A92
triadic
#3A4192 #923A41 #41923A
tetradic
#3A4192 #923A6D #928B3A #3A925F
square
#3A4192 #923A6D #928B3A #3A925F
split-complementary
#3A4192 #925F3A #6D923A
monochromatic
#171A3A #292E66 #3A4192 #5058B9 #7C82CB

Accessibility & contrast

On white

8.93
#3A4192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#3A4192 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4192
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4192#FFFFFF#000000##FFFFFF
##3A41921.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a4192;
/* rgb */ color: rgb(58, 65, 146);
/* oklch */ color: oklch(41.6% 0.132 275.4);
Tailwind
colors: {
  custom: {
    50: '#7975b3',
    500: '#3a4192',
    950: '#000000',
  },
}
SCSS
$custom: #3a4192;
$custom-light: #7975b3;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4192",
  "rgb": {
    "r": 58,
    "g": 65,
    "b": 146
  },
  "hsl": {
    "h": 235.227,
    "s": 43.137,
    "l": 40
  },
  "oklch": {
    "l": 0.41617,
    "c": 0.13179,
    "h": 275.4
  },
  "luminance": 0.06755
}

Semantic roles & 50–950 ramp

primary
#3A4192
secondary
#B4AF74
accent
#C955D3
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #3A4192

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

Preview Lab → · Contrast checker → · Palette generator →

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