#3159B3#3159B3
#3159B3 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.6% C 0.150 H 263.7°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).
Color values
| HEX | #3159B3 |
|---|---|
| RGB | rgb(49, 89, 179) |
| HSL | hsl(222, 57%, 45%) |
| HSV | hsv(222, 73%, 70%) |
| CMYK | cmyk(72.6%, 50.3%, 0%, 29.8%) |
| CIE-LAB | lab(39.67, 17.49, -51.99) |
| CIE-LCH | lch(39.67, 54.85, 288.60°) |
| OKLab | oklab(48.59% -0.0164 -0.1493) |
| OKLCH | oklch(48.59% 0.15 263.7) |
| XYZ | xyz(12.9728, 11.0510, 44.0885) |
| Luminance | 0.1105 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.81
Denim
#1560BD
ΔE00 3.92
Denim Blue
#3B5B92
ΔE00 4.32
Dusky Blue
#475F94
ΔE00 5.25
Dusk Blue
#26538D
ΔE00 5.54
Light Navy Blue
#2E5A88
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3159B3 #B38B31
analogous
#319AB3 #3159B3 #4A31B3
triadic
#3159B3 #B33159 #59B331
tetradic
#3159B3 #B3319A #B38B31 #31B34A
square
#3159B3 #B3319A #B38B31 #31B34A
split-complementary
#3159B3 #B34A31 #9AB331
monochromatic
#172953 #244183 #3159B3 #5278D0 #829EDD
Accessibility & contrast
On white
6.54
#3159B3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#3159B3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3159B3
6.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3159B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3159B3 | 1.00 | 6.54 | 3.21 | 6.54 |
| #FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2464B6
Deuteranopia (green-blind)
#0058B1
Tritanopia (blue-blind)
#006E7D
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #3159b3; /* rgb */ color: rgb(49, 89, 179); /* oklch */ color: oklch(48.6% 0.150 263.7);
Tailwind
colors: {
custom: {
50: '#7a87ca',
500: '#3159b3',
950: '#000000',
},
}SCSS
$custom: #3159b3; $custom-light: #7a87ca; $custom-dark: #000000;
JSON
{
"hex": "#3159b3",
"rgb": {
"r": 49,
"g": 89,
"b": 179
},
"hsl": {
"h": 221.538,
"s": 57.018,
"l": 44.706
},
"oklch": {
"l": 0.48594,
"c": 0.15025,
"h": 263.7
},
"luminance": 0.11052
}Semantic roles & 50–950 ramp
primary
#3159B3
secondary
#C6AE7A
accent
#B148E0
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0A0B13
muted
#7C7C82