#4342BF#4342BF

#4342BF is a mid, vivid blue. Relative luminance 0.089; OKLCH L 46.2% C 0.190 H 276.3°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#4342BF
RGBrgb(67, 66, 191)
HSLhsl(240, 49%, 50%)
HSVhsv(240, 65%, 75%)
CMYKcmyk(64.9%, 65.4%, 0%, 25.1%)
CIE-LABlab(35.69, 39.11, -65.45)
CIE-LCHlch(35.69, 76.24, 300.86°)
OKLaboklab(46.18% 0.0209 -0.1888)
OKLCHoklch(46.18% 0.19 276.3)
XYZxyz(13.6639, 8.8502, 50.2683)
Luminance0.0885 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4342BF #BEBF42
analogous
#427FBF #4342BF #8142BF
triadic
#4342BF #BF4342 #42BF43
tetradic
#4342BF #BF427F #BEBF42 #42BF81
square
#4342BF #BF427F #BEBF42 #42BF81
split-complementary
#4342BF #BF8142 #7FBF42
monochromatic
#232265 #323292 #4342BF #7070CE #9E9DDE

Accessibility & contrast

On white

7.58
#4342BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#4342BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4342BF
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4342BF#FFFFFF#000000##FFFFFF
##4342BF1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4342bf;
/* rgb */ color: rgb(67, 66, 191);
/* oklch */ color: oklch(46.2% 0.190 276.3);
Tailwind
colors: {
  custom: {
    50: '#8677d3',
    500: '#4342bf',
    950: '#000000',
  },
}
SCSS
$custom: #4342bf;
$custom-light: #8677d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4342bf",
  "rgb": {
    "r": 67,
    "g": 66,
    "b": 191
  },
  "hsl": {
    "h": 240.48,
    "s": 49.407,
    "l": 50.392
  },
  "oklch": {
    "l": 0.46182,
    "c": 0.18991,
    "h": 276.3
  },
  "luminance": 0.08851
}

Semantic roles & 50–950 ramp

primary
#4342BF
secondary
#CACA93
accent
#D94FD8
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #4342BF

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

Preview Lab → · Contrast checker → · Palette generator →

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