#341EBB#341EBB

#341EBB is a dark, highly saturated blue. Relative luminance 0.052; OKLCH L 39.9% C 0.223 H 275.6°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#341EBB
RGBrgb(52, 30, 187)
HSLhsl(248, 72%, 43%)
HSVhsv(248, 84%, 73%)
CMYKcmyk(72.2%, 84%, 0%, 26.7%)
CIE-LABlab(27.42, 55.36, -76.76)
CIE-LCHlch(27.42, 94.64, 305.80°)
OKLaboklab(39.93% 0.0219 -0.2218)
OKLCHoklch(39.93% 0.223 275.6)
XYZxyz(10.8471, 5.2454, 47.4449)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341EBB #A5BB1E
analogous
#1E56BB #341EBB #831EBB
triadic
#341EBB #BB341E #1EBB34
tetradic
#341EBB #BB1E56 #A5BB1E #1EBB83
square
#341EBB #BB1E56 #A5BB1E #1EBB83
split-complementary
#341EBB #BB831E #56BB1E
monochromatic
#170D52 #251686 #341EBB #4F37DF #7D6CE7

Accessibility & contrast

On white

10.25
#341EBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#341EBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341EBB
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341EBB#FFFFFF#000000##FFFFFF
##341EBB1.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047BF
Deuteranopia (green-blind)
#003AB8
Tritanopia (blue-blind)
#00516F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #341ebb;
/* rgb */ color: rgb(52, 30, 187);
/* oklch */ color: oklch(39.9% 0.223 275.6);
Tailwind
colors: {
  custom: {
    50: '#8260d1',
    500: '#341ebb',
    950: '#000000',
  },
}
SCSS
$custom: #341ebb;
$custom-light: #8260d1;
$custom-dark: #000000;
JSON
{
  "hex": "#341ebb",
  "rgb": {
    "r": 52,
    "g": 30,
    "b": 187
  },
  "hsl": {
    "h": 248.408,
    "s": 72.35,
    "l": 42.549
  },
  "oklch": {
    "l": 0.39926,
    "c": 0.22293,
    "h": 275.6
  },
  "luminance": 0.05246
}

Semantic roles & 50–950 ramp

primary
#341EBB
secondary
#BFCD67
accent
#EF39D6
background
#F8F5FD
surface
#F0EAFA
border
#CBC6D3
text
#0C0514
muted
#7D7983

Preview Lab

Preview with #341EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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