#3A2E90#3A2E90

#3A2E90 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.0% C 0.154 H 281.7°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#3A2E90
RGBrgb(58, 46, 144)
HSLhsl(247, 52%, 37%)
HSVhsv(247, 68%, 56%)
CMYKcmyk(59.7%, 68.1%, 0%, 43.5%)
CIE-LABlab(26.35, 34.31, -52.49)
CIE-LCHlch(26.35, 62.71, 303.17°)
OKLaboklab(37.97% 0.0313 -0.1511)
OKLCHoklch(37.97% 0.154 281.7)
XYZxyz(7.7544, 4.8666, 26.9109)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2E90 #84902E
analogous
#2E5390 #3A2E90 #6B2E90
triadic
#3A2E90 #903A2E #2E903A
tetradic
#3A2E90 #902E53 #84902E #2E906B
square
#3A2E90 #902E53 #84902E #2E906B
split-complementary
#3A2E90 #906B2E #53902E
monochromatic
#151033 #271F62 #3A2E90 #4D3DBE #7669CF

Accessibility & contrast

On white

10.64
#3A2E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#3A2E90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2E90
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2E90#FFFFFF#000000##FFFFFF
##3A2E901.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004293
Deuteranopia (green-blind)
#003B8E
Tritanopia (blue-blind)
#04475B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3a2e90;
/* rgb */ color: rgb(58, 46, 144);
/* oklch */ color: oklch(38.0% 0.154 281.7);
Tailwind
colors: {
  custom: {
    50: '#7a68b1',
    500: '#3a2e90',
    950: '#000000',
  },
}
SCSS
$custom: #3a2e90;
$custom-light: #7a68b1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2e90",
  "rgb": {
    "r": 58,
    "g": 46,
    "b": 144
  },
  "hsl": {
    "h": 247.347,
    "s": 51.579,
    "l": 37.255
  },
  "oklch": {
    "l": 0.37966,
    "c": 0.15428,
    "h": 281.7
  },
  "luminance": 0.04867
}

Semantic roles & 50–950 ramp

primary
#3A2E90
secondary
#ACB664
accent
#DB4DCA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #3A2E90

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

Preview Lab → · Contrast checker → · Palette generator →

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