#3154B8#3154B8
#3154B8 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.9% C 0.163 H 265.9°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).
Color values
| HEX | #3154B8 |
|---|---|
| RGB | rgb(49, 84, 184) |
| HSL | hsl(224, 58%, 46%) |
| HSV | hsv(224, 73%, 72%) |
| CMYK | cmyk(73.4%, 54.3%, 0%, 27.8%) |
| CIE-LAB | lab(38.64, 22.65, -56.58) |
| CIE-LCH | lch(38.64, 60.94, 291.82°) |
| OKLab | oklab(47.93% -0.0118 -0.163) |
| OKLCH | oklch(47.93% 0.163 265.9) |
| XYZ | xyz(13.0856, 10.4529, 46.6661) |
| Luminance | 0.1045 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.42
Cobalt
#0047AB
ΔE00 4.94
Denim
#1560BD
ΔE00 5.63
Denim Blue
#3B5B92
ΔE00 5.63
Blue Blue
#2242C7
ΔE00 6.08
Dusk Blue
#26538D
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3154B8 #B89531
analogous
#3198B8 #3154B8 #5131B8
triadic
#3154B8 #B83154 #54B831
tetradic
#3154B8 #B83198 #B89531 #31B851
square
#3154B8 #B83198 #B89531 #31B851
split-complementary
#3154B8 #B85131 #98B831
monochromatic
#172857 #243E88 #3154B8 #5575D2 #859CDE
Accessibility & contrast
On white
6.79
#3154B8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#3154B8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3154B8
6.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3154B8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3154B8 | 1.00 | 6.79 | 3.09 | 6.79 |
| #FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061BB
Deuteranopia (green-blind)
#0055B6
Tritanopia (blue-blind)
#006C7E
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #3154b8; /* rgb */ color: rgb(49, 84, 184); /* oklch */ color: oklch(47.9% 0.163 265.9);
Tailwind
colors: {
custom: {
50: '#7b83ce',
500: '#3154b8',
950: '#000000',
},
}SCSS
$custom: #3154b8; $custom-light: #7b83ce; $custom-dark: #000000;
JSON
{
"hex": "#3154b8",
"rgb": {
"r": 49,
"g": 84,
"b": 184
},
"hsl": {
"h": 224.444,
"s": 57.94,
"l": 45.686
},
"oklch": {
"l": 0.4793,
"c": 0.16338,
"h": 265.9
},
"luminance": 0.10454
}Semantic roles & 50–950 ramp
primary
#3154B8
secondary
#C8B47D
accent
#B947E1
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0A14
muted
#7C7C82