#342BC0#342BC0

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

Color values

HEX#342BC0
RGBrgb(52, 43, 192)
HSLhsl(244, 63%, 46%)
HSVhsv(244, 78%, 75%)
CMYKcmyk(72.9%, 77.6%, 0%, 24.7%)
CIE-LABlab(30.07, 50.81, -75.34)
CIE-LCHlch(30.07, 90.87, 304.00°)
OKLaboklab(41.92% 0.0159 -0.2179)
OKLCHoklch(41.92% 0.219 274.2)
XYZxyz(11.7913, 6.2624, 50.4463)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342BC0 #B7C02B
analogous
#2B6CC0 #342BC0 #7E2BC0
triadic
#342BC0 #C0342B #2BC034
tetradic
#342BC0 #C02B6C #B7C02B #2BC07E
square
#342BC0 #C02B6C #B7C02B #2BC07E
split-complementary
#342BC0 #C07E2B #6CC02B
monochromatic
#19155C #26208E #342BC0 #5950D8 #8882E3

Accessibility & contrast

On white

9.32
#342BC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#342BC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #342BC0
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342BC0#FFFFFF#000000##FFFFFF
##342BC01.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.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: #342bc0;
/* rgb */ color: rgb(52, 43, 192);
/* oklch */ color: oklch(41.9% 0.218 274.2);
Tailwind
colors: {
  custom: {
    50: '#8268d4',
    500: '#342bc0',
    950: '#000000',
  },
}
SCSS
$custom: #342bc0;
$custom-light: #8268d4;
$custom-dark: #000000;
JSON
{
  "hex": "#342bc0",
  "rgb": {
    "r": 52,
    "g": 43,
    "b": 192
  },
  "hsl": {
    "h": 243.624,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.41924,
    "c": 0.2185,
    "h": 274.2
  },
  "luminance": 0.06264
}

Semantic roles & 50–950 ramp

primary
#342BC0
secondary
#C7CC7B
accent
#E641DC
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #342BC0

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

Preview Lab → · Contrast checker → · Palette generator →

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