#4342A2#4342A2

#4342A2 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.7% C 0.151 H 278.6°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#4342A2
RGBrgb(67, 66, 162)
HSLhsl(241, 42%, 45%)
HSVhsv(241, 59%, 64%)
CMYKcmyk(58.6%, 59.3%, 0%, 36.5%)
CIE-LABlab(33.34, 29.35, -52.05)
CIE-LCHlch(33.34, 59.75, 299.42°)
OKLaboklab(43.73% 0.0226 -0.1494)
OKLCHoklch(43.73% 0.151 278.6)
XYZxyz(10.7825, 7.6976, 35.0930)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4342A2 #A1A242
analogous
#4271A2 #4342A2 #7342A2
triadic
#4342A2 #A24342 #42A243
tetradic
#4342A2 #A24271 #A1A242 #42A273
square
#4342A2 #A24271 #A1A242 #42A273
split-complementary
#4342A2 #A27342 #71A242
monochromatic
#1F1F4B #313077 #4342A2 #6362BF #8E8ED1

Accessibility & contrast

On white

8.27
#4342A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#4342A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4342A2
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4342A2#FFFFFF#000000##FFFFFF
##4342A21.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A5
Deuteranopia (green-blind)
#004BA0
Tritanopia (blue-blind)
#06596B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4342a2;
/* rgb */ color: rgb(67, 66, 162);
/* oklch */ color: oklch(43.7% 0.151 278.6);
Tailwind
colors: {
  custom: {
    50: '#8076be',
    500: '#4342a2',
    950: '#000000',
  },
}
SCSS
$custom: #4342a2;
$custom-light: #8076be;
$custom-dark: #000000;
JSON
{
  "hex": "#4342a2",
  "rgb": {
    "r": 67,
    "g": 66,
    "b": 162
  },
  "hsl": {
    "h": 240.625,
    "s": 42.105,
    "l": 44.706
  },
  "oklch": {
    "l": 0.43727,
    "c": 0.15111,
    "h": 278.6
  },
  "luminance": 0.07698
}

Semantic roles & 50–950 ramp

primary
#4342A2
secondary
#BBBC84
accent
#D256D1
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #4342A2

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

Preview Lab → · Contrast checker → · Palette generator →

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