#341CB3#341CB3

#341CB3 is a dark, highly saturated blue. Relative luminance 0.048; OKLCH L 38.8% C 0.215 H 276.7°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#341CB3
RGBrgb(52, 28, 179)
HSLhsl(250, 73%, 41%)
HSVhsv(250, 84%, 70%)
CMYKcmyk(70.9%, 84.4%, 0%, 29.8%)
CIE-LABlab(26.20, 53.88, -74.03)
CIE-LCHlch(26.20, 91.56, 306.05°)
OKLaboklab(38.81% 0.025 -0.2139)
OKLCHoklch(38.81% 0.215 276.7)
XYZxyz(9.9655, 4.8143, 43.0432)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341CB3 #9BB31C
analogous
#1C50B3 #341CB3 #7F1CB3
triadic
#341CB3 #B3341C #1CB334
tetradic
#341CB3 #B31C50 #9BB31C #1CB37F
square
#341CB3 #B31C50 #9BB31C #1CB37F
split-complementary
#341CB3 #B37F1C #50B31C
monochromatic
#150B49 #25147E #341CB3 #4A2EDE #7863E7

Accessibility & contrast

On white

10.70
#341CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#341CB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341CB3
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341CB3#FFFFFF#000000##FFFFFF
##341CB31.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B7
Deuteranopia (green-blind)
#0037B0
Tritanopia (blue-blind)
#004D6A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #341cb3;
/* rgb */ color: rgb(52, 28, 179);
/* oklch */ color: oklch(38.8% 0.215 276.7);
Tailwind
colors: {
  custom: {
    50: '#805fcb',
    500: '#341cb3',
    950: '#000000',
  },
}
SCSS
$custom: #341cb3;
$custom-light: #805fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#341cb3",
  "rgb": {
    "r": 52,
    "g": 28,
    "b": 179
  },
  "hsl": {
    "h": 249.536,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.38814,
    "c": 0.21535,
    "h": 276.7
  },
  "luminance": 0.04815
}

Semantic roles & 50–950 ramp

primary
#341CB3
secondary
#BACB5F
accent
#F038D2
background
#F8F5FC
surface
#F0EAF9
border
#CBC6D2
text
#0C0514
muted
#7D7982

Preview Lab

Preview with #341CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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