#4342B0#4342B0

#4342B0 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.9% C 0.170 H 277.5°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#4342B0
RGBrgb(67, 66, 176)
HSLhsl(241, 45%, 47%)
HSVhsv(241, 63%, 69%)
CMYKcmyk(61.9%, 62.5%, 0%, 31%)
CIE-LABlab(34.44, 34.08, -58.63)
CIE-LCHlch(34.44, 67.82, 300.16°)
OKLaboklab(44.88% 0.0221 -0.1688)
OKLCHoklch(44.88% 0.17 277.5)
XYZxyz(12.0969, 8.2234, 42.0157)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4342B0 #AFB042
analogous
#4278B0 #4342B0 #7A42B0
triadic
#4342B0 #B04342 #42B043
tetradic
#4342B0 #B04278 #AFB042 #42B07A
square
#4342B0 #B04278 #AFB042 #42B07A
split-complementary
#4342B0 #B07A42 #78B042
monochromatic
#212157 #323183 #4342B0 #6969C7 #9695D7

Accessibility & contrast

On white

7.94
#4342B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#4342B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4342B0
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4342B0#FFFFFF#000000##FFFFFF
##4342B01.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B4
Deuteranopia (green-blind)
#004CAE
Tritanopia (blue-blind)
#005D73
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4342b0;
/* rgb */ color: rgb(67, 66, 176);
/* oklch */ color: oklch(44.9% 0.170 277.5);
Tailwind
colors: {
  custom: {
    50: '#8376c8',
    500: '#4342b0',
    950: '#000000',
  },
}
SCSS
$custom: #4342b0;
$custom-light: #8376c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4342b0",
  "rgb": {
    "r": 67,
    "g": 66,
    "b": 176
  },
  "hsl": {
    "h": 240.545,
    "s": 45.455,
    "l": 47.451
  },
  "oklch": {
    "l": 0.44881,
    "c": 0.17021,
    "h": 277.5
  },
  "luminance": 0.08224
}

Semantic roles & 50–950 ramp

primary
#4342B0
secondary
#C2C38B
accent
#D553D4
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4342B0

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

Preview Lab → · Contrast checker → · Palette generator →

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