#4342C6#4342C6

#4342C6 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.8% C 0.199 H 275.8°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#4342C6
RGBrgb(67, 66, 198)
HSLhsl(240, 54%, 52%)
HSVhsv(240, 67%, 78%)
CMYKcmyk(66.2%, 66.7%, 0%, 22.4%)
CIE-LABlab(36.30, 41.44, -68.55)
CIE-LCHlch(36.30, 80.10, 301.15°)
OKLaboklab(46.81% 0.0202 -0.1978)
OKLCHoklch(46.81% 0.199 275.8)
XYZxyz(14.4527, 9.1657, 54.4226)
Luminance0.0917 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4342C6 #C5C642
analogous
#4283C6 #4342C6 #8542C6
triadic
#4342C6 #C64342 #42C643
tetradic
#4342C6 #C64283 #C5C642 #42C685
square
#4342C6 #C64283 #C5C642 #42C685
split-complementary
#4342C6 #C68542 #83C642
monochromatic
#21216D #302F9C #4342C6 #7271D4 #A1A0E2

Accessibility & contrast

On white

7.41
#4342C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#4342C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4342C6
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4342C6#FFFFFF#000000##FFFFFF
##4342C61.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCA
Deuteranopia (green-blind)
#004FC3
Tritanopia (blue-blind)
#00657E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4342c6;
/* rgb */ color: rgb(67, 66, 198);
/* oklch */ color: oklch(46.8% 0.199 275.8);
Tailwind
colors: {
  custom: {
    50: '#8777d8',
    500: '#4342c6',
    950: '#000000',
  },
}
SCSS
$custom: #4342c6;
$custom-light: #8777d8;
$custom-dark: #000000;
JSON
{
  "hex": "#4342c6",
  "rgb": {
    "r": 67,
    "g": 66,
    "b": 198
  },
  "hsl": {
    "h": 240.455,
    "s": 53.659,
    "l": 51.765
  },
  "oklch": {
    "l": 0.4681,
    "c": 0.19887,
    "h": 275.8
  },
  "luminance": 0.09167
}

Semantic roles & 50–950 ramp

primary
#4342C6
secondary
#CECF95
accent
#DD4BDC
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4342C6

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

Preview Lab → · Contrast checker → · Palette generator →

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