#3154B6#3154B6
#3154B6 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.8% C 0.161 H 265.7°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).
Color values
| HEX | #3154B6 |
|---|---|
| RGB | rgb(49, 84, 182) |
| HSL | hsl(224, 58%, 45%) |
| HSV | hsv(224, 73%, 71%) |
| CMYK | cmyk(73.1%, 53.8%, 0%, 28.6%) |
| CIE-LAB | lab(38.50, 21.90, -55.64) |
| CIE-LCH | lch(38.50, 59.79, 291.48°) |
| OKLab | oklab(47.77% -0.012 -0.1602) |
| OKLCH | oklch(47.77% 0.161 265.7) |
| XYZ | xyz(12.8775, 10.3696, 45.5698) |
| Luminance | 0.1037 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.37
Cobalt
#0047AB
ΔE00 4.83
Denim Blue
#3B5B92
ΔE00 5.40
Denim
#1560BD
ΔE00 5.59
Dusk Blue
#26538D
ΔE00 6.11
Blue Blue
#2242C7
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3154B6 #B69331
analogous
#3196B6 #3154B6 #5131B6
triadic
#3154B6 #B63154 #54B631
tetradic
#3154B6 #B63196 #B69331 #31B651
square
#3154B6 #B63196 #B69331 #31B651
split-complementary
#3154B6 #B65131 #96B631
monochromatic
#172756 #243E86 #3154B6 #5374D1 #849BDE
Accessibility & contrast
On white
6.83
#3154B6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.07
#3154B6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3154B6
6.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3154B6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3154B6 | 1.00 | 6.83 | 3.07 | 6.83 |
| #FFFFFF | 6.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0761B9
Deuteranopia (green-blind)
#0055B4
Tritanopia (blue-blind)
#006C7D
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #3154b6; /* rgb */ color: rgb(49, 84, 182); /* oklch */ color: oklch(47.8% 0.161 265.7);
Tailwind
colors: {
custom: {
50: '#7b83cd',
500: '#3154b6',
950: '#000000',
},
}SCSS
$custom: #3154b6; $custom-light: #7b83cd; $custom-dark: #000000;
JSON
{
"hex": "#3154b6",
"rgb": {
"r": 49,
"g": 84,
"b": 182
},
"hsl": {
"h": 224.211,
"s": 57.576,
"l": 45.294
},
"oklch": {
"l": 0.47774,
"c": 0.16063,
"h": 265.7
},
"luminance": 0.10371
}Semantic roles & 50–950 ramp
primary
#3154B6
secondary
#C7B37C
accent
#B847E1
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0A13
muted
#7C7C82