#4342B2#4342B2

#4342B2 is a mid, vivid blue. Relative luminance 0.083; OKLCH L 45.1% C 0.173 H 277.3°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#4342B2
RGBrgb(67, 66, 178)
HSLhsl(241, 46%, 48%)
HSVhsv(241, 63%, 70%)
CMYKcmyk(62.4%, 62.9%, 0%, 30.2%)
CIE-LABlab(34.61, 34.75, -59.56)
CIE-LCHlch(34.61, 68.95, 300.26°)
OKLaboklab(45.05% 0.022 -0.1715)
OKLCHoklch(45.05% 0.173 277.3)
XYZxyz(12.2962, 8.3031, 43.0655)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4342B2 #B1B242
analogous
#4279B2 #4342B2 #7B42B2
triadic
#4342B2 #B24342 #42B243
tetradic
#4342B2 #B24279 #B1B242 #42B27B
square
#4342B2 #B24279 #B1B242 #42B27B
split-complementary
#4342B2 #B27B42 #79B242
monochromatic
#212159 #323185 #4342B2 #6A6AC8 #9796D8

Accessibility & contrast

On white

7.89
#4342B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#4342B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4342B2
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4342B2#FFFFFF#000000##FFFFFF
##4342B21.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B6
Deuteranopia (green-blind)
#004DB0
Tritanopia (blue-blind)
#005E74
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4342b2;
/* rgb */ color: rgb(67, 66, 178);
/* oklch */ color: oklch(45.1% 0.173 277.3);
Tailwind
colors: {
  custom: {
    50: '#8377ca',
    500: '#4342b2',
    950: '#000000',
  },
}
SCSS
$custom: #4342b2;
$custom-light: #8377ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4342b2",
  "rgb": {
    "r": 67,
    "g": 66,
    "b": 178
  },
  "hsl": {
    "h": 240.536,
    "s": 45.902,
    "l": 47.843
  },
  "oklch": {
    "l": 0.45051,
    "c": 0.17288,
    "h": 277.3
  },
  "luminance": 0.08304
}

Semantic roles & 50–950 ramp

primary
#4342B2
secondary
#C3C48C
accent
#D652D4
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4342B2

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

Preview Lab → · Contrast checker → · Palette generator →

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