#4151B3#4151B3
#4151B3 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.8% C 0.156 H 272.2°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).
Color values
| HEX | #4151B3 |
|---|---|
| RGB | rgb(65, 81, 179) |
| HSL | hsl(232, 47%, 48%) |
| HSV | hsv(232, 64%, 70%) |
| CMYK | cmyk(63.7%, 54.7%, 0%, 29.8%) |
| CIE-LAB | lab(38.31, 25.21, -54.14) |
| CIE-LCH | lch(38.31, 59.72, 294.97°) |
| OKLab | oklab(47.79% 0.0059 -0.1555) |
| OKLCH | oklch(47.79% 0.156 272.2) |
| XYZ | xyz(13.2564, 10.2622, 43.9213) |
| Luminance | 0.1026 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.87
Blue Blue
#2242C7
ΔE00 5.48
Cobalt
#0047AB
ΔE00 5.82
Ocean Blue
#4F42B5
ΔE00 5.84
Warm Blue
#4B57DB
ΔE00 6.03
Iris
#6258C4
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4151B3 #B3A341
analogous
#418AB3 #4151B3 #6A41B3
triadic
#4151B3 #B34151 #51B341
tetradic
#4151B3 #B3418A #B3A341 #41B36A
square
#4151B3 #B3418A #B3A341 #41B36A
split-complementary
#4151B3 #B36A41 #8AB341
monochromatic
#202859 #313D86 #4151B3 #6976C8 #969FD9
Accessibility & contrast
On white
6.88
#4151B3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.05
#4151B3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4151B3
6.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4151B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4151B3 | 1.00 | 6.88 | 3.05 | 6.88 |
| #FFFFFF | 6.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#085FB6
Deuteranopia (green-blind)
#0055B1
Tritanopia (blue-blind)
#00687A
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #4151b3; /* rgb */ color: rgb(65, 81, 179); /* oklch */ color: oklch(47.8% 0.156 272.2);
Tailwind
colors: {
custom: {
50: '#8181ca',
500: '#4151b3',
950: '#000000',
},
}SCSS
$custom: #4151b3; $custom-light: #8181ca; $custom-dark: #000000;
JSON
{
"hex": "#4151b3",
"rgb": {
"r": 65,
"g": 81,
"b": 179
},
"hsl": {
"h": 231.579,
"s": 46.721,
"l": 47.843
},
"oklch": {
"l": 0.47787,
"c": 0.15558,
"h": 272.2
},
"luminance": 0.10263
}Semantic roles & 50–950 ramp
primary
#4151B3
secondary
#C4BC8B
accent
#C451D6
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0B0A13
muted
#7C7C82