#341EAC#341EAC

#341EAC is a dark, highly saturated blue. Relative luminance 0.046; OKLCH L 38.2% C 0.206 H 277.4°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#341EAC
RGBrgb(52, 30, 172)
HSLhsl(249, 70%, 40%)
HSVhsv(249, 83%, 67%)
CMYKcmyk(69.8%, 82.6%, 0%, 32.5%)
CIE-LABlab(25.67, 50.98, -70.70)
CIE-LCHlch(25.67, 87.16, 305.79°)
OKLaboklab(38.21% 0.0264 -0.2043)
OKLCHoklch(38.21% 0.206 277.4)
XYZxyz(9.3244, 4.6363, 39.4252)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341EAC #96AC1E
analogous
#1E4FAC #341EAC #7B1EAC
triadic
#341EAC #AC341E #1EAC34
tetradic
#341EAC #AC1E4F #96AC1E #1EAC7B
square
#341EAC #AC1E4F #96AC1E #1EAC7B
split-complementary
#341EAC #AC7B1E #4FAC1E
monochromatic
#140C44 #241578 #341EAC #482DDA #7561E3

Accessibility & contrast

On white

10.90
#341EAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#341EAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341EAC
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341EAC#FFFFFF#000000##FFFFFF
##341EAC1.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042B0
Deuteranopia (green-blind)
#0037AA
Tritanopia (blue-blind)
#004B67
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #341eac;
/* rgb */ color: rgb(52, 30, 172);
/* oklch */ color: oklch(38.2% 0.206 277.4);
Tailwind
colors: {
  custom: {
    50: '#7e5fc6',
    500: '#341eac',
    950: '#000000',
  },
}
SCSS
$custom: #341eac;
$custom-light: #7e5fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#341eac",
  "rgb": {
    "r": 52,
    "g": 30,
    "b": 172
  },
  "hsl": {
    "h": 249.296,
    "s": 70.297,
    "l": 39.608
  },
  "oklch": {
    "l": 0.38215,
    "c": 0.20597,
    "h": 277.4
  },
  "luminance": 0.04637
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #341EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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