#341BB4#341BB4

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

Color values

HEX#341BB4
RGBrgb(52, 27, 180)
HSLhsl(250, 74%, 41%)
HSVhsv(250, 85%, 71%)
CMYKcmyk(71.1%, 85%, 0%, 29.4%)
CIE-LABlab(26.18, 54.57, -74.65)
CIE-LCHlch(26.18, 92.47, 306.17°)
OKLaboklab(38.84% 0.025 -0.2157)
OKLCHoklch(38.84% 0.217 276.6)
XYZxyz(10.0436, 4.8083, 43.5700)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341BB4 #9BB41B
analogous
#1B4EB4 #341BB4 #801BB4
triadic
#341BB4 #B4341B #1BB434
tetradic
#341BB4 #B41B4E #9BB41B #1BB480
square
#341BB4 #B41B4E #9BB41B #1BB480
split-complementary
#341BB4 #B4801B #4EB41B
monochromatic
#150B4A #25137F #341BB4 #4A2DDF #7862E7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##341BB4#FFFFFF#000000##FFFFFF
##341BB41.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)
#0044B8
Deuteranopia (green-blind)
#0037B1
Tritanopia (blue-blind)
#004D6B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #341bb4;
/* rgb */ color: rgb(52, 27, 180);
/* oklch */ color: oklch(38.8% 0.217 276.6);
Tailwind
colors: {
  custom: {
    50: '#805ecc',
    500: '#341bb4',
    950: '#000000',
  },
}
SCSS
$custom: #341bb4;
$custom-light: #805ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#341bb4",
  "rgb": {
    "r": 52,
    "g": 27,
    "b": 180
  },
  "hsl": {
    "h": 249.804,
    "s": 73.913,
    "l": 40.588
  },
  "oklch": {
    "l": 0.38836,
    "c": 0.21714,
    "h": 276.6
  },
  "luminance": 0.04809
}

Semantic roles & 50–950 ramp

primary
#341BB4
secondary
#BACC5F
accent
#F137D2
background
#F8F5FC
surface
#F0EAF9
border
#CBC6D2
text
#0C0514
muted
#7D7982

Preview Lab

Preview with #341BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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