#4154BC#4154BC
#4154BC is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.1% C 0.164 H 271.2°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).
Color values
| HEX | #4154BC |
|---|---|
| RGB | rgb(65, 84, 188) |
| HSL | hsl(231, 49%, 50%) |
| HSV | hsv(231, 65%, 74%) |
| CMYK | cmyk(65.4%, 55.3%, 0%, 26.3%) |
| CIE-LAB | lab(39.74, 26.45, -57.11) |
| CIE-LCH | lch(39.74, 62.94, 294.85°) |
| OKLab | oklab(49.06% 0.0036 -0.1642) |
| OKLCH | oklch(49.06% 0.164 271.2) |
| XYZ | xyz(14.4243, 11.0940, 48.9484) |
| Luminance | 0.1109 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.70
Warm Blue
#4B57DB
ΔE00 4.71
Iris
#6258C4
ΔE00 5.64
Blue Blue
#2242C7
ΔE00 5.77
Cobalt
#0047AB
ΔE00 6.54
Ocean Blue
#4F42B5
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4154BC #BCA941
analogous
#4192BC #4154BC #6C41BC
triadic
#4154BC #BC4154 #54BC41
tetradic
#4154BC #BC4192 #BCA941 #41BC6C
square
#4154BC #BC4192 #BCA941 #41BC6C
split-complementary
#4154BC #BC6C41 #92BC41
monochromatic
#222B61 #31408F #4154BC #6E7CCD #9BA5DC
Accessibility & contrast
On white
6.52
#4154BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.22
#4154BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4154BC
6.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4154BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4154BC | 1.00 | 6.52 | 3.22 | 6.52 |
| #FFFFFF | 6.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C0
Deuteranopia (green-blind)
#0058BA
Tritanopia (blue-blind)
#006D80
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #4154bc; /* rgb */ color: rgb(65, 84, 188); /* oklch */ color: oklch(49.1% 0.164 271.2);
Tailwind
colors: {
custom: {
50: '#8383d1',
500: '#4154bc',
950: '#000000',
},
}SCSS
$custom: #4154bc; $custom-light: #8383d1; $custom-dark: #000000;
JSON
{
"hex": "#4154bc",
"rgb": {
"r": 65,
"g": 84,
"b": 188
},
"hsl": {
"h": 230.732,
"s": 48.617,
"l": 49.608
},
"oklch": {
"l": 0.49064,
"c": 0.16421,
"h": 271.2
},
"luminance": 0.11095
}Semantic roles & 50–950 ramp
primary
#4154BC
secondary
#C9C090
accent
#C350D8
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0A14
muted
#7D7C82