#4342C3#4342C3

#4342C3 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 46.5% C 0.195 H 276.0°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#4342C3
RGBrgb(67, 66, 195)
HSLhsl(240, 52%, 51%)
HSVhsv(240, 66%, 76%)
CMYKcmyk(65.6%, 66.2%, 0%, 23.5%)
CIE-LABlab(36.04, 40.44, -67.22)
CIE-LCHlch(36.04, 78.45, 301.03°)
OKLaboklab(46.54% 0.0205 -0.194)
OKLCHoklch(46.54% 0.195 276)
XYZxyz(14.1101, 9.0286, 52.6183)
Luminance0.0903 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4342C3 #C2C342
analogous
#4281C3 #4342C3 #8342C3
triadic
#4342C3 #C34342 #42C343
tetradic
#4342C3 #C34281 #C2C342 #42C383
square
#4342C3 #C34281 #C2C342 #42C383
split-complementary
#4342C3 #C38342 #81C342
monochromatic
#222169 #313098 #4342C3 #7170D2 #9F9FE0

Accessibility & contrast

On white

7.48
#4342C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4342C3
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4342C3#FFFFFF#000000##FFFFFF
##4342C31.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4342c3;
/* rgb */ color: rgb(67, 66, 195);
/* oklch */ color: oklch(46.5% 0.195 276.0);
Tailwind
colors: {
  custom: {
    50: '#8777d6',
    500: '#4342c3',
    950: '#000000',
  },
}
SCSS
$custom: #4342c3;
$custom-light: #8777d6;
$custom-dark: #000000;
JSON
{
  "hex": "#4342c3",
  "rgb": {
    "r": 67,
    "g": 66,
    "b": 195
  },
  "hsl": {
    "h": 240.465,
    "s": 51.807,
    "l": 51.176
  },
  "oklch": {
    "l": 0.46539,
    "c": 0.19505,
    "h": 276
  },
  "luminance": 0.0903
}

Semantic roles & 50–950 ramp

primary
#4342C3
secondary
#CCCD94
accent
#DB4DDA
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0D0914
muted
#7D7B83

Preview Lab

Preview with #4342C3

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

Preview Lab → · Contrast checker → · Palette generator →

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