#342ABE#342ABE

#342ABE is a dark, highly saturated blue. Relative luminance 0.061; OKLCH L 41.6% C 0.217 H 274.4°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#342ABE
RGBrgb(52, 42, 190)
HSLhsl(244, 64%, 45%)
HSVhsv(244, 78%, 75%)
CMYKcmyk(72.6%, 77.9%, 0%, 25.5%)
CIE-LABlab(29.67, 50.70, -74.81)
CIE-LCHlch(29.67, 90.37, 304.13°)
OKLaboklab(41.58% 0.0168 -0.2164)
OKLCHoklch(41.58% 0.217 274.4)
XYZxyz(11.5353, 6.1026, 49.2752)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342ABE #B4BE2A
analogous
#2A6ABE #342ABE #7E2ABE
triadic
#342ABE #BE342A #2ABE34
tetradic
#342ABE #BE2A6A #B4BE2A #2ABE7E
square
#342ABE #BE2A6A #B4BE2A #2ABE7E
split-complementary
#342ABE #BE7E2A #6ABE2A
monochromatic
#19145A #261F8C #342ABE #574DD8 #8680E3

Accessibility & contrast

On white

9.46
#342ABE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#342ABE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #342ABE
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342ABE#FFFFFF#000000##FFFFFF
##342ABE1.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CC2
Deuteranopia (green-blind)
#003FBB
Tritanopia (blue-blind)
#005773
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #342abe;
/* rgb */ color: rgb(52, 42, 190);
/* oklch */ color: oklch(41.6% 0.217 274.4);
Tailwind
colors: {
  custom: {
    50: '#8167d3',
    500: '#342abe',
    950: '#000000',
  },
}
SCSS
$custom: #342abe;
$custom-light: #8167d3;
$custom-dark: #000000;
JSON
{
  "hex": "#342abe",
  "rgb": {
    "r": 52,
    "g": 42,
    "b": 190
  },
  "hsl": {
    "h": 244.054,
    "s": 63.793,
    "l": 45.49
  },
  "oklch": {
    "l": 0.41583,
    "c": 0.21703,
    "h": 274.4
  },
  "luminance": 0.06104
}

Semantic roles & 50–950 ramp

primary
#342ABE
secondary
#C6CB78
accent
#E741DC
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #342ABE

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

Preview Lab → · Contrast checker → · Palette generator →

#342ABE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva