#4154B3#4154B3
#4154B3 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.4% C 0.152 H 271.1°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).
Color values
| HEX | #4154B3 |
|---|---|
| RGB | rgb(65, 84, 179) |
| HSL | hsl(230, 47%, 48%) |
| HSV | hsv(230, 64%, 70%) |
| CMYK | cmyk(63.7%, 53.1%, 0%, 29.8%) |
| CIE-LAB | lab(39.10, 23.27, -52.86) |
| CIE-LCH | lch(39.10, 57.75, 293.76°) |
| OKLab | oklab(48.38% 0.003 -0.1517) |
| OKLCH | oklch(48.38% 0.152 271.1) |
| XYZ | xyz(13.4842, 10.7180, 43.9973) |
| Luminance | 0.1072 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.54
Warm Blue
#4B57DB
ΔE00 5.93
Denim Blue
#3B5B92
ΔE00 5.96
Cobalt
#0047AB
ΔE00 6.09
Dusky Blue
#475F94
ΔE00 6.11
Iris
#6258C4
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4154B3 #B3A041
analogous
#418DB3 #4154B3 #6741B3
triadic
#4154B3 #B34154 #54B341
tetradic
#4154B3 #B3418D #B3A041 #41B367
square
#4154B3 #B3418D #B3A041 #41B367
split-complementary
#4154B3 #B36741 #8DB341
monochromatic
#202A59 #313F86 #4154B3 #6979C8 #96A1D9
Accessibility & contrast
On white
6.68
#4154B3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#4154B3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4154B3
6.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4154B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4154B3 | 1.00 | 6.68 | 3.14 | 6.68 |
| #FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1861B6
Deuteranopia (green-blind)
#0057B1
Tritanopia (blue-blind)
#006A7B
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #4154b3; /* rgb */ color: rgb(65, 84, 179); /* oklch */ color: oklch(48.4% 0.152 271.1);
Tailwind
colors: {
custom: {
50: '#8183ca',
500: '#4154b3',
950: '#000000',
},
}SCSS
$custom: #4154b3; $custom-light: #8183ca; $custom-dark: #000000;
JSON
{
"hex": "#4154b3",
"rgb": {
"r": 65,
"g": 84,
"b": 179
},
"hsl": {
"h": 230,
"s": 46.721,
"l": 47.843
},
"oklch": {
"l": 0.48383,
"c": 0.15169,
"h": 271.1
},
"luminance": 0.10719
}Semantic roles & 50–950 ramp
primary
#4154B3
secondary
#C4BB8B
accent
#C051D6
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0B0A13
muted
#7C7C82