#4162BF#4162BF
#4162BF is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.1% C 0.151 H 266.5°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).
Color values
| HEX | #4162BF |
|---|---|
| RGB | rgb(65, 98, 191) |
| HSL | hsl(224, 50%, 50%) |
| HSV | hsv(224, 66%, 75%) |
| CMYK | cmyk(66%, 48.7%, 0%, 25.1%) |
| CIE-LAB | lab(43.68, 18.53, -52.49) |
| CIE-LCH | lch(43.68, 55.67, 289.44°) |
| OKLab | oklab(52.11% -0.0092 -0.1504) |
| OKLCH | oklch(52.11% 0.151 266.5) |
| XYZ | xyz(15.9484, 13.6193, 51.0684) |
| Luminance | 0.1362 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
French Blue
#436BAD
ΔE00 4.15
Denim
#1560BD
ΔE00 4.47
Royal Blue
#4169E1
ΔE00 4.95
Azul
#1D5DEC
ΔE00 5.51
Dusky Blue
#475F94
ΔE00 5.92
Cornflower Blue
#5170D7
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4162BF #BF9E41
analogous
#41A1BF #4162BF #5F41BF
triadic
#4162BF #BF4162 #62BF41
tetradic
#4162BF #BF41A1 #BF9E41 #41BF5F
square
#4162BF #BF41A1 #BF9E41 #41BF5F
split-complementary
#4162BF #BF5F41 #A1BF41
monochromatic
#223364 #314A92 #4162BF #6F88CE #9DAEDE
Accessibility & contrast
On white
5.64
#4162BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.72
#4162BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4162BF
5.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4162BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4162BF | 1.00 | 5.64 | 3.72 | 5.64 |
| #FFFFFF | 5.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#306DC2
Deuteranopia (green-blind)
#1162BD
Tritanopia (blue-blind)
#007887
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #4162bf; /* rgb */ color: rgb(65, 98, 191); /* oklch */ color: oklch(52.1% 0.151 266.5);
Tailwind
colors: {
custom: {
50: '#838ed3',
500: '#4162bf',
950: '#000000',
},
}SCSS
$custom: #4162bf; $custom-light: #838ed3; $custom-dark: #000000;
JSON
{
"hex": "#4162bf",
"rgb": {
"r": 65,
"g": 98,
"b": 191
},
"hsl": {
"h": 224.286,
"s": 49.606,
"l": 50.196
},
"oklch": {
"l": 0.52111,
"c": 0.15067,
"h": 266.5
},
"luminance": 0.13621
}Semantic roles & 50–950 ramp
primary
#4162BF
secondary
#CABB92
accent
#B54FD9
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83