#341FB4#341FB4

#341FB4 is a dark, highly saturated blue. Relative luminance 0.050; OKLCH L 39.2% C 0.214 H 276.3°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#341FB4
RGBrgb(52, 31, 180)
HSLhsl(248, 71%, 41%)
HSVhsv(248, 83%, 71%)
CMYKcmyk(71.1%, 82.8%, 0%, 29.4%)
CIE-LABlab(26.75, 52.90, -73.71)
CIE-LCHlch(26.75, 90.73, 305.66°)
OKLaboklab(39.22% 0.0237 -0.213)
OKLCHoklch(39.22% 0.214 276.3)
XYZxyz(10.1417, 5.0044, 43.6026)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341FB4 #9FB41F
analogous
#1F55B4 #341FB4 #7F1FB4
triadic
#341FB4 #B4341F #1FB434
tetradic
#341FB4 #B41F55 #9FB41F #1FB47F
square
#341FB4 #B41F55 #9FB41F #1FB47F
split-complementary
#341FB4 #B47F1F #55B41F
monochromatic
#160D4C #251680 #341FB4 #4C34DC #7A68E5

Accessibility & contrast

On white

10.49
#341FB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#341FB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341FB4
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341FB4#FFFFFF#000000##FFFFFF
##341FB41.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B8
Deuteranopia (green-blind)
#0039B1
Tritanopia (blue-blind)
#004F6B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #341fb4;
/* rgb */ color: rgb(52, 31, 180);
/* oklch */ color: oklch(39.2% 0.214 276.3);
Tailwind
colors: {
  custom: {
    50: '#8060cc',
    500: '#341fb4',
    950: '#000000',
  },
}
SCSS
$custom: #341fb4;
$custom-light: #8060cc;
$custom-dark: #000000;
JSON
{
  "hex": "#341fb4",
  "rgb": {
    "r": 52,
    "g": 31,
    "b": 180
  },
  "hsl": {
    "h": 248.456,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.39224,
    "c": 0.21435,
    "h": 276.3
  },
  "luminance": 0.05005
}

Semantic roles & 50–950 ramp

primary
#341FB4
secondary
#BCCB64
accent
#ED3AD4
background
#F8F5FC
surface
#F0EAF9
border
#CBC6D2
text
#0C0514
muted
#7D7982

Preview Lab

Preview with #341FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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