#4342C5#4342C5

#4342C5 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.7% C 0.198 H 275.9°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#4342C5
RGBrgb(67, 66, 197)
HSLhsl(240, 53%, 52%)
HSVhsv(240, 66%, 77%)
CMYKcmyk(66%, 66.5%, 0%, 22.7%)
CIE-LABlab(36.21, 41.11, -68.11)
CIE-LCHlch(36.21, 79.55, 301.11°)
OKLaboklab(46.72% 0.0203 -0.1966)
OKLCHoklch(46.72% 0.198 275.9)
XYZxyz(14.3377, 9.1197, 53.8172)
Luminance0.0912 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4342C5 #C4C542
analogous
#4283C5 #4342C5 #8542C5
triadic
#4342C5 #C54342 #42C543
tetradic
#4342C5 #C54283 #C4C542 #42C585
square
#4342C5 #C54283 #C4C542 #42C585
split-complementary
#4342C5 #C58542 #83C542
monochromatic
#22216C #302F9A #4342C5 #7271D3 #A0A0E2

Accessibility & contrast

On white

7.44
#4342C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#4342C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4342C5
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4342C5#FFFFFF#000000##FFFFFF
##4342C51.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4342c5;
/* rgb */ color: rgb(67, 66, 197);
/* oklch */ color: oklch(46.7% 0.198 275.9);
Tailwind
colors: {
  custom: {
    50: '#8777d8',
    500: '#4342c5',
    950: '#000000',
  },
}
SCSS
$custom: #4342c5;
$custom-light: #8777d8;
$custom-dark: #000000;
JSON
{
  "hex": "#4342c5",
  "rgb": {
    "r": 67,
    "g": 66,
    "b": 197
  },
  "hsl": {
    "h": 240.458,
    "s": 53.036,
    "l": 51.569
  },
  "oklch": {
    "l": 0.46719,
    "c": 0.19761,
    "h": 275.9
  },
  "luminance": 0.09121
}

Semantic roles & 50–950 ramp

primary
#4342C5
secondary
#CECE95
accent
#DC4BDB
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4342C5

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

Preview Lab → · Contrast checker → · Palette generator →

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