#4164CB#4164CB
#4164CB is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.4% C 0.165 H 266.7°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #4164CB |
|---|---|
| RGB | rgb(65, 100, 203) |
| HSL | hsl(225, 57%, 53%) |
| HSV | hsv(225, 68%, 80%) |
| CMYK | cmyk(68%, 50.7%, 0%, 20.4%) |
| CIE-LAB | lab(45.01, 21.55, -57.29) |
| CIE-LCH | lch(45.01, 61.20, 290.61°) |
| OKLab | oklab(53.37% -0.0096 -0.1645) |
| OKLCH | oklch(53.37% 0.165 266.7) |
| XYZ | xyz(17.5129, 14.5482, 58.3735) |
| Luminance | 0.1455 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 3.28
Azul
#1D5DEC
ΔE00 4.39
French Blue
#436BAD
ΔE00 4.68
Cornflower Blue
#5170D7
ΔE00 4.69
Denim
#1560BD
ΔE00 5.17
Bright Blue
#0165FC
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4164CB #CBA841
analogous
#41A9CB #4164CB #6341CB
triadic
#4164CB #CB4164 #64CB41
tetradic
#4164CB #CB41A9 #CBA841 #41CB63
square
#4164CB #CB41A9 #CBA841 #41CB63
split-complementary
#4164CB #CB6341 #A9CB41
monochromatic
#1F3472 #2C4AA2 #4164CB #718BD8 #A1B2E5
Accessibility & contrast
On white
5.37
#4164CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.91
#4164CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4164CB
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4164CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4164CB | 1.00 | 5.37 | 3.91 | 5.37 |
| #FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2771CF
Deuteranopia (green-blind)
#0065C9
Tritanopia (blue-blind)
#007C8E
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #4164cb; /* rgb */ color: rgb(65, 100, 203); /* oklch */ color: oklch(53.4% 0.165 266.7);
Tailwind
colors: {
custom: {
50: '#858fdb',
500: '#4164cb',
950: '#000000',
},
}SCSS
$custom: #4164cb; $custom-light: #858fdb; $custom-dark: #000000;
JSON
{
"hex": "#4164cb",
"rgb": {
"r": 65,
"g": 100,
"b": 203
},
"hsl": {
"h": 224.783,
"s": 57.025,
"l": 52.549
},
"oklch": {
"l": 0.53372,
"c": 0.16474,
"h": 266.7
},
"luminance": 0.1455
}Semantic roles & 50–950 ramp
primary
#4164CB
secondary
#D2C396
accent
#BA48E0
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83