#3A2D90#3A2D90

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

Color values

HEX#3A2D90
RGBrgb(58, 45, 144)
HSLhsl(248, 52%, 37%)
HSVhsv(248, 69%, 56%)
CMYKcmyk(59.7%, 68.7%, 0%, 43.5%)
CIE-LABlab(26.13, 34.92, -52.86)
CIE-LCHlch(26.13, 63.35, 303.45°)
OKLaboklab(37.8% 0.0322 -0.1522)
OKLCHoklch(37.8% 0.156 281.9)
XYZxyz(7.7158, 4.7894, 26.8980)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2D90 #83902D
analogous
#2D5290 #3A2D90 #6C2D90
triadic
#3A2D90 #903A2D #2D903A
tetradic
#3A2D90 #902D52 #83902D #2D906C
square
#3A2D90 #902D52 #83902D #2D906C
split-complementary
#3A2D90 #906C2D #52902D
monochromatic
#141033 #271E61 #3A2D90 #4D3CBF #7568D0

Accessibility & contrast

On white

10.73
#3A2D90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A2D90
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2D90#FFFFFF#000000##FFFFFF
##3A2D901.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004193
Deuteranopia (green-blind)
#003A8E
Tritanopia (blue-blind)
#04475A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3a2d90;
/* rgb */ color: rgb(58, 45, 144);
/* oklch */ color: oklch(37.8% 0.156 281.9);
Tailwind
colors: {
  custom: {
    50: '#7a67b1',
    500: '#3a2d90',
    950: '#000000',
  },
}
SCSS
$custom: #3a2d90;
$custom-light: #7a67b1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2d90",
  "rgb": {
    "r": 58,
    "g": 45,
    "b": 144
  },
  "hsl": {
    "h": 247.879,
    "s": 52.381,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37804,
    "c": 0.15552,
    "h": 281.9
  },
  "luminance": 0.0479
}

Semantic roles & 50–950 ramp

primary
#3A2D90
secondary
#ABB662
accent
#DC4CC9
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #3A2D90

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

Preview Lab → · Contrast checker → · Palette generator →

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