#4342C4#4342C4

#4342C4 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.6% C 0.196 H 276.0°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#4342C4
RGBrgb(67, 66, 196)
HSLhsl(240, 52%, 51%)
HSVhsv(240, 66%, 77%)
CMYKcmyk(65.8%, 66.3%, 0%, 23.1%)
CIE-LABlab(36.13, 40.77, -67.67)
CIE-LCHlch(36.13, 79.00, 301.07°)
OKLaboklab(46.63% 0.0204 -0.1953)
OKLCHoklch(46.63% 0.196 276)
XYZxyz(14.2235, 9.0740, 53.2157)
Luminance0.0907 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4342C4 #C3C442
analogous
#4282C4 #4342C4 #8442C4
triadic
#4342C4 #C44342 #42C443
tetradic
#4342C4 #C44282 #C3C442 #42C484
square
#4342C4 #C44282 #C3C442 #42C484
split-complementary
#4342C4 #C48442 #82C442
monochromatic
#22216A #313099 #4342C4 #7171D3 #A09FE1

Accessibility & contrast

On white

7.46
#4342C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#4342C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4342C4
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4342C4#FFFFFF#000000##FFFFFF
##4342C41.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC8
Deuteranopia (green-blind)
#004FC2
Tritanopia (blue-blind)
#00647D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4342c4;
/* rgb */ color: rgb(67, 66, 196);
/* oklch */ color: oklch(46.6% 0.196 276.0);
Tailwind
colors: {
  custom: {
    50: '#8777d7',
    500: '#4342c4',
    950: '#000000',
  },
}
SCSS
$custom: #4342c4;
$custom-light: #8777d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4342c4",
  "rgb": {
    "r": 67,
    "g": 66,
    "b": 196
  },
  "hsl": {
    "h": 240.462,
    "s": 52.419,
    "l": 51.373
  },
  "oklch": {
    "l": 0.46629,
    "c": 0.19633,
    "h": 276
  },
  "luminance": 0.09075
}

Semantic roles & 50–950 ramp

primary
#4342C4
secondary
#CDCE94
accent
#DC4CDB
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0D0914
muted
#7D7B83

Preview Lab

Preview with #4342C4

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

Preview Lab → · Contrast checker → · Palette generator →

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