#4342C0#4342C0

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

Color values

HEX#4342C0
RGBrgb(67, 66, 192)
HSLhsl(240, 50%, 51%)
HSVhsv(240, 66%, 75%)
CMYKcmyk(65.1%, 65.6%, 0%, 24.7%)
CIE-LABlab(35.78, 39.44, -65.89)
CIE-LCHlch(35.78, 76.80, 300.90°)
OKLaboklab(46.27% 0.0208 -0.1901)
OKLCHoklch(46.27% 0.191 276.2)
XYZxyz(13.7743, 8.8943, 50.8498)
Luminance0.0890 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4342C0 #BFC042
analogous
#4280C0 #4342C0 #8242C0
triadic
#4342C0 #C04342 #42C043
tetradic
#4342C0 #C04280 #BFC042 #42C082
square
#4342C0 #C04280 #BFC042 #42C082
split-complementary
#4342C0 #C08242 #80C042
monochromatic
#222266 #323194 #4342C0 #7170CF #9E9EDF

Accessibility & contrast

On white

7.56
#4342C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#4342C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4342C0
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4342C0#FFFFFF#000000##FFFFFF
##4342C01.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC4
Deuteranopia (green-blind)
#004FBE
Tritanopia (blue-blind)
#00637B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4342c0;
/* rgb */ color: rgb(67, 66, 192);
/* oklch */ color: oklch(46.3% 0.191 276.2);
Tailwind
colors: {
  custom: {
    50: '#8677d4',
    500: '#4342c0',
    950: '#000000',
  },
}
SCSS
$custom: #4342c0;
$custom-light: #8677d4;
$custom-dark: #000000;
JSON
{
  "hex": "#4342c0",
  "rgb": {
    "r": 67,
    "g": 66,
    "b": 192
  },
  "hsl": {
    "h": 240.476,
    "s": 50,
    "l": 50.588
  },
  "oklch": {
    "l": 0.46271,
    "c": 0.19121,
    "h": 276.2
  },
  "luminance": 0.08895
}

Semantic roles & 50–950 ramp

primary
#4342C0
secondary
#CACB93
accent
#DA4ED8
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #4342C0

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

Preview Lab → · Contrast checker → · Palette generator →

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