#341EAD#341EAD

#341EAD is a dark, highly saturated blue. Relative luminance 0.047; OKLCH L 38.3% C 0.207 H 277.3°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#341EAD
RGBrgb(52, 30, 173)
HSLhsl(249, 70%, 40%)
HSVhsv(249, 83%, 68%)
CMYKcmyk(69.9%, 82.7%, 0%, 32.2%)
CIE-LABlab(25.79, 51.27, -71.11)
CIE-LCHlch(25.79, 87.67, 305.79°)
OKLaboklab(38.33% 0.0261 -0.2055)
OKLCHoklch(38.33% 0.207 277.3)
XYZxyz(9.4208, 4.6749, 39.9329)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341EAD #97AD1E
analogous
#1E4FAD #341EAD #7C1EAD
triadic
#341EAD #AD341E #1EAD34
tetradic
#341EAD #AD1E4F #97AD1E #1EAD7C
square
#341EAD #AD1E4F #97AD1E #1EAD7C
split-complementary
#341EAD #AD7C1E #4FAD1E
monochromatic
#150C45 #241579 #341EAD #482EDB #7662E4

Accessibility & contrast

On white

10.85
#341EAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#341EAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341EAD
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341EAD#FFFFFF#000000##FFFFFF
##341EAD1.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B1
Deuteranopia (green-blind)
#0037AB
Tritanopia (blue-blind)
#004B67
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #341ead;
/* rgb */ color: rgb(52, 30, 173);
/* oklch */ color: oklch(38.3% 0.207 277.3);
Tailwind
colors: {
  custom: {
    50: '#7e5fc7',
    500: '#341ead',
    950: '#000000',
  },
}
SCSS
$custom: #341ead;
$custom-light: #7e5fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#341ead",
  "rgb": {
    "r": 52,
    "g": 30,
    "b": 173
  },
  "hsl": {
    "h": 249.231,
    "s": 70.443,
    "l": 39.804
  },
  "oklch": {
    "l": 0.38328,
    "c": 0.20712,
    "h": 277.3
  },
  "luminance": 0.04676
}

Semantic roles & 50–950 ramp

primary
#341EAD
secondary
#B8C85E
accent
#ED3BD2
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #341EAD

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

Preview Lab → · Contrast checker → · Palette generator →

#341EAD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva