#3154BC#3154BC
#3154BC is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.2% C 0.169 H 266.1°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).
Color values
| HEX | #3154BC |
|---|---|
| RGB | rgb(49, 84, 188) |
| HSL | hsl(225, 59%, 46%) |
| HSV | hsv(225, 74%, 74%) |
| CMYK | cmyk(73.9%, 55.3%, 0%, 26.3%) |
| CIE-LAB | lab(38.94, 24.14, -58.45) |
| CIE-LCH | lch(38.94, 63.24, 292.45°) |
| OKLab | oklab(48.25% -0.0115 -0.1684) |
| OKLCH | oklch(48.25% 0.169 266.1) |
| XYZ | xyz(13.5109, 10.6230, 48.9056) |
| Luminance | 0.1062 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.61
Cobalt
#0047AB
ΔE00 5.21
Denim
#1560BD
ΔE00 5.74
Blue Blue
#2242C7
ΔE00 5.84
Warm Blue
#4B57DB
ΔE00 5.88
Denim Blue
#3B5B92
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3154BC #BC9931
analogous
#319ABC #3154BC #5431BC
triadic
#3154BC #BC3154 #54BC31
tetradic
#3154BC #BC319A #BC9931 #31BC54
square
#3154BC #BC319A #BC9931 #31BC54
split-complementary
#3154BC #BC5431 #9ABC31
monochromatic
#18295B #243E8B #3154BC #5776D3 #889EE0
Accessibility & contrast
On white
6.72
#3154BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#3154BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3154BC
6.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3154BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3154BC | 1.00 | 6.72 | 3.12 | 6.72 |
| #FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C0
Deuteranopia (green-blind)
#0056BA
Tritanopia (blue-blind)
#006D80
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #3154bc; /* rgb */ color: rgb(49, 84, 188); /* oklch */ color: oklch(48.2% 0.169 266.1);
Tailwind
colors: {
custom: {
50: '#7c83d1',
500: '#3154bc',
950: '#000000',
},
}SCSS
$custom: #3154bc; $custom-light: #7c83d1; $custom-dark: #000000;
JSON
{
"hex": "#3154bc",
"rgb": {
"r": 49,
"g": 84,
"b": 188
},
"hsl": {
"h": 224.892,
"s": 58.65,
"l": 46.471
},
"oklch": {
"l": 0.48245,
"c": 0.16883,
"h": 266.1
},
"luminance": 0.10624
}Semantic roles & 50–950 ramp
primary
#3154BC
secondary
#CAB77F
accent
#BB46E2
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0A14
muted
#7C7C82