#342DD1#342DD1

#342DD1 is a dark, highly saturated blue. Relative luminance 0.072; OKLCH L 44.0% C 0.236 H 272.8°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#342DD1
RGBrgb(52, 45, 209)
HSLhsl(243, 65%, 50%)
HSVhsv(243, 78%, 82%)
CMYKcmyk(75.1%, 78.5%, 0%, 18%)
CIE-LABlab(32.28, 55.08, -81.61)
CIE-LCHlch(32.28, 98.46, 304.01°)
OKLaboklab(44.02% 0.0114 -0.2362)
OKLCHoklch(44.02% 0.236 272.8)
XYZxyz(13.8593, 7.2088, 60.9703)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342DD1 #CAD12D
analogous
#2D78D1 #342DD1 #862DD1
triadic
#342DD1 #D1342D #2DD134
tetradic
#342DD1 #D12D78 #CAD12D #2DD186
square
#342DD1 #D12D78 #CAD12D #2DD186
split-complementary
#342DD1 #D1862D #78D12D
monochromatic
#1B176C #27229F #342DD1 #645FDC #9591E7

Accessibility & contrast

On white

8.60
#342DD1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#342DD1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #342DD1
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342DD1#FFFFFF#000000##FFFFFF
##342DD11.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054D6
Deuteranopia (green-blind)
#0044CE
Tritanopia (blue-blind)
#00607F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #342dd1;
/* rgb */ color: rgb(52, 45, 209);
/* oklch */ color: oklch(44.0% 0.236 272.8);
Tailwind
colors: {
  custom: {
    50: '#856ae1',
    500: '#342dd1',
    950: '#000000',
  },
}
SCSS
$custom: #342dd1;
$custom-light: #856ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#342dd1",
  "rgb": {
    "r": 52,
    "g": 45,
    "b": 209
  },
  "hsl": {
    "h": 242.561,
    "s": 64.567,
    "l": 49.804
  },
  "oklch": {
    "l": 0.44018,
    "c": 0.23643,
    "h": 272.8
  },
  "luminance": 0.0721
}

Semantic roles & 50–950 ramp

primary
#342DD1
secondary
#CFD288
accent
#E840E0
background
#F9F6FE
surface
#F1EBFC
border
#CBC6D5
text
#0D0715
muted
#7E7A84

Preview Lab

Preview with #342DD1

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

Preview Lab → · Contrast checker → · Palette generator →

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