#4161CA#4161CA
#4161CA is a mid, vivid blue. Relative luminance 0.139; OKLCH L 52.7% C 0.167 H 267.6°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).
Color values
| HEX | #4161CA |
|---|---|
| RGB | rgb(65, 97, 202) |
| HSL | hsl(226, 56%, 52%) |
| HSV | hsv(226, 68%, 79%) |
| CMYK | cmyk(67.8%, 52%, 0%, 20.8%) |
| CIE-LAB | lab(44.14, 23.10, -58.11) |
| CIE-LCH | lch(44.14, 62.54, 291.68°) |
| OKLab | oklab(52.69% -0.007 -0.1669) |
| OKLCH | oklch(52.69% 0.167 267.6) |
| XYZ | xyz(17.1117, 13.9358, 57.6538) |
| Luminance | 0.1394 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 4.00
Azul
#1D5DEC
ΔE00 4.20
Warm Blue
#4B57DB
ΔE00 4.83
Denim
#1560BD
ΔE00 5.30
French Blue
#436BAD
ΔE00 5.34
Cornflower Blue
#5170D7
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4161CA #CAAA41
analogous
#41A6CA #4161CA #6541CA
triadic
#4161CA #CA4161 #61CA41
tetradic
#4161CA #CA41A6 #CAAA41 #41CA65
square
#4161CA #CA41A6 #CAAA41 #41CA65
split-complementary
#4161CA #CA6541 #A6CA41
monochromatic
#203371 #2D48A1 #4161CA #7189D7 #A1B1E5
Accessibility & contrast
On white
5.54
#4161CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.79
#4161CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4161CA
5.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4161CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4161CA | 1.00 | 5.54 | 3.79 | 5.54 |
| #FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E6FCE
Deuteranopia (green-blind)
#0062C8
Tritanopia (blue-blind)
#007A8C
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #4161ca; /* rgb */ color: rgb(65, 97, 202); /* oklch */ color: oklch(52.7% 0.167 267.6);
Tailwind
colors: {
custom: {
50: '#858ddb',
500: '#4161ca',
950: '#000000',
},
}SCSS
$custom: #4161ca; $custom-light: #858ddb; $custom-dark: #000000;
JSON
{
"hex": "#4161ca",
"rgb": {
"r": 65,
"g": 97,
"b": 202
},
"hsl": {
"h": 225.985,
"s": 56.379,
"l": 52.353
},
"oklch": {
"l": 0.52692,
"c": 0.16709,
"h": 267.6
},
"luminance": 0.13937
}Semantic roles & 50–950 ramp
primary
#4161CA
secondary
#D1C396
accent
#BC48E0
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83