#4151B2#4151B2
#4151B2 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.7% C 0.154 H 272.2°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).
Color values
| HEX | #4151B2 |
|---|---|
| RGB | rgb(65, 81, 178) |
| HSL | hsl(232, 47%, 48%) |
| HSV | hsv(232, 63%, 70%) |
| CMYK | cmyk(63.5%, 54.5%, 0%, 30.2%) |
| CIE-LAB | lab(38.24, 24.86, -53.66) |
| CIE-LCH | lch(38.24, 59.14, 294.85°) |
| OKLab | oklab(47.71% 0.0059 -0.1541) |
| OKLCH | oklch(47.71% 0.154 272.2) |
| XYZ | xyz(13.1556, 10.2219, 43.3906) |
| Luminance | 0.1022 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.87
Blue Blue
#2242C7
ΔE00 5.56
Cobalt
#0047AB
ΔE00 5.78
Ocean Blue
#4F42B5
ΔE00 5.88
Warm Blue
#4B57DB
ΔE00 6.17
Iris
#6258C4
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4151B2 #B2A241
analogous
#418AB2 #4151B2 #6941B2
triadic
#4151B2 #B24151 #51B241
tetradic
#4151B2 #B2418A #B2A241 #41B269
square
#4151B2 #B2418A #B2A241 #41B269
split-complementary
#4151B2 #B26941 #8AB241
monochromatic
#202858 #313D85 #4151B2 #6876C8 #959FD8
Accessibility & contrast
On white
6.90
#4151B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.04
#4151B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4151B2
6.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4151B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4151B2 | 1.00 | 6.90 | 3.04 | 6.90 |
| #FFFFFF | 6.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0B5FB5
Deuteranopia (green-blind)
#0055B0
Tritanopia (blue-blind)
#006879
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #4151b2; /* rgb */ color: rgb(65, 81, 178); /* oklch */ color: oklch(47.7% 0.154 272.2);
Tailwind
colors: {
custom: {
50: '#8181ca',
500: '#4151b2',
950: '#000000',
},
}SCSS
$custom: #4151b2; $custom-light: #8181ca; $custom-dark: #000000;
JSON
{
"hex": "#4151b2",
"rgb": {
"r": 65,
"g": 81,
"b": 178
},
"hsl": {
"h": 231.504,
"s": 46.502,
"l": 47.647
},
"oklch": {
"l": 0.47711,
"c": 0.15418,
"h": 272.2
},
"luminance": 0.10223
}Semantic roles & 50–950 ramp
primary
#4151B2
secondary
#C4BC8B
accent
#C352D6
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0B0A13
muted
#7C7C82