#3155B8#3155B8
#3155B8 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.1% C 0.162 H 265.5°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).
Color values
| HEX | #3155B8 |
|---|---|
| RGB | rgb(49, 85, 184) |
| HSL | hsl(224, 58%, 46%) |
| HSV | hsv(224, 73%, 72%) |
| CMYK | cmyk(73.4%, 53.8%, 0%, 27.8%) |
| CIE-LAB | lab(38.91, 21.99, -56.14) |
| CIE-LCH | lch(38.91, 60.29, 291.39°) |
| OKLab | oklab(48.14% -0.0126 -0.1616) |
| OKLCH | oklch(48.14% 0.162 265.5) |
| XYZ | xyz(13.1638, 10.6093, 46.6921) |
| Luminance | 0.1061 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.40
Cobalt
#0047AB
ΔE00 5.15
Denim
#1560BD
ΔE00 5.30
Denim Blue
#3B5B92
ΔE00 5.45
Dusk Blue
#26538D
ΔE00 6.28
Dusky Blue
#475F94
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3155B8 #B89431
analogous
#3198B8 #3155B8 #5031B8
triadic
#3155B8 #B83155 #55B831
tetradic
#3155B8 #B83198 #B89431 #31B850
square
#3155B8 #B83198 #B89431 #31B850
split-complementary
#3155B8 #B85031 #98B831
monochromatic
#172857 #243F88 #3155B8 #5576D2 #859DDE
Accessibility & contrast
On white
6.73
#3155B8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#3155B8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3155B8
6.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3155B8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3155B8 | 1.00 | 6.73 | 3.12 | 6.73 |
| #FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0762BB
Deuteranopia (green-blind)
#0056B6
Tritanopia (blue-blind)
#006D7E
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #3155b8; /* rgb */ color: rgb(49, 85, 184); /* oklch */ color: oklch(48.1% 0.162 265.5);
Tailwind
colors: {
custom: {
50: '#7b84ce',
500: '#3155b8',
950: '#000000',
},
}SCSS
$custom: #3155b8; $custom-light: #7b84ce; $custom-dark: #000000;
JSON
{
"hex": "#3155b8",
"rgb": {
"r": 49,
"g": 85,
"b": 184
},
"hsl": {
"h": 224,
"s": 57.94,
"l": 45.686
},
"oklch": {
"l": 0.48135,
"c": 0.16213,
"h": 265.5
},
"luminance": 0.10611
}Semantic roles & 50–950 ramp
primary
#3155B8
secondary
#C8B47D
accent
#B847E1
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0A14
muted
#7C7C82