#3154BB#3154BB
#3154BB is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.2% C 0.167 H 266.0°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #3154BB |
|---|---|
| RGB | rgb(49, 84, 187) |
| HSL | hsl(225, 58%, 46%) |
| HSV | hsv(225, 74%, 73%) |
| CMYK | cmyk(73.8%, 55.1%, 0%, 26.7%) |
| CIE-LAB | lab(38.86, 23.77, -57.98) |
| CIE-LCH | lch(38.86, 62.66, 292.29°) |
| OKLab | oklab(48.17% -0.0116 -0.1671) |
| OKLCH | oklch(48.17% 0.167 266) |
| XYZ | xyz(13.4034, 10.5800, 48.3398) |
| Luminance | 0.1058 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.55
Cobalt
#0047AB
ΔE00 5.14
Denim
#1560BD
ΔE00 5.71
Blue Blue
#2242C7
ΔE00 5.89
Denim Blue
#3B5B92
ΔE00 5.97
Warm Blue
#4B57DB
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3154BB #BB9831
analogous
#3199BB #3154BB #5331BB
triadic
#3154BB #BB3154 #54BB31
tetradic
#3154BB #BB3199 #BB9831 #31BB53
square
#3154BB #BB3199 #BB9831 #31BB53
split-complementary
#3154BB #BB5331 #99BB31
monochromatic
#18285A #243E8B #3154BB #5676D3 #879DE0
Accessibility & contrast
On white
6.74
#3154BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#3154BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3154BB
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3154BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3154BB | 1.00 | 6.74 | 3.12 | 6.74 |
| #FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062BF
Deuteranopia (green-blind)
#0055B9
Tritanopia (blue-blind)
#006D7F
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #3154bb; /* rgb */ color: rgb(49, 84, 187); /* oklch */ color: oklch(48.2% 0.167 266.0);
Tailwind
colors: {
custom: {
50: '#7c83d0',
500: '#3154bb',
950: '#000000',
},
}SCSS
$custom: #3154bb; $custom-light: #7c83d0; $custom-dark: #000000;
JSON
{
"hex": "#3154bb",
"rgb": {
"r": 49,
"g": 84,
"b": 187
},
"hsl": {
"h": 224.783,
"s": 58.475,
"l": 46.275
},
"oklch": {
"l": 0.48166,
"c": 0.16747,
"h": 266
},
"luminance": 0.10581
}Semantic roles & 50–950 ramp
primary
#3154BB
secondary
#C9B67F
accent
#BA46E2
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0A14
muted
#7C7C82