#341EA7#341EA7

#341EA7 is a dark, highly saturated blue. Relative luminance 0.044; OKLCH L 37.7% C 0.200 H 278.0°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#341EA7
RGBrgb(52, 30, 167)
HSLhsl(250, 70%, 39%)
HSVhsv(250, 82%, 65%)
CMYKcmyk(68.9%, 82%, 0%, 34.5%)
CIE-LABlab(25.10, 49.50, -68.63)
CIE-LCHlch(25.10, 84.62, 305.80°)
OKLaboklab(37.65% 0.028 -0.1983)
OKLCHoklch(37.65% 0.2 278)
XYZxyz(8.8532, 4.4479, 36.9437)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341EA7 #91A71E
analogous
#1E4CA7 #341EA7 #781EA7
triadic
#341EA7 #A7341E #1EA734
tetradic
#341EA7 #A71E4C #91A71E #1EA778
square
#341EA7 #A71E4C #91A71E #1EA778
split-complementary
#341EA7 #A7781E #4CA71E
monochromatic
#140B3F #241573 #341EA7 #462AD9 #735DE2

Accessibility & contrast

On white

11.11
#341EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#341EA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341EA7
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341EA7#FFFFFF#000000##FFFFFF
##341EA71.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041AB
Deuteranopia (green-blind)
#0036A5
Tritanopia (blue-blind)
#004964
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #341ea7;
/* rgb */ color: rgb(52, 30, 167);
/* oklch */ color: oklch(37.7% 0.200 278.0);
Tailwind
colors: {
  custom: {
    50: '#7d5fc3',
    500: '#341ea7',
    950: '#000000',
  },
}
SCSS
$custom: #341ea7;
$custom-light: #7d5fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#341ea7",
  "rgb": {
    "r": 52,
    "g": 30,
    "b": 167
  },
  "hsl": {
    "h": 249.635,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.37652,
    "c": 0.20022,
    "h": 278
  },
  "luminance": 0.04449
}

Semantic roles & 50–950 ramp

primary
#341EA7
secondary
#B5C65B
accent
#EC3BD0
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #341EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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