#4342AC#4342AC

#4342AC is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.5% C 0.165 H 277.8°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#4342AC
RGBrgb(67, 66, 172)
HSLhsl(241, 45%, 47%)
HSVhsv(241, 62%, 67%)
CMYKcmyk(61%, 61.6%, 0%, 32.5%)
CIE-LABlab(34.12, 32.73, -56.78)
CIE-LCHlch(34.12, 65.53, 299.96°)
OKLaboklab(44.55% 0.0223 -0.1633)
OKLCHoklch(44.55% 0.165 277.8)
XYZxyz(11.7070, 8.0674, 39.9620)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4342AC #ABAC42
analogous
#4276AC #4342AC #7842AC
triadic
#4342AC #AC4342 #42AC43
tetradic
#4342AC #AC4276 #ABAC42 #42AC78
square
#4342AC #AC4276 #ABAC42 #42AC78
split-complementary
#4342AC #AC7842 #76AC42
monochromatic
#212054 #323180 #4342AC #6867C5 #9493D6

Accessibility & contrast

On white

8.03
#4342AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#4342AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4342AC
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4342AC#FFFFFF#000000##FFFFFF
##4342AC1.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AF
Deuteranopia (green-blind)
#004CAA
Tritanopia (blue-blind)
#005C70
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4342ac;
/* rgb */ color: rgb(67, 66, 172);
/* oklch */ color: oklch(44.5% 0.165 277.8);
Tailwind
colors: {
  custom: {
    50: '#8276c6',
    500: '#4342ac',
    950: '#000000',
  },
}
SCSS
$custom: #4342ac;
$custom-light: #8276c6;
$custom-dark: #000000;
JSON
{
  "hex": "#4342ac",
  "rgb": {
    "r": 67,
    "g": 66,
    "b": 172
  },
  "hsl": {
    "h": 240.566,
    "s": 44.538,
    "l": 46.667
  },
  "oklch": {
    "l": 0.44545,
    "c": 0.16482,
    "h": 277.8
  },
  "luminance": 0.08068
}

Semantic roles & 50–950 ramp

primary
#4342AC
secondary
#C0C189
accent
#D454D3
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4342AC

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

Preview Lab → · Contrast checker → · Palette generator →

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