#341FA6#341FA6

#341FA6 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.6% C 0.198 H 278.1°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#341FA6
RGBrgb(52, 31, 166)
HSLhsl(249, 69%, 39%)
HSVhsv(249, 81%, 65%)
CMYKcmyk(68.7%, 81.3%, 0%, 34.9%)
CIE-LABlab(25.14, 48.74, -67.95)
CIE-LCHlch(25.14, 83.62, 305.65°)
OKLaboklab(37.65% 0.0278 -0.1963)
OKLCHoklch(37.65% 0.198 278.1)
XYZxyz(8.7869, 4.4624, 36.4673)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341FA6 #91A61F
analogous
#1F4DA6 #341FA6 #771FA6
triadic
#341FA6 #A6341F #1FA634
tetradic
#341FA6 #A61F4D #91A61F #1FA677
square
#341FA6 #A61F4D #91A61F #1FA677
split-complementary
#341FA6 #A6771F #4DA61F
monochromatic
#140C3F #241572 #341FA6 #462BD7 #735EE1

Accessibility & contrast

On white

11.10
#341FA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #341FA6
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341FA6#FFFFFF#000000##FFFFFF
##341FA61.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041AA
Deuteranopia (green-blind)
#0036A4
Tritanopia (blue-blind)
#004963
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #341fa6;
/* rgb */ color: rgb(52, 31, 166);
/* oklch */ color: oklch(37.6% 0.198 278.1);
Tailwind
colors: {
  custom: {
    50: '#7d5fc2',
    500: '#341fa6',
    950: '#000000',
  },
}
SCSS
$custom: #341fa6;
$custom-light: #7d5fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#341fa6",
  "rgb": {
    "r": 52,
    "g": 31,
    "b": 166
  },
  "hsl": {
    "h": 249.333,
    "s": 68.528,
    "l": 38.627
  },
  "oklch": {
    "l": 0.3765,
    "c": 0.19826,
    "h": 278.1
  },
  "luminance": 0.04463
}

Semantic roles & 50–950 ramp

primary
#341FA6
secondary
#B5C55B
accent
#EB3CD0
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #341FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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