#3056B2#3056B2
#3056B2 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.8% C 0.153 H 264.4°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).
Color values
| HEX | #3056B2 |
|---|---|
| RGB | rgb(48, 86, 178) |
| HSL | hsl(222, 58%, 44%) |
| HSV | hsv(222, 73%, 70%) |
| CMYK | cmyk(73%, 51.7%, 0%, 30.2%) |
| CIE-LAB | lab(38.72, 18.95, -52.93) |
| CIE-LCH | lch(38.72, 56.22, 289.70°) |
| OKLab | oklab(47.84% -0.0148 -0.1522) |
| OKLCH | oklch(47.84% 0.153 264.4) |
| XYZ | xyz(12.5798, 10.4970, 43.4740) |
| Luminance | 0.1050 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.31
Denim Blue
#3B5B92
ΔE00 4.56
Denim
#1560BD
ΔE00 4.79
Cobalt
#0047AB
ΔE00 5.09
Dusk Blue
#26538D
ΔE00 5.39
Dusky Blue
#475F94
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3056B2 #B28C30
analogous
#3097B2 #3056B2 #4B30B2
triadic
#3056B2 #B23056 #56B230
tetradic
#3056B2 #B23097 #B28C30 #30B24B
square
#3056B2 #B23097 #B28C30 #30B24B
split-complementary
#3056B2 #B24B30 #97B230
monochromatic
#162752 #233F82 #3056B2 #5075D0 #809BDD
Accessibility & contrast
On white
6.78
#3056B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#3056B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3056B2
6.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3056B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3056B2 | 1.00 | 6.78 | 3.10 | 6.78 |
| #FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B61B5
Deuteranopia (green-blind)
#0056B0
Tritanopia (blue-blind)
#006C7B
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #3056b2; /* rgb */ color: rgb(48, 86, 178); /* oklch */ color: oklch(47.8% 0.153 264.4);
Tailwind
colors: {
custom: {
50: '#7a85ca',
500: '#3056b2',
950: '#000000',
},
}SCSS
$custom: #3056b2; $custom-light: #7a85ca; $custom-dark: #000000;
JSON
{
"hex": "#3056b2",
"rgb": {
"r": 48,
"g": 86,
"b": 178
},
"hsl": {
"h": 222.462,
"s": 57.522,
"l": 44.314
},
"oklch": {
"l": 0.4784,
"c": 0.15291,
"h": 264.4
},
"luminance": 0.10498
}Semantic roles & 50–950 ramp
primary
#3056B2
secondary
#C6AF78
accent
#B447E1
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0A0B13
muted
#7C7C82