#342FD0#342FD0

#342FD0 is a dark, highly saturated blue. Relative luminance 0.073; OKLCH L 44.2% C 0.234 H 272.7°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#342FD0
RGBrgb(52, 47, 208)
HSLhsl(242, 63%, 50%)
HSVhsv(242, 77%, 82%)
CMYKcmyk(75%, 77.4%, 0%, 18.4%)
CIE-LABlab(32.52, 53.77, -80.64)
CIE-LCHlch(32.52, 96.92, 303.69°)
OKLaboklab(44.15% 0.0109 -0.2334)
OKLCHoklch(44.15% 0.234 272.7)
XYZxyz(13.8140, 7.3157, 60.3463)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342FD0 #CBD02F
analogous
#2F7BD0 #342FD0 #842FD0
triadic
#342FD0 #D0342F #2FD034
tetradic
#342FD0 #D02F7B #CBD02F #2FD084
square
#342FD0 #D02F7B #CBD02F #2FD084
split-complementary
#342FD0 #D0842F #7BD02F
monochromatic
#1B186C #28249E #342FD0 #6561DB #9593E7

Accessibility & contrast

On white

8.52
#342FD0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#342FD0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #342FD0
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342FD0#FFFFFF#000000##FFFFFF
##342FD01.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #342fd0;
/* rgb */ color: rgb(52, 47, 208);
/* oklch */ color: oklch(44.2% 0.234 272.7);
Tailwind
colors: {
  custom: {
    50: '#856be0',
    500: '#342fd0',
    950: '#000000',
  },
}
SCSS
$custom: #342fd0;
$custom-light: #856be0;
$custom-dark: #000000;
JSON
{
  "hex": "#342fd0",
  "rgb": {
    "r": 52,
    "g": 47,
    "b": 208
  },
  "hsl": {
    "h": 241.863,
    "s": 63.137,
    "l": 50
  },
  "oklch": {
    "l": 0.44152,
    "c": 0.23361,
    "h": 272.7
  },
  "luminance": 0.07317
}

Semantic roles & 50–950 ramp

primary
#342FD0
secondary
#CFD189
accent
#E642E1
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #342FD0

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

Preview Lab → · Contrast checker → · Palette generator →

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