#4342AD#4342AD

#4342AD is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.6% C 0.166 H 277.7°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#4342AD
RGBrgb(67, 66, 173)
HSLhsl(241, 45%, 47%)
HSVhsv(241, 62%, 68%)
CMYKcmyk(61.3%, 61.8%, 0%, 32.2%)
CIE-LABlab(34.20, 33.06, -57.24)
CIE-LCHlch(34.20, 66.11, 300.01°)
OKLaboklab(44.63% 0.0222 -0.1647)
OKLCHoklch(44.63% 0.166 277.7)
XYZxyz(11.8034, 8.1060, 40.4697)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4342AD #ACAD42
analogous
#4277AD #4342AD #7942AD
triadic
#4342AD #AD4342 #42AD43
tetradic
#4342AD #AD4277 #ACAD42 #42AD79
square
#4342AD #AD4277 #ACAD42 #42AD79
split-complementary
#4342AD #AD7942 #77AD42
monochromatic
#212054 #323181 #4342AD #6867C5 #9493D6

Accessibility & contrast

On white

8.01
#4342AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#4342AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4342AD
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4342AD#FFFFFF#000000##FFFFFF
##4342AD1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B0
Deuteranopia (green-blind)
#004CAB
Tritanopia (blue-blind)
#005C71
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4342ad;
/* rgb */ color: rgb(67, 66, 173);
/* oklch */ color: oklch(44.6% 0.166 277.7);
Tailwind
colors: {
  custom: {
    50: '#8276c6',
    500: '#4342ad',
    950: '#000000',
  },
}
SCSS
$custom: #4342ad;
$custom-light: #8276c6;
$custom-dark: #000000;
JSON
{
  "hex": "#4342ad",
  "rgb": {
    "r": 67,
    "g": 66,
    "b": 173
  },
  "hsl": {
    "h": 240.561,
    "s": 44.77,
    "l": 46.863
  },
  "oklch": {
    "l": 0.44629,
    "c": 0.16617,
    "h": 277.7
  },
  "luminance": 0.08107
}

Semantic roles & 50–950 ramp

primary
#4342AD
secondary
#C1C189
accent
#D453D3
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4342AD

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

Preview Lab → · Contrast checker → · Palette generator →

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