#4342B5#4342B5

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

Color values

HEX#4342B5
RGBrgb(67, 66, 181)
HSLhsl(241, 47%, 48%)
HSVhsv(241, 64%, 71%)
CMYKcmyk(63%, 63.5%, 0%, 29%)
CIE-LABlab(34.85, 35.76, -60.93)
CIE-LCHlch(34.85, 70.65, 300.41°)
OKLaboklab(45.31% 0.0217 -0.1755)
OKLCHoklch(45.31% 0.177 277.1)
XYZxyz(12.6007, 8.4249, 44.6692)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4342B5 #B4B542
analogous
#427AB5 #4342B5 #7C42B5
triadic
#4342B5 #B54342 #42B543
tetradic
#4342B5 #B5427A #B4B542 #42B57C
square
#4342B5 #B5427A #B4B542 #42B57C
split-complementary
#4342B5 #B57C42 #7AB542
monochromatic
#22215B #323288 #4342B5 #6C6BC9 #9998D9

Accessibility & contrast

On white

7.82
#4342B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#4342B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4342B5
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4342B5#FFFFFF#000000##FFFFFF
##4342B51.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4342b5;
/* rgb */ color: rgb(67, 66, 181);
/* oklch */ color: oklch(45.3% 0.177 277.1);
Tailwind
colors: {
  custom: {
    50: '#8477cc',
    500: '#4342b5',
    950: '#000000',
  },
}
SCSS
$custom: #4342b5;
$custom-light: #8477cc;
$custom-dark: #000000;
JSON
{
  "hex": "#4342b5",
  "rgb": {
    "r": 67,
    "g": 66,
    "b": 181
  },
  "hsl": {
    "h": 240.522,
    "s": 46.559,
    "l": 48.431
  },
  "oklch": {
    "l": 0.45308,
    "c": 0.17686,
    "h": 277.1
  },
  "luminance": 0.08426
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4342B5

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

Preview Lab → · Contrast checker → · Palette generator →

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