#3A2E86#3A2E86

#3A2E86 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.1% C 0.141 H 283.3°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#3A2E86
RGBrgb(58, 46, 134)
HSLhsl(248, 49%, 35%)
HSVhsv(248, 66%, 53%)
CMYKcmyk(56.7%, 65.7%, 0%, 47.5%)
CIE-LABlab(25.49, 31.00, -47.69)
CIE-LCHlch(25.49, 56.88, 303.03°)
OKLaboklab(37.07% 0.0324 -0.137)
OKLCHoklch(37.07% 0.141 283.3)
XYZxyz(7.0237, 4.5743, 23.0625)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2E86 #7A862E
analogous
#2E4E86 #3A2E86 #662E86
triadic
#3A2E86 #863A2E #2E863A
tetradic
#3A2E86 #862E4E #7A862E #2E8666
square
#3A2E86 #862E4E #7A862E #2E8666
split-complementary
#3A2E86 #86662E #4E862E
monochromatic
#130F2B #261E58 #3A2E86 #4E3EB4 #7264CA

Accessibility & contrast

On white

10.97
#3A2E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#3A2E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2E86
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2E86#FFFFFF#000000##FFFFFF
##3A2E861.0010.971.9210.97
#FFFFFF10.971.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F89
Deuteranopia (green-blind)
#003984
Tritanopia (blue-blind)
#174455
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3a2e86;
/* rgb */ color: rgb(58, 46, 134);
/* oklch */ color: oklch(37.1% 0.141 283.3);
Tailwind
colors: {
  custom: {
    50: '#7867aa',
    500: '#3a2e86',
    950: '#000000',
  },
}
SCSS
$custom: #3a2e86;
$custom-light: #7867aa;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2e86",
  "rgb": {
    "r": 58,
    "g": 46,
    "b": 134
  },
  "hsl": {
    "h": 248.182,
    "s": 48.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.3707,
    "c": 0.14077,
    "h": 283.3
  },
  "luminance": 0.04575
}

Semantic roles & 50–950 ramp

primary
#3A2E86
secondary
#A6B15F
accent
#D84FC6
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3A2E86

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

Preview Lab → · Contrast checker → · Palette generator →

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