#4342DC#4342DC

#4342DC is a mid, highly saturated blue. Relative luminance 0.103; OKLCH L 48.9% C 0.226 H 274.4°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#4342DC
RGBrgb(67, 66, 220)
HSLhsl(240, 69%, 56%)
HSVhsv(240, 70%, 86%)
CMYKcmyk(69.5%, 70%, 0%, 13.7%)
CIE-LABlab(38.30, 48.65, -77.98)
CIE-LCHlch(38.30, 91.91, 301.96°)
OKLaboklab(48.86% 0.0173 -0.2254)
OKLCHoklch(48.86% 0.226 274.4)
XYZxyz(17.1769, 10.2554, 68.7705)
Luminance0.1026 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4342DC #DBDC42
analogous
#428EDC #4342DC #9042DC
triadic
#4342DC #DC4342 #42DC43
tetradic
#4342DC #DC428E #DBDC42 #42DC90
square
#4342DC #DC428E #DBDC42 #42DC90
split-complementary
#4342DC #DC9042 #8EDC42
monochromatic
#1A1A8A #2423BE #4342DC #7676E6 #AAA9EF

Accessibility & contrast

On white

6.88
#4342DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#4342DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4342DC
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4342DC#FFFFFF#000000##FFFFFF
##4342DC1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061E1
Deuteranopia (green-blind)
#0053D9
Tritanopia (blue-blind)
#006D8A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4342dc;
/* rgb */ color: rgb(67, 66, 220);
/* oklch */ color: oklch(48.9% 0.226 274.4);
Tailwind
colors: {
  custom: {
    50: '#8c78e8',
    500: '#4342dc',
    950: '#000000',
  },
}
SCSS
$custom: #4342dc;
$custom-light: #8c78e8;
$custom-dark: #000000;
JSON
{
  "hex": "#4342dc",
  "rgb": {
    "r": 67,
    "g": 66,
    "b": 220
  },
  "hsl": {
    "h": 240.39,
    "s": 68.75,
    "l": 56.078
  },
  "oklch": {
    "l": 0.48855,
    "c": 0.22609,
    "h": 274.4
  },
  "luminance": 0.10257
}

Semantic roles & 50–950 ramp

primary
#4342DC
secondary
#DCDD9D
accent
#EC3CEA
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4342DC

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

Preview Lab → · Contrast checker → · Palette generator →

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