#4E61CC#4E61CC
#4E61CC is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.6% C 0.166 H 272.0°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).
Color values
| HEX | #4E61CC |
|---|---|
| RGB | rgb(78, 97, 204) |
| HSL | hsl(231, 55%, 55%) |
| HSV | hsv(231, 62%, 80%) |
| CMYK | cmyk(61.8%, 52.5%, 0%, 20%) |
| CIE-LAB | lab(44.98, 25.94, -57.87) |
| CIE-LCH | lch(44.98, 63.42, 294.14°) |
| OKLab | oklab(53.56% 0.0059 -0.1659) |
| OKLCH | oklch(53.56% 0.166 272) |
| XYZ | xyz(18.3120, 14.5272, 58.9541) |
| Luminance | 0.1453 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.80
Royal Blue
#4169E1
ΔE00 4.24
Dark Periwinkle
#665FD1
ΔE00 4.50
Azul
#1D5DEC
ΔE00 4.85
Iris
#6258C4
ΔE00 5.24
Cornflower Blue
#5170D7
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E61CC #CCB94E
analogous
#4EA0CC #4E61CC #7A4ECC
triadic
#4E61CC #CC4E61 #61CC4E
tetradic
#4E61CC #CC4EA0 #CCB94E #4ECC7A
square
#4E61CC #CC4EA0 #CCB94E #4ECC7A
split-complementary
#4E61CC #CC7A4E #A0CC4E
monochromatic
#24317C #3144AB #4E61CC #7E8BDA #ADB6E7
Accessibility & contrast
On white
5.38
#4E61CC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.91
#4E61CC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E61CC
5.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E61CC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E61CC | 1.00 | 5.38 | 3.91 | 5.38 |
| #FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F70D0
Deuteranopia (green-blind)
#0065CA
Tritanopia (blue-blind)
#007A8D
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #4e61cc; /* rgb */ color: rgb(78, 97, 204); /* oklch */ color: oklch(53.6% 0.166 272.0);
Tailwind
colors: {
custom: {
50: '#8b8ddc',
500: '#4e61cc',
950: '#000000',
},
}SCSS
$custom: #4e61cc; $custom-light: #8b8ddc; $custom-dark: #000000;
JSON
{
"hex": "#4e61cc",
"rgb": {
"r": 78,
"g": 97,
"b": 204
},
"hsl": {
"h": 230.952,
"s": 55.263,
"l": 55.294
},
"oklch": {
"l": 0.53557,
"c": 0.16606,
"h": 272
},
"luminance": 0.14529
}Semantic roles & 50–950 ramp
primary
#4E61CC
secondary
#D5CDA1
accent
#C849DF
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83