#3061B8#3061B8
#3061B8 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 50.6% C 0.148 H 260.9°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).
Color values
| HEX | #3061B8 |
|---|---|
| RGB | rgb(48, 97, 184) |
| HSL | hsl(218, 59%, 45%) |
| HSV | hsv(218, 74%, 72%) |
| CMYK | cmyk(73.9%, 47.3%, 0%, 27.8%) |
| CIE-LAB | lab(42.21, 14.04, -50.82) |
| CIE-LCH | lch(42.21, 52.72, 285.44°) |
| OKLab | oklab(50.64% -0.0234 -0.1458) |
| OKLCH | oklch(50.64% 0.148 260.9) |
| XYZ | xyz(14.1422, 12.6369, 47.0319) |
| Luminance | 0.1264 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 1.93
French Blue
#436BAD
ΔE00 3.72
Mid Blue
#276AB3
ΔE00 4.28
Sapphire
#0F52BA
ΔE00 4.98
Denim Blue
#3B5B92
ΔE00 5.11
Denim (survey)
#3B638C
ΔE00 5.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3061B8 #B88730
analogous
#30A5B8 #3061B8 #4330B8
triadic
#3061B8 #B83061 #61B830
tetradic
#3061B8 #B830A5 #B88730 #30B843
square
#3061B8 #B830A5 #B88730 #30B843
split-complementary
#3061B8 #B84330 #A5B830
monochromatic
#172E57 #234787 #3061B8 #5381D2 #84A4DF
Accessibility & contrast
On white
5.95
#3061B8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#3061B8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3061B8
5.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3061B8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3061B8 | 1.00 | 5.95 | 3.53 | 5.95 |
| #FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#326ABB
Deuteranopia (green-blind)
#0E5EB6
Tritanopia (blue-blind)
#007683
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #3061b8; /* rgb */ color: rgb(48, 97, 184); /* oklch */ color: oklch(50.6% 0.148 260.9);
Tailwind
colors: {
custom: {
50: '#7a8dce',
500: '#3061b8',
950: '#000000',
},
}SCSS
$custom: #3061b8; $custom-light: #7a8dce; $custom-dark: #000000;
JSON
{
"hex": "#3061b8",
"rgb": {
"r": 48,
"g": 97,
"b": 184
},
"hsl": {
"h": 218.382,
"s": 58.621,
"l": 45.49
},
"oklch": {
"l": 0.50637,
"c": 0.14766,
"h": 260.9
},
"luminance": 0.12638
}Semantic roles & 50–950 ramp
primary
#3061B8
secondary
#C8AD7C
accent
#AA46E2
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82