#3051BC#3051BC
#3051BC is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.6% C 0.173 H 266.6°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).
Color values
| HEX | #3051BC |
|---|---|
| RGB | rgb(48, 81, 188) |
| HSL | hsl(226, 59%, 46%) |
| HSV | hsv(226, 74%, 74%) |
| CMYK | cmyk(74.5%, 56.9%, 0%, 26.3%) |
| CIE-LAB | lab(38.10, 25.98, -59.81) |
| CIE-LCH | lch(38.10, 65.21, 293.48°) |
| OKLab | oklab(47.6% -0.0101 -0.1725) |
| OKLCH | oklch(47.6% 0.173 266.6) |
| XYZ | xyz(13.2353, 10.1426, 48.8274) |
| Luminance | 0.1014 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.84
Cobalt
#0047AB
ΔE00 4.69
Blue Blue
#2242C7
ΔE00 4.88
Blue (survey)
#0343DF
ΔE00 5.92
Warm Blue
#4B57DB
ΔE00 5.95
Denim Blue
#3B5B92
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3051BC #BC9B30
analogous
#3097BC #3051BC #5530BC
triadic
#3051BC #BC3051 #51BC30
tetradic
#3051BC #BC3097 #BC9B30 #30BC55
square
#3051BC #BC3097 #BC9B30 #30BC55
split-complementary
#3051BC #BC5530 #97BC30
monochromatic
#17275A #243C8B #3051BC #5573D4 #869BE0
Accessibility & contrast
On white
6.93
#3051BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#3051BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3051BC
6.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3051BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3051BC | 1.00 | 6.93 | 3.03 | 6.93 |
| #FFFFFF | 6.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C0
Deuteranopia (green-blind)
#0053BA
Tritanopia (blue-blind)
#006C7E
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #3051bc; /* rgb */ color: rgb(48, 81, 188); /* oklch */ color: oklch(47.6% 0.173 266.6);
Tailwind
colors: {
custom: {
50: '#7c81d1',
500: '#3051bc',
950: '#000000',
},
}SCSS
$custom: #3051bc; $custom-light: #7c81d1; $custom-dark: #000000;
JSON
{
"hex": "#3051bc",
"rgb": {
"r": 48,
"g": 81,
"b": 188
},
"hsl": {
"h": 225.857,
"s": 59.322,
"l": 46.275
},
"oklch": {
"l": 0.47601,
"c": 0.17282,
"h": 266.6
},
"luminance": 0.10144
}Semantic roles & 50–950 ramp
primary
#3051BC
secondary
#CAB87E
accent
#BD45E3
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82