#4162C2#4162C2
#4162C2 is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.3% C 0.155 H 266.7°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).
Color values
| HEX | #4162C2 |
|---|---|
| RGB | rgb(65, 98, 194) |
| HSL | hsl(225, 51%, 51%) |
| HSV | hsv(225, 66%, 76%) |
| CMYK | cmyk(66.5%, 49.5%, 0%, 23.9%) |
| CIE-LAB | lab(43.88, 19.60, -53.92) |
| CIE-LCH | lch(43.88, 57.37, 289.98°) |
| OKLab | oklab(52.32% -0.0088 -0.1546) |
| OKLCH | oklch(52.32% 0.155 266.7) |
| XYZ | xyz(16.2819, 13.7527, 52.8250) |
| Luminance | 0.1375 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
French Blue
#436BAD
ΔE00 4.38
Royal Blue
#4169E1
ΔE00 4.62
Denim
#1560BD
ΔE00 4.64
Azul
#1D5DEC
ΔE00 5.16
Cornflower Blue
#5170D7
ΔE00 5.79
Warm Blue
#4B57DB
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4162C2 #C2A141
analogous
#41A2C2 #4162C2 #6041C2
triadic
#4162C2 #C24162 #62C241
tetradic
#4162C2 #C241A2 #C2A141 #41C260
square
#4162C2 #C241A2 #C2A141 #41C260
split-complementary
#4162C2 #C26041 #A2C241
monochromatic
#213367 #304A96 #4162C2 #6F88D1 #9EAFE0
Accessibility & contrast
On white
5.60
#4162C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.75
#4162C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4162C2
5.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4162C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4162C2 | 1.00 | 5.60 | 3.75 | 5.60 |
| #FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D6EC5
Deuteranopia (green-blind)
#0562C0
Tritanopia (blue-blind)
#007889
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #4162c2; /* rgb */ color: rgb(65, 98, 194); /* oklch */ color: oklch(52.3% 0.155 266.7);
Tailwind
colors: {
custom: {
50: '#838ed5',
500: '#4162c2',
950: '#000000',
},
}SCSS
$custom: #4162c2; $custom-light: #838ed5; $custom-dark: #000000;
JSON
{
"hex": "#4162c2",
"rgb": {
"r": 65,
"g": 98,
"b": 194
},
"hsl": {
"h": 224.651,
"s": 51.394,
"l": 50.784
},
"oklch": {
"l": 0.52321,
"c": 0.15484,
"h": 266.7
},
"luminance": 0.13754
}Semantic roles & 50–950 ramp
primary
#4162C2
secondary
#CCBD93
accent
#B74DDB
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83