#4342C1#4342C1

#4342C1 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 46.4% C 0.192 H 276.2°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#4342C1
RGBrgb(67, 66, 193)
HSLhsl(240, 51%, 51%)
HSVhsv(240, 66%, 76%)
CMYKcmyk(65.3%, 65.8%, 0%, 24.3%)
CIE-LABlab(35.87, 39.77, -66.34)
CIE-LCHlch(35.87, 77.35, 300.95°)
OKLaboklab(46.36% 0.0207 -0.1914)
OKLCHoklch(46.36% 0.192 276.2)
XYZxyz(13.8854, 8.9388, 51.4354)
Luminance0.0894 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4342C1 #C0C142
analogous
#4281C1 #4342C1 #8242C1
triadic
#4342C1 #C14342 #42C143
tetradic
#4342C1 #C14281 #C0C142 #42C182
square
#4342C1 #C14281 #C0C142 #42C182
split-complementary
#4342C1 #C18242 #81C142
monochromatic
#222267 #323195 #4342C1 #7170D0 #9F9EDF

Accessibility & contrast

On white

7.53
#4342C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#4342C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4342C1
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4342C1#FFFFFF#000000##FFFFFF
##4342C11.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC5
Deuteranopia (green-blind)
#004FBF
Tritanopia (blue-blind)
#00637C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4342c1;
/* rgb */ color: rgb(67, 66, 193);
/* oklch */ color: oklch(46.4% 0.192 276.2);
Tailwind
colors: {
  custom: {
    50: '#8677d5',
    500: '#4342c1',
    950: '#000000',
  },
}
SCSS
$custom: #4342c1;
$custom-light: #8677d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4342c1",
  "rgb": {
    "r": 67,
    "g": 66,
    "b": 193
  },
  "hsl": {
    "h": 240.472,
    "s": 50.598,
    "l": 50.784
  },
  "oklch": {
    "l": 0.4636,
    "c": 0.19249,
    "h": 276.2
  },
  "luminance": 0.0894
}

Semantic roles & 50–950 ramp

primary
#4342C1
secondary
#CBCC93
accent
#DA4ED9
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #4342C1

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

Preview Lab → · Contrast checker → · Palette generator →

#4342C1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva