#342CC0#342CC0

#342CC0 is a dark, highly saturated blue. Relative luminance 0.063; OKLCH L 42.0% C 0.218 H 274.1°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#342CC0
RGBrgb(52, 44, 192)
HSLhsl(243, 63%, 46%)
HSVhsv(243, 77%, 75%)
CMYKcmyk(72.9%, 77.1%, 0%, 24.7%)
CIE-LABlab(30.24, 50.30, -75.04)
CIE-LCHlch(30.24, 90.34, 303.83°)
OKLaboklab(42.05% 0.0155 -0.2171)
OKLCHoklch(42.05% 0.218 274.1)
XYZxyz(11.8281, 6.3360, 50.4586)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342CC0 #B8C02C
analogous
#2C6EC0 #342CC0 #7E2CC0
triadic
#342CC0 #C0342C #2CC034
tetradic
#342CC0 #C02C6E #B8C02C #2CC07E
square
#342CC0 #C02C6E #B8C02C #2CC07E
split-complementary
#342CC0 #C07E2C #6EC02C
monochromatic
#19155C #27218E #342CC0 #5952D7 #8984E3

Accessibility & contrast

On white

9.26
#342CC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#342CC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #342CC0
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342CC0#FFFFFF#000000##FFFFFF
##342CC01.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC4
Deuteranopia (green-blind)
#0040BD
Tritanopia (blue-blind)
#005875
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #342cc0;
/* rgb */ color: rgb(52, 44, 192);
/* oklch */ color: oklch(42.0% 0.218 274.1);
Tailwind
colors: {
  custom: {
    50: '#8268d4',
    500: '#342cc0',
    950: '#000000',
  },
}
SCSS
$custom: #342cc0;
$custom-light: #8268d4;
$custom-dark: #000000;
JSON
{
  "hex": "#342cc0",
  "rgb": {
    "r": 52,
    "g": 44,
    "b": 192
  },
  "hsl": {
    "h": 243.243,
    "s": 62.712,
    "l": 46.275
  },
  "oklch": {
    "l": 0.4205,
    "c": 0.21761,
    "h": 274.1
  },
  "luminance": 0.06337
}

Semantic roles & 50–950 ramp

primary
#342CC0
secondary
#C8CC7C
accent
#E642DD
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #342CC0

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

Preview Lab → · Contrast checker → · Palette generator →

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