#4342E2#4342E2

#4342E2 is a mid, highly saturated blue. Relative luminance 0.106; OKLCH L 49.4% C 0.233 H 274.0°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#4342E2
RGBrgb(67, 66, 226)
HSLhsl(240, 73%, 57%)
HSVhsv(240, 71%, 89%)
CMYKcmyk(70.4%, 70.8%, 0%, 11.4%)
CIE-LABlab(38.86, 50.58, -80.48)
CIE-LCHlch(38.86, 95.06, 302.15°)
OKLaboklab(49.43% 0.0164 -0.2327)
OKLCHoklch(49.43% 0.233 274)
XYZxyz(17.9859, 10.5790, 73.0308)
Luminance0.1058 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4342E2 #E1E242
analogous
#4291E2 #4342E2 #9342E2
triadic
#4342E2 #E24342 #42E243
tetradic
#4342E2 #E24291 #E1E242 #42E293
square
#4342E2 #E24291 #E1E242 #42E293
split-complementary
#4342E2 #E29342 #91E242
monochromatic
#171793 #201FC8 #4342E2 #7877EA #ADACF2

Accessibility & contrast

On white

6.74
#4342E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#4342E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4342E2
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4342E2#FFFFFF#000000##FFFFFF
##4342E21.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063E7
Deuteranopia (green-blind)
#0054DF
Tritanopia (blue-blind)
#006F8E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4342e2;
/* rgb */ color: rgb(67, 66, 226);
/* oklch */ color: oklch(49.4% 0.233 274.0);
Tailwind
colors: {
  custom: {
    50: '#8d78ec',
    500: '#4342e2',
    950: '#000000',
  },
}
SCSS
$custom: #4342e2;
$custom-light: #8d78ec;
$custom-dark: #000000;
JSON
{
  "hex": "#4342e2",
  "rgb": {
    "r": 67,
    "g": 66,
    "b": 226
  },
  "hsl": {
    "h": 240.375,
    "s": 73.394,
    "l": 57.255
  },
  "oklch": {
    "l": 0.4943,
    "c": 0.2333,
    "h": 274
  },
  "luminance": 0.10581
}

Semantic roles & 50–950 ramp

primary
#4342E2
secondary
#E0E09F
accent
#F038EF
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4342E2

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

Preview Lab → · Contrast checker → · Palette generator →

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