#3A2E8F#3A2E8F

#3A2E8F is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.9% C 0.153 H 281.8°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#3A2E8F
RGBrgb(58, 46, 143)
HSLhsl(247, 51%, 37%)
HSVhsv(247, 68%, 56%)
CMYKcmyk(59.4%, 67.8%, 0%, 43.9%)
CIE-LABlab(26.26, 33.98, -52.02)
CIE-LCHlch(26.26, 62.13, 303.15°)
OKLaboklab(37.88% 0.0314 -0.1497)
OKLCHoklch(37.88% 0.153 281.8)
XYZxyz(7.6783, 4.8362, 26.5101)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2E8F #838F2E
analogous
#2E528F #3A2E8F #6B2E8F
triadic
#3A2E8F #8F3A2E #2E8F3A
tetradic
#3A2E8F #8F2E52 #838F2E #2E8F6B
square
#3A2E8F #8F2E52 #838F2E #2E8F6B
split-complementary
#3A2E8F #8F6B2E #528F2E
monochromatic
#141032 #271F61 #3A2E8F #4D3DBD #7569CF

Accessibility & contrast

On white

10.67
#3A2E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A2E8F
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2E8F#FFFFFF#000000##FFFFFF
##3A2E8F1.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004192
Deuteranopia (green-blind)
#003B8D
Tritanopia (blue-blind)
#06475A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3a2e8f;
/* rgb */ color: rgb(58, 46, 143);
/* oklch */ color: oklch(37.9% 0.153 281.8);
Tailwind
colors: {
  custom: {
    50: '#7a68b1',
    500: '#3a2e8f',
    950: '#000000',
  },
}
SCSS
$custom: #3a2e8f;
$custom-light: #7a68b1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2e8f",
  "rgb": {
    "r": 58,
    "g": 46,
    "b": 143
  },
  "hsl": {
    "h": 247.423,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37875,
    "c": 0.15295,
    "h": 281.8
  },
  "luminance": 0.04837
}

Semantic roles & 50–950 ramp

primary
#3A2E8F
secondary
#ABB663
accent
#DB4DC9
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #3A2E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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