#3159CF#3159CF
#3159CF is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.8% C 0.188 H 265.7°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).
Color values
| HEX | #3159CF |
|---|---|
| RGB | rgb(49, 89, 207) |
| HSL | hsl(225, 62%, 50%) |
| HSV | hsv(225, 76%, 81%) |
| CMYK | cmyk(76.3%, 57%, 0%, 18.8%) |
| CIE-LAB | lab(41.69, 27.97, -65.00) |
| CIE-LCH | lch(41.69, 70.76, 293.28°) |
| OKLab | oklab(50.77% -0.0141 -0.1876) |
| OKLCH | oklch(50.77% 0.188 265.7) |
| XYZ | xyz(16.0975, 12.3009, 60.5453) |
| Luminance | 0.1230 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Azul
#1D5DEC
ΔE00 3.67
Warm Blue
#4B57DB
ΔE00 4.06
Sapphire
#0F52BA
ΔE00 4.47
Denim
#1560BD
ΔE00 5.46
Electric Blue
#0652FF
ΔE00 5.82
Royal Blue
#4169E1
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3159CF #CFA731
analogous
#31A8CF #3159CF #5831CF
triadic
#3159CF #CF3159 #59CF31
tetradic
#3159CF #CF31A8 #CFA731 #31CF58
square
#3159CF #CF31A8 #CFA731 #31CF58
split-complementary
#3159CF #CF5831 #A8CF31
monochromatic
#192E6C #25439E #3159CF #6381DB #94A9E6
Accessibility & contrast
On white
6.07
#3159CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#3159CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3159CF
6.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3159CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3159CF | 1.00 | 6.07 | 3.46 | 6.07 |
| #FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AD3
Deuteranopia (green-blind)
#005BCD
Tritanopia (blue-blind)
#00768B
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #3159cf; /* rgb */ color: rgb(49, 89, 207); /* oklch */ color: oklch(50.8% 0.188 265.7);
Tailwind
colors: {
custom: {
50: '#8087df',
500: '#3159cf',
950: '#000000',
},
}SCSS
$custom: #3159cf; $custom-light: #8087df; $custom-dark: #000000;
JSON
{
"hex": "#3159cf",
"rgb": {
"r": 49,
"g": 89,
"b": 207
},
"hsl": {
"h": 224.81,
"s": 62.205,
"l": 50.196
},
"oklch": {
"l": 0.50765,
"c": 0.18815,
"h": 265.7
},
"luminance": 0.12303
}Semantic roles & 50–950 ramp
primary
#3159CF
secondary
#D1BF8B
accent
#BC43E5
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83