#4154B2#4154B2
#4154B2 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.3% C 0.150 H 271.1°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).
Color values
| HEX | #4154B2 |
|---|---|
| RGB | rgb(65, 84, 178) |
| HSL | hsl(230, 47%, 48%) |
| HSV | hsv(230, 63%, 70%) |
| CMYK | cmyk(63.5%, 52.8%, 0%, 30.2%) |
| CIE-LAB | lab(39.03, 22.92, -52.38) |
| CIE-LCH | lch(39.03, 57.17, 293.63°) |
| OKLab | oklab(48.31% 0.003 -0.1502) |
| OKLCH | oklch(48.31% 0.15 271.1) |
| XYZ | xyz(13.3835, 10.6777, 43.4666) |
| Luminance | 0.1068 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.54
Denim Blue
#3B5B92
ΔE00 5.86
Dusky Blue
#475F94
ΔE00 6.01
Cobalt
#0047AB
ΔE00 6.06
Warm Blue
#4B57DB
ΔE00 6.07
Iris
#6258C4
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4154B2 #B29F41
analogous
#418CB2 #4154B2 #6741B2
triadic
#4154B2 #B24154 #54B241
tetradic
#4154B2 #B2418C #B29F41 #41B267
square
#4154B2 #B2418C #B29F41 #41B267
split-complementary
#4154B2 #B26741 #8CB241
monochromatic
#202A58 #313F85 #4154B2 #6878C8 #95A0D8
Accessibility & contrast
On white
6.70
#4154B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#4154B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4154B2
6.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4154B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4154B2 | 1.00 | 6.70 | 3.14 | 6.70 |
| #FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A61B5
Deuteranopia (green-blind)
#0057B0
Tritanopia (blue-blind)
#006A7B
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #4154b2; /* rgb */ color: rgb(65, 84, 178); /* oklch */ color: oklch(48.3% 0.150 271.1);
Tailwind
colors: {
custom: {
50: '#8183ca',
500: '#4154b2',
950: '#000000',
},
}SCSS
$custom: #4154b2; $custom-light: #8183ca; $custom-dark: #000000;
JSON
{
"hex": "#4154b2",
"rgb": {
"r": 65,
"g": 84,
"b": 178
},
"hsl": {
"h": 229.912,
"s": 46.502,
"l": 47.647
},
"oklch": {
"l": 0.48309,
"c": 0.15028,
"h": 271.1
},
"luminance": 0.10679
}Semantic roles & 50–950 ramp
primary
#4154B2
secondary
#C4BA8B
accent
#C052D6
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0B0A13
muted
#7C7C82