#4342B4#4342B4

#4342B4 is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.2% C 0.176 H 277.1°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#4342B4
RGBrgb(67, 66, 180)
HSLhsl(241, 46%, 48%)
HSVhsv(241, 63%, 71%)
CMYKcmyk(62.8%, 63.3%, 0%, 29.4%)
CIE-LABlab(34.77, 35.42, -60.48)
CIE-LCHlch(34.77, 70.09, 300.36°)
OKLaboklab(45.22% 0.0218 -0.1742)
OKLCHoklch(45.22% 0.176 277.1)
XYZxyz(12.4985, 8.3840, 44.1308)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4342B4 #B3B442
analogous
#427AB4 #4342B4 #7C42B4
triadic
#4342B4 #B44342 #42B443
tetradic
#4342B4 #B4427A #B3B442 #42B47C
square
#4342B4 #B4427A #B3B442 #42B47C
split-complementary
#4342B4 #B47C42 #7AB442
monochromatic
#22215A #323287 #4342B4 #6B6BC9 #9897D9

Accessibility & contrast

On white

7.84
#4342B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#4342B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4342B4
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4342B4#FFFFFF#000000##FFFFFF
##4342B41.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B8
Deuteranopia (green-blind)
#004DB2
Tritanopia (blue-blind)
#005F75
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4342b4;
/* rgb */ color: rgb(67, 66, 180);
/* oklch */ color: oklch(45.2% 0.176 277.1);
Tailwind
colors: {
  custom: {
    50: '#8477cb',
    500: '#4342b4',
    950: '#000000',
  },
}
SCSS
$custom: #4342b4;
$custom-light: #8477cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4342b4",
  "rgb": {
    "r": 67,
    "g": 66,
    "b": 180
  },
  "hsl": {
    "h": 240.526,
    "s": 46.341,
    "l": 48.235
  },
  "oklch": {
    "l": 0.45222,
    "c": 0.17553,
    "h": 277.1
  },
  "luminance": 0.08385
}

Semantic roles & 50–950 ramp

primary
#4342B4
secondary
#C4C58D
accent
#D652D5
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4342B4

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

Preview Lab → · Contrast checker → · Palette generator →

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