#4342B7#4342B7

#4342B7 is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.5% C 0.179 H 276.9°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#4342B7
RGBrgb(67, 66, 183)
HSLhsl(241, 47%, 49%)
HSVhsv(241, 64%, 72%)
CMYKcmyk(63.4%, 63.9%, 0%, 28.2%)
CIE-LABlab(35.02, 36.43, -61.84)
CIE-LCHlch(35.02, 71.78, 300.50°)
OKLaboklab(45.48% 0.0216 -0.1782)
OKLCHoklch(45.48% 0.179 276.9)
XYZxyz(12.8074, 8.5076, 45.7578)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4342B7 #B6B742
analogous
#427CB7 #4342B7 #7E42B7
triadic
#4342B7 #B74342 #42B743
tetradic
#4342B7 #B7427C #B6B742 #42B77E
square
#4342B7 #B7427C #B6B742 #42B77E
split-complementary
#4342B7 #B77E42 #7CB742
monochromatic
#22225D #33328A #4342B7 #6D6CCA #9A99DA

Accessibility & contrast

On white

7.77
#4342B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#4342B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4342B7
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4342B7#FFFFFF#000000##FFFFFF
##4342B71.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BB
Deuteranopia (green-blind)
#004DB5
Tritanopia (blue-blind)
#006076
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4342b7;
/* rgb */ color: rgb(67, 66, 183);
/* oklch */ color: oklch(45.5% 0.179 276.9);
Tailwind
colors: {
  custom: {
    50: '#8477ce',
    500: '#4342b7',
    950: '#000000',
  },
}
SCSS
$custom: #4342b7;
$custom-light: #8477ce;
$custom-dark: #000000;
JSON
{
  "hex": "#4342b7",
  "rgb": {
    "r": 67,
    "g": 66,
    "b": 183
  },
  "hsl": {
    "h": 240.513,
    "s": 46.988,
    "l": 48.824
  },
  "oklch": {
    "l": 0.4548,
    "c": 0.17949,
    "h": 276.9
  },
  "luminance": 0.08509
}

Semantic roles & 50–950 ramp

primary
#4342B7
secondary
#C6C68F
accent
#D751D5
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #4342B7

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

Preview Lab → · Contrast checker → · Palette generator →

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