#4161CD#4161CD
#4161CD is a mid, vivid blue. Relative luminance 0.141; OKLCH L 52.9% C 0.171 H 267.7°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).
Color values
| HEX | #4161CD |
|---|---|
| RGB | rgb(65, 97, 205) |
| HSL | hsl(226, 58%, 53%) |
| HSV | hsv(226, 68%, 80%) |
| CMYK | cmyk(68.3%, 52.7%, 0%, 19.6%) |
| CIE-LAB | lab(44.35, 24.17, -59.51) |
| CIE-LCH | lch(44.35, 64.23, 292.11°) |
| OKLab | oklab(52.91% -0.0068 -0.171) |
| OKLCH | oklch(52.91% 0.171 267.7) |
| XYZ | xyz(17.4703, 14.0793, 59.5426) |
| Luminance | 0.1408 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 3.73
Azul
#1D5DEC
ΔE00 3.88
Warm Blue
#4B57DB
ΔE00 4.58
Cornflower Blue
#5170D7
ΔE00 5.44
Denim
#1560BD
ΔE00 5.55
French Blue
#436BAD
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4161CD #CDAD41
analogous
#41A7CD #4161CD #6741CD
triadic
#4161CD #CD4161 #61CD41
tetradic
#4161CD #CD41A7 #CDAD41 #41CD67
square
#4161CD #CD41A7 #CDAD41 #41CD67
split-complementary
#4161CD #CD6741 #A7CD41
monochromatic
#1F3275 #2C47A5 #4161CD #7189DA #A2B2E6
Accessibility & contrast
On white
5.50
#4161CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.82
#4161CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4161CD
5.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4161CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4161CD | 1.00 | 5.50 | 3.82 | 5.50 |
| #FFFFFF | 5.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1770D1
Deuteranopia (green-blind)
#0063CB
Tritanopia (blue-blind)
#007B8E
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #4161cd; /* rgb */ color: rgb(65, 97, 205); /* oklch */ color: oklch(52.9% 0.171 267.7);
Tailwind
colors: {
custom: {
50: '#868ddd',
500: '#4161cd',
950: '#000000',
},
}SCSS
$custom: #4161cd; $custom-light: #868ddd; $custom-dark: #000000;
JSON
{
"hex": "#4161cd",
"rgb": {
"r": 65,
"g": 97,
"b": 205
},
"hsl": {
"h": 226.286,
"s": 58.333,
"l": 52.941
},
"oklch": {
"l": 0.52913,
"c": 0.17117,
"h": 267.7
},
"luminance": 0.14081
}Semantic roles & 50–950 ramp
primary
#4161CD
secondary
#D3C597
accent
#BE46E2
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83