#341FA7#341FA7

#341FA7 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.8% C 0.199 H 277.9°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#341FA7
RGBrgb(52, 31, 167)
HSLhsl(249, 69%, 39%)
HSVhsv(249, 81%, 65%)
CMYKcmyk(68.9%, 81.4%, 0%, 34.5%)
CIE-LABlab(25.26, 49.04, -68.37)
CIE-LCHlch(25.26, 84.14, 305.65°)
OKLaboklab(37.76% 0.0275 -0.1975)
OKLCHoklch(37.76% 0.199 277.9)
XYZxyz(8.8790, 4.4993, 36.9523)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341FA7 #92A71F
analogous
#1F4EA7 #341FA7 #781FA7
triadic
#341FA7 #A7341F #1FA734
tetradic
#341FA7 #A71F4E #92A71F #1FA778
square
#341FA7 #A71F4E #92A71F #1FA778
split-complementary
#341FA7 #A7781F #4EA71F
monochromatic
#140C40 #241573 #341FA7 #462BD8 #735FE1

Accessibility & contrast

On white

11.05
#341FA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#341FA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341FA7
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341FA7#FFFFFF#000000##FFFFFF
##341FA71.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.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: #341fa7;
/* rgb */ color: rgb(52, 31, 167);
/* oklch */ color: oklch(37.8% 0.199 277.9);
Tailwind
colors: {
  custom: {
    50: '#7d5fc2',
    500: '#341fa7',
    950: '#000000',
  },
}
SCSS
$custom: #341fa7;
$custom-light: #7d5fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#341fa7",
  "rgb": {
    "r": 52,
    "g": 31,
    "b": 167
  },
  "hsl": {
    "h": 249.265,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.37761,
    "c": 0.19943,
    "h": 277.9
  },
  "luminance": 0.045
}

Semantic roles & 50–950 ramp

primary
#341FA7
secondary
#B5C65C
accent
#EC3CD0
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #341FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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