#3056BA#3056BA
#3056BA is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.5% C 0.164 H 265.1°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).
Color values
| HEX | #3056BA |
|---|---|
| RGB | rgb(48, 86, 186) |
| HSL | hsl(223, 59%, 46%) |
| HSV | hsv(223, 74%, 73%) |
| CMYK | cmyk(74.2%, 53.8%, 0%, 27.1%) |
| CIE-LAB | lab(39.29, 21.96, -56.71) |
| CIE-LCH | lch(39.29, 60.81, 291.17°) |
| OKLab | oklab(48.45% -0.014 -0.1633) |
| OKLCH | oklch(48.45% 0.164 265.1) |
| XYZ | xyz(13.4065, 10.8277, 47.8282) |
| Luminance | 0.1083 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.40
Denim
#1560BD
ΔE00 4.94
Cobalt
#0047AB
ΔE00 5.44
Denim Blue
#3B5B92
ΔE00 5.50
Warm Blue
#4B57DB
ΔE00 6.31
Dusky Blue
#475F94
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3056BA #BA9430
analogous
#309BBA #3056BA #4F30BA
triadic
#3056BA #BA3056 #56BA30
tetradic
#3056BA #BA309B #BA9430 #30BA4F
square
#3056BA #BA309B #BA9430 #30BA4F
split-complementary
#3056BA #BA4F30 #9BBA30
monochromatic
#172959 #234089 #3056BA #5477D3 #859EDF
Accessibility & contrast
On white
6.63
#3056BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#3056BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3056BA
6.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3056BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3056BA | 1.00 | 6.63 | 3.17 | 6.63 |
| #FFFFFF | 6.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0663BE
Deuteranopia (green-blind)
#0056B8
Tritanopia (blue-blind)
#006E7F
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #3056ba; /* rgb */ color: rgb(48, 86, 186); /* oklch */ color: oklch(48.5% 0.164 265.1);
Tailwind
colors: {
custom: {
50: '#7b85cf',
500: '#3056ba',
950: '#000000',
},
}SCSS
$custom: #3056ba; $custom-light: #7b85cf; $custom-dark: #000000;
JSON
{
"hex": "#3056ba",
"rgb": {
"r": 48,
"g": 86,
"b": 186
},
"hsl": {
"h": 223.478,
"s": 58.974,
"l": 45.882
},
"oklch": {
"l": 0.48452,
"c": 0.16391,
"h": 265.1
},
"luminance": 0.10829
}Semantic roles & 50–950 ramp
primary
#3056BA
secondary
#C9B47D
accent
#B746E2
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82