#4342BB#4342BB

#4342BB is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.8% C 0.185 H 276.6°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#4342BB
RGBrgb(67, 66, 187)
HSLhsl(240, 48%, 50%)
HSVhsv(240, 65%, 73%)
CMYKcmyk(64.2%, 64.7%, 0%, 26.7%)
CIE-LABlab(35.35, 37.77, -63.65)
CIE-LCHlch(35.35, 74.02, 300.68°)
OKLaboklab(45.83% 0.0213 -0.1835)
OKLCHoklch(45.83% 0.185 276.6)
XYZxyz(13.2297, 8.6765, 47.9816)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4342BB #BABB42
analogous
#427EBB #4342BB #8042BB
triadic
#4342BB #BB4342 #42BB43
tetradic
#4342BB #BB427E #BABB42 #42BB80
square
#4342BB #BB427E #BABB42 #42BB80
split-complementary
#4342BB #BB8042 #7EBB42
monochromatic
#232261 #33328E #4342BB #6F6ECC #9C9CDC

Accessibility & contrast

On white

7.68
#4342BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#4342BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4342BB
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4342BB#FFFFFF#000000##FFFFFF
##4342BB1.007.682.747.68
#FFFFFF7.681.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BF
Deuteranopia (green-blind)
#004EB9
Tritanopia (blue-blind)
#006178
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4342bb;
/* rgb */ color: rgb(67, 66, 187);
/* oklch */ color: oklch(45.8% 0.185 276.6);
Tailwind
colors: {
  custom: {
    50: '#8577d0',
    500: '#4342bb',
    950: '#000000',
  },
}
SCSS
$custom: #4342bb;
$custom-light: #8577d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4342bb",
  "rgb": {
    "r": 67,
    "g": 66,
    "b": 187
  },
  "hsl": {
    "h": 240.496,
    "s": 47.826,
    "l": 49.608
  },
  "oklch": {
    "l": 0.45829,
    "c": 0.18473,
    "h": 276.6
  },
  "luminance": 0.08678
}

Semantic roles & 50–950 ramp

primary
#4342BB
secondary
#C8C891
accent
#D750D6
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #4342BB

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

Preview Lab → · Contrast checker → · Palette generator →

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