#3051B5#3051B5
#3051B5 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.0% C 0.163 H 266.3°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).
Color values
| HEX | #3051B5 |
|---|---|
| RGB | rgb(48, 81, 181) |
| HSL | hsl(225, 58%, 45%) |
| HSV | hsv(225, 73%, 71%) |
| CMYK | cmyk(73.5%, 55.2%, 0%, 29%) |
| CIE-LAB | lab(37.57, 23.36, -56.56) |
| CIE-LCH | lch(37.57, 61.20, 292.44°) |
| OKLab | oklab(47.04% -0.0105 -0.163) |
| OKLCH | oklch(47.04% 0.163 266.3) |
| XYZ | xyz(12.4989, 9.8481, 44.9493) |
| Luminance | 0.0985 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.56
Cobalt
#0047AB
ΔE00 4.17
Blue Blue
#2242C7
ΔE00 5.37
Denim Blue
#3B5B92
ΔE00 5.90
Cobalt (survey)
#1E488F
ΔE00 6.16
Dusk Blue
#26538D
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3051B5 #B59430
analogous
#3093B5 #3051B5 #5230B5
triadic
#3051B5 #B53051 #51B530
tetradic
#3051B5 #B53093 #B59430 #30B552
square
#3051B5 #B53093 #B59430 #30B552
split-complementary
#3051B5 #B55230 #93B530
monochromatic
#162654 #233B85 #3051B5 #5171D1 #8298DE
Accessibility & contrast
On white
7.07
#3051B5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#3051B5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3051B5
7.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3051B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3051B5 | 1.00 | 7.07 | 2.97 | 7.07 |
| #FFFFFF | 7.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FB8
Deuteranopia (green-blind)
#0053B3
Tritanopia (blue-blind)
#00697B
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #3051b5; /* rgb */ color: rgb(48, 81, 181); /* oklch */ color: oklch(47.0% 0.163 266.3);
Tailwind
colors: {
custom: {
50: '#7b81cc',
500: '#3051b5',
950: '#000000',
},
}SCSS
$custom: #3051b5; $custom-light: #7b81cc; $custom-dark: #000000;
JSON
{
"hex": "#3051b5",
"rgb": {
"r": 48,
"g": 81,
"b": 181
},
"hsl": {
"h": 225.113,
"s": 58.079,
"l": 44.902
},
"oklch": {
"l": 0.47037,
"c": 0.1633,
"h": 266.3
},
"luminance": 0.09849
}Semantic roles & 50–950 ramp
primary
#3051B5
secondary
#C7B47A
accent
#BB46E1
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A13
muted
#7C7C82