#3A2E83#3A2E83

#3A2E83 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.8% C 0.137 H 283.9°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#3A2E83
RGBrgb(58, 46, 131)
HSLhsl(248, 48%, 35%)
HSVhsv(248, 65%, 51%)
CMYKcmyk(55.7%, 64.9%, 0%, 48.6%)
CIE-LABlab(25.23, 30.01, -46.22)
CIE-LCHlch(25.23, 55.11, 302.99°)
OKLaboklab(36.81% 0.0327 -0.1327)
OKLCHoklch(36.81% 0.137 283.9)
XYZxyz(6.8174, 4.4918, 21.9761)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2E83 #77832E
analogous
#2E4C83 #3A2E83 #652E83
triadic
#3A2E83 #833A2E #2E833A
tetradic
#3A2E83 #832E4C #77832E #2E8365
square
#3A2E83 #832E4C #77832E #2E8365
split-complementary
#3A2E83 #83652E #4C832E
monochromatic
#120E28 #261E56 #3A2E83 #4E3EB0 #7163C8

Accessibility & contrast

On white

11.06
#3A2E83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#3A2E83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2E83
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2E83#FFFFFF#000000##FFFFFF
##3A2E831.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E86
Deuteranopia (green-blind)
#003981
Tritanopia (blue-blind)
#1A4354
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3a2e83;
/* rgb */ color: rgb(58, 46, 131);
/* oklch */ color: oklch(36.8% 0.137 283.9);
Tailwind
colors: {
  custom: {
    50: '#7867a8',
    500: '#3a2e83',
    950: '#000000',
  },
}
SCSS
$custom: #3a2e83;
$custom-light: #7867a8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2e83",
  "rgb": {
    "r": 58,
    "g": 46,
    "b": 131
  },
  "hsl": {
    "h": 248.471,
    "s": 48.023,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36809,
    "c": 0.13663,
    "h": 283.9
  },
  "luminance": 0.04492
}

Semantic roles & 50–950 ramp

primary
#3A2E83
secondary
#A3AF5E
accent
#D850C4
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #3A2E83

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

Preview Lab → · Contrast checker → · Palette generator →

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