#4162C8#4162C8
#4162C8 is a mid, vivid blue. Relative luminance 0.140; OKLCH L 52.7% C 0.163 H 267.1°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).
Color values
| HEX | #4162C8 |
|---|---|
| RGB | rgb(65, 98, 200) |
| HSL | hsl(225, 55%, 52%) |
| HSV | hsv(225, 68%, 78%) |
| CMYK | cmyk(67.5%, 51%, 0%, 21.6%) |
| CIE-LAB | lab(44.27, 21.75, -56.75) |
| CIE-LCH | lch(44.27, 60.77, 290.97°) |
| OKLab | oklab(52.75% -0.0081 -0.1629) |
| OKLCH | oklch(52.75% 0.163 267.1) |
| XYZ | xyz(16.9694, 14.0277, 56.4457) |
| Luminance | 0.1403 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 3.98
Azul
#1D5DEC
ΔE00 4.48
French Blue
#436BAD
ΔE00 4.89
Denim
#1560BD
ΔE00 5.05
Warm Blue
#4B57DB
ΔE00 5.29
Cornflower Blue
#5170D7
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4162C8 #C8A741
analogous
#41A6C8 #4162C8 #6341C8
triadic
#4162C8 #C84162 #62C841
tetradic
#4162C8 #C841A6 #C8A741 #41C863
square
#4162C8 #C841A6 #C8A741 #41C863
split-complementary
#4162C8 #C86341 #A6C841
monochromatic
#20336F #2E499E #4162C8 #7089D6 #A0B0E3
Accessibility & contrast
On white
5.52
#4162C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.81
#4162C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4162C8
5.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4162C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4162C8 | 1.00 | 5.52 | 3.81 | 5.52 |
| #FFFFFF | 5.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#256FCC
Deuteranopia (green-blind)
#0063C6
Tritanopia (blue-blind)
#007A8C
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #4162c8; /* rgb */ color: rgb(65, 98, 200); /* oklch */ color: oklch(52.7% 0.163 267.1);
Tailwind
colors: {
custom: {
50: '#858ed9',
500: '#4162c8',
950: '#000000',
},
}SCSS
$custom: #4162c8; $custom-light: #858ed9; $custom-dark: #000000;
JSON
{
"hex": "#4162c8",
"rgb": {
"r": 65,
"g": 98,
"b": 200
},
"hsl": {
"h": 225.333,
"s": 55.102,
"l": 51.961
},
"oklch": {
"l": 0.52749,
"c": 0.16311,
"h": 267.1
},
"luminance": 0.14029
}Semantic roles & 50–950 ramp
primary
#4162C8
secondary
#D0C295
accent
#BA49DE
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83