#3051BB#3051BB
#3051BB is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.5% C 0.171 H 266.6°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).
Color values
| HEX | #3051BB |
|---|---|
| RGB | rgb(48, 81, 187) |
| HSL | hsl(226, 59%, 46%) |
| HSV | hsv(226, 74%, 73%) |
| CMYK | cmyk(74.3%, 56.7%, 0%, 26.7%) |
| CIE-LAB | lab(38.02, 25.61, -59.35) |
| CIE-LCH | lch(38.02, 64.64, 293.34°) |
| OKLab | oklab(47.52% -0.0101 -0.1712) |
| OKLCH | oklch(47.52% 0.171 266.6) |
| XYZ | xyz(13.1279, 10.0997, 48.2616) |
| Luminance | 0.1010 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.79
Cobalt
#0047AB
ΔE00 4.61
Blue Blue
#2242C7
ΔE00 4.94
Blue (survey)
#0343DF
ΔE00 6.03
Warm Blue
#4B57DB
ΔE00 6.07
Denim Blue
#3B5B92
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3051BB #BB9A30
analogous
#3096BB #3051BB #5430BB
triadic
#3051BB #BB3051 #51BB30
tetradic
#3051BB #BB3096 #BB9A30 #30BB54
square
#3051BB #BB3096 #BB9A30 #30BB54
split-complementary
#3051BB #BB5430 #96BB30
monochromatic
#17275A #233C8A #3051BB #5573D3 #869BE0
Accessibility & contrast
On white
6.95
#3051BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.02
#3051BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3051BB
6.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3051BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3051BB | 1.00 | 6.95 | 3.02 | 6.95 |
| #FFFFFF | 6.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060BF
Deuteranopia (green-blind)
#0053B9
Tritanopia (blue-blind)
#006B7E
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #3051bb; /* rgb */ color: rgb(48, 81, 187); /* oklch */ color: oklch(47.5% 0.171 266.6);
Tailwind
colors: {
custom: {
50: '#7c81d0',
500: '#3051bb',
950: '#000000',
},
}SCSS
$custom: #3051bb; $custom-light: #7c81d0; $custom-dark: #000000;
JSON
{
"hex": "#3051bb",
"rgb": {
"r": 48,
"g": 81,
"b": 187
},
"hsl": {
"h": 225.755,
"s": 59.149,
"l": 46.078
},
"oklch": {
"l": 0.4752,
"c": 0.17147,
"h": 266.6
},
"luminance": 0.10101
}Semantic roles & 50–950 ramp
primary
#3051BB
secondary
#C9B77D
accent
#BD45E2
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82