#3051BA#3051BA
#3051BA is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.4% C 0.170 H 266.6°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).
Color values
| HEX | #3051BA |
|---|---|
| RGB | rgb(48, 81, 186) |
| HSL | hsl(226, 59%, 46%) |
| HSV | hsv(226, 74%, 73%) |
| CMYK | cmyk(74.2%, 56.5%, 0%, 27.1%) |
| CIE-LAB | lab(37.94, 25.24, -58.89) |
| CIE-LCH | lch(37.94, 64.07, 293.20°) |
| OKLab | oklab(47.44% -0.0102 -0.1698) |
| OKLCH | oklch(47.44% 0.17 266.6) |
| XYZ | xyz(13.0212, 10.0570, 47.6998) |
| Luminance | 0.1006 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.73
Cobalt
#0047AB
ΔE00 4.52
Blue Blue
#2242C7
ΔE00 5.00
Blue (survey)
#0343DF
ΔE00 6.13
Warm Blue
#4B57DB
ΔE00 6.19
Denim Blue
#3B5B92
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3051BA #BA9930
analogous
#3096BA #3051BA #5430BA
triadic
#3051BA #BA3051 #51BA30
tetradic
#3051BA #BA3096 #BA9930 #30BA54
square
#3051BA #BA3096 #BA9930 #30BA54
split-complementary
#3051BA #BA5430 #96BA30
monochromatic
#172759 #233C89 #3051BA #5473D3 #859BDF
Accessibility & contrast
On white
6.97
#3051BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.01
#3051BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3051BA
6.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3051BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3051BA | 1.00 | 6.97 | 3.01 | 6.97 |
| #FFFFFF | 6.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060BE
Deuteranopia (green-blind)
#0053B8
Tritanopia (blue-blind)
#006B7D
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #3051ba; /* rgb */ color: rgb(48, 81, 186); /* oklch */ color: oklch(47.4% 0.170 266.6);
Tailwind
colors: {
custom: {
50: '#7c81d0',
500: '#3051ba',
950: '#000000',
},
}SCSS
$custom: #3051ba; $custom-light: #7c81d0; $custom-dark: #000000;
JSON
{
"hex": "#3051ba",
"rgb": {
"r": 48,
"g": 81,
"b": 186
},
"hsl": {
"h": 225.652,
"s": 58.974,
"l": 45.882
},
"oklch": {
"l": 0.47439,
"c": 0.17012,
"h": 266.6
},
"luminance": 0.10058
}Semantic roles & 50–950 ramp
primary
#3051BA
secondary
#C9B77D
accent
#BD46E2
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82