#4156B2#4156B2
#4156B2 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.7% C 0.148 H 270.4°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).
Color values
| HEX | #4156B2 |
|---|---|
| RGB | rgb(65, 86, 178) |
| HSL | hsl(229, 47%, 48%) |
| HSV | hsv(229, 63%, 70%) |
| CMYK | cmyk(63.5%, 51.7%, 0%, 30.2%) |
| CIE-LAB | lab(39.57, 21.62, -51.52) |
| CIE-LCH | lch(39.57, 55.87, 292.77°) |
| OKLab | oklab(48.71% 0.001 -0.1477) |
| OKLCH | oklch(48.71% 0.148 270.4) |
| XYZ | xyz(13.5409, 10.9926, 43.5190) |
| Luminance | 0.1099 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.44
Denim Blue
#3B5B92
ΔE00 5.44
Dusky Blue
#475F94
ΔE00 5.53
Warm Blue
#4B57DB
ΔE00 6.09
Cobalt
#0047AB
ΔE00 6.33
Iris
#6258C4
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4156B2 #B29D41
analogous
#418EB2 #4156B2 #6541B2
triadic
#4156B2 #B24156 #56B241
tetradic
#4156B2 #B2418E #B29D41 #41B265
square
#4156B2 #B2418E #B29D41 #41B265
split-complementary
#4156B2 #B26541 #8EB241
monochromatic
#202B58 #314085 #4156B2 #687AC8 #95A2D8
Accessibility & contrast
On white
6.56
#4156B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.20
#4156B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4156B2
6.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4156B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4156B2 | 1.00 | 6.56 | 3.20 | 6.56 |
| #FFFFFF | 6.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2062B5
Deuteranopia (green-blind)
#0058B0
Tritanopia (blue-blind)
#006B7C
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #4156b2; /* rgb */ color: rgb(65, 86, 178); /* oklch */ color: oklch(48.7% 0.148 270.4);
Tailwind
colors: {
custom: {
50: '#8185ca',
500: '#4156b2',
950: '#000000',
},
}SCSS
$custom: #4156b2; $custom-light: #8185ca; $custom-dark: #000000;
JSON
{
"hex": "#4156b2",
"rgb": {
"r": 65,
"g": 86,
"b": 178
},
"hsl": {
"h": 228.85,
"s": 46.502,
"l": 47.647
},
"oklch": {
"l": 0.48713,
"c": 0.14768,
"h": 270.4
},
"luminance": 0.10994
}Semantic roles & 50–950 ramp
primary
#4156B2
secondary
#C4B98B
accent
#BE52D6
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82