#4342BA#4342BA

#4342BA is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.7% C 0.183 H 276.7°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#4342BA
RGBrgb(67, 66, 186)
HSLhsl(241, 48%, 49%)
HSVhsv(241, 65%, 73%)
CMYKcmyk(64%, 64.5%, 0%, 27.1%)
CIE-LABlab(35.27, 37.44, -63.20)
CIE-LCHlch(35.27, 73.46, 300.64°)
OKLaboklab(45.74% 0.0214 -0.1822)
OKLCHoklch(45.74% 0.183 276.7)
XYZxyz(13.1230, 8.6338, 47.4198)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4342BA #B9BA42
analogous
#427DBA #4342BA #7F42BA
triadic
#4342BA #BA4342 #42BA43
tetradic
#4342BA #BA427D #B9BA42 #42BA7F
square
#4342BA #BA427D #B9BA42 #42BA7F
split-complementary
#4342BA #BA7F42 #7DBA42
monochromatic
#222260 #33328D #4342BA #6F6ECB #9B9BDB

Accessibility & contrast

On white

7.70
#4342BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#4342BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4342BA
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4342BA#FFFFFF#000000##FFFFFF
##4342BA1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4342ba;
/* rgb */ color: rgb(67, 66, 186);
/* oklch */ color: oklch(45.7% 0.183 276.7);
Tailwind
colors: {
  custom: {
    50: '#8577d0',
    500: '#4342ba',
    950: '#000000',
  },
}
SCSS
$custom: #4342ba;
$custom-light: #8577d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4342ba",
  "rgb": {
    "r": 67,
    "g": 66,
    "b": 186
  },
  "hsl": {
    "h": 240.5,
    "s": 47.619,
    "l": 49.412
  },
  "oklch": {
    "l": 0.45742,
    "c": 0.18343,
    "h": 276.7
  },
  "luminance": 0.08635
}

Semantic roles & 50–950 ramp

primary
#4342BA
secondary
#C7C890
accent
#D751D6
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #4342BA

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

Preview Lab → · Contrast checker → · Palette generator →

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