#4342C2#4342C2
#4342C2 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 46.5% C 0.194 H 276.1°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).
Color values
| HEX | #4342C2 |
|---|---|
| RGB | rgb(67, 66, 194) |
| HSL | hsl(240, 51%, 51%) |
| HSV | hsv(240, 66%, 76%) |
| CMYK | cmyk(65.5%, 66%, 0%, 23.9%) |
| CIE-LAB | lab(35.95, 40.11, -66.78) |
| CIE-LCH | lch(35.95, 77.90, 300.99°) |
| OKLab | oklab(46.45% 0.0206 -0.1927) |
| OKLCH | oklch(46.45% 0.194 276.1) |
| XYZ | xyz(13.9974, 8.9836, 52.0248) |
| Luminance | 0.0898 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 2.44
Blue With A Hint Of Purple
#533CC6
ΔE00 2.95
Blue Blue
#2242C7
ΔE00 3.12
Blurple
#5539CC
ΔE00 3.78
Blue (survey)
#0343DF
ΔE00 4.57
Bluey Purple
#6241C7
ΔE00 4.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4342C2 #C1C242
analogous
#4281C2 #4342C2 #8342C2
triadic
#4342C2 #C24342 #42C243
tetradic
#4342C2 #C24281 #C1C242 #42C283
square
#4342C2 #C24281 #C1C242 #42C283
split-complementary
#4342C2 #C28342 #81C242
monochromatic
#222268 #313196 #4342C2 #7170D1 #9F9FE0
Accessibility & contrast
On white
7.51
#4342C2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.80
#4342C2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4342C2
7.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4342C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4342C2 | 1.00 | 7.51 | 2.80 | 7.51 |
| #FFFFFF | 7.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AC6
Deuteranopia (green-blind)
#004FC0
Tritanopia (blue-blind)
#00637C
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #4342c2; /* rgb */ color: rgb(67, 66, 194); /* oklch */ color: oklch(46.5% 0.194 276.1);
Tailwind
colors: {
custom: {
50: '#8677d5',
500: '#4342c2',
950: '#000000',
},
}SCSS
$custom: #4342c2; $custom-light: #8677d5; $custom-dark: #000000;
JSON
{
"hex": "#4342c2",
"rgb": {
"r": 67,
"g": 66,
"b": 194
},
"hsl": {
"h": 240.469,
"s": 51.2,
"l": 50.98
},
"oklch": {
"l": 0.4645,
"c": 0.19377,
"h": 276.1
},
"luminance": 0.08985
}Semantic roles & 50–950 ramp
primary
#4342C2
secondary
#CCCC94
accent
#DB4DDA
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0D0814
muted
#7D7B83