#4342BE#4342BE

#4342BE is a mid, vivid blue. Relative luminance 0.088; OKLCH L 46.1% C 0.189 H 276.4°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#4342BE
RGBrgb(67, 66, 190)
HSLhsl(240, 49%, 50%)
HSVhsv(240, 65%, 75%)
CMYKcmyk(64.7%, 65.3%, 0%, 25.5%)
CIE-LABlab(35.61, 38.77, -65.00)
CIE-LCHlch(35.61, 75.69, 300.82°)
OKLaboklab(46.09% 0.021 -0.1874)
OKLCHoklch(46.09% 0.189 276.4)
XYZxyz(13.5542, 8.8063, 49.6907)
Luminance0.0881 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4342BE #BDBE42
analogous
#427FBE #4342BE #8142BE
triadic
#4342BE #BE4342 #42BE43
tetradic
#4342BE #BE427F #BDBE42 #42BE81
square
#4342BE #BE427F #BDBE42 #42BE81
split-complementary
#4342BE #BE8142 #7FBE42
monochromatic
#232263 #333291 #4342BE #7070CE #9E9DDD

Accessibility & contrast

On white

7.60
#4342BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#4342BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4342BE
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4342BE#FFFFFF#000000##FFFFFF
##4342BE1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C2
Deuteranopia (green-blind)
#004EBC
Tritanopia (blue-blind)
#00627A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4342be;
/* rgb */ color: rgb(67, 66, 190);
/* oklch */ color: oklch(46.1% 0.189 276.4);
Tailwind
colors: {
  custom: {
    50: '#8677d3',
    500: '#4342be',
    950: '#000000',
  },
}
SCSS
$custom: #4342be;
$custom-light: #8677d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4342be",
  "rgb": {
    "r": 67,
    "g": 66,
    "b": 190
  },
  "hsl": {
    "h": 240.484,
    "s": 48.819,
    "l": 50.196
  },
  "oklch": {
    "l": 0.46094,
    "c": 0.18862,
    "h": 276.4
  },
  "luminance": 0.08807
}

Semantic roles & 50–950 ramp

primary
#4342BE
secondary
#C9CA92
accent
#D84FD7
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #4342BE

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

Preview Lab → · Contrast checker → · Palette generator →

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