#3A2E8E#3A2E8E

#3A2E8E is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.8% C 0.152 H 282.0°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#3A2E8E
RGBrgb(58, 46, 142)
HSLhsl(248, 51%, 37%)
HSVhsv(248, 68%, 56%)
CMYKcmyk(59.2%, 67.6%, 0%, 44.3%)
CIE-LABlab(26.17, 33.65, -51.54)
CIE-LCHlch(26.17, 61.55, 303.14°)
OKLaboklab(37.78% 0.0315 -0.1483)
OKLCHoklch(37.78% 0.152 282)
XYZxyz(7.6029, 4.8060, 26.1130)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2E8E #828E2E
analogous
#2E528E #3A2E8E #6A2E8E
triadic
#3A2E8E #8E3A2E #2E8E3A
tetradic
#3A2E8E #8E2E52 #828E2E #2E8E6A
square
#3A2E8E #8E2E52 #828E2E #2E8E6A
split-complementary
#3A2E8E #8E6A2E #528E2E
monochromatic
#141032 #271F60 #3A2E8E #4D3DBC #7568CE

Accessibility & contrast

On white

10.71
#3A2E8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#3A2E8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2E8E
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2E8E#FFFFFF#000000##FFFFFF
##3A2E8E1.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004191
Deuteranopia (green-blind)
#003B8C
Tritanopia (blue-blind)
#09465A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3a2e8e;
/* rgb */ color: rgb(58, 46, 142);
/* oklch */ color: oklch(37.8% 0.152 282.0);
Tailwind
colors: {
  custom: {
    50: '#7a68b0',
    500: '#3a2e8e',
    950: '#000000',
  },
}
SCSS
$custom: #3a2e8e;
$custom-light: #7a68b0;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2e8e",
  "rgb": {
    "r": 58,
    "g": 46,
    "b": 142
  },
  "hsl": {
    "h": 247.5,
    "s": 51.064,
    "l": 36.863
  },
  "oklch": {
    "l": 0.37784,
    "c": 0.15161,
    "h": 282
  },
  "luminance": 0.04807
}

Semantic roles & 50–950 ramp

primary
#3A2E8E
secondary
#ABB563
accent
#DB4DC9
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #3A2E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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