#3045B5#3045B5
#3045B5 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.7% C 0.178 H 269.5°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).
Color values
| HEX | #3045B5 |
|---|---|
| RGB | rgb(48, 69, 181) |
| HSL | hsl(231, 58%, 45%) |
| HSV | hsv(231, 73%, 71%) |
| CMYK | cmyk(73.5%, 61.9%, 0%, 29%) |
| CIE-LAB | lab(34.44, 31.22, -61.66) |
| CIE-LCH | lch(34.44, 69.11, 296.85°) |
| OKLab | oklab(44.7% -0.0016 -0.1781) |
| OKLCH | oklch(44.7% 0.178 269.5) |
| XYZ | xyz(11.6847, 8.2196, 44.6778) |
| Luminance | 0.0822 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.52
Sapphire (survey)
#2138AB
ΔE00 3.99
Cobalt
#0047AB
ΔE00 4.37
Ocean Blue
#4F42B5
ΔE00 4.67
Blue (survey)
#0343DF
ΔE00 5.18
Sapphire
#0F52BA
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3045B5 #B5A030
analogous
#3088B5 #3045B5 #5D30B5
triadic
#3045B5 #B53045 #45B530
tetradic
#3045B5 #B53088 #B5A030 #30B55D
square
#3045B5 #B53088 #B5A030 #30B55D
split-complementary
#3045B5 #B55D30 #88B530
monochromatic
#162054 #233385 #3045B5 #5165D1 #8290DE
Accessibility & contrast
On white
7.94
#3045B5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#3045B5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3045B5
7.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3045B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3045B5 | 1.00 | 7.94 | 2.64 | 7.94 |
| #FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057B9
Deuteranopia (green-blind)
#004BB3
Tritanopia (blue-blind)
#006276
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #3045b5; /* rgb */ color: rgb(48, 69, 181); /* oklch */ color: oklch(44.7% 0.178 269.5);
Tailwind
colors: {
custom: {
50: '#7b78cc',
500: '#3045b5',
950: '#000000',
},
}SCSS
$custom: #3045b5; $custom-light: #7b78cc; $custom-dark: #000000;
JSON
{
"hex": "#3045b5",
"rgb": {
"r": 48,
"g": 69,
"b": 181
},
"hsl": {
"h": 230.526,
"s": 58.079,
"l": 44.902
},
"oklch": {
"l": 0.44698,
"c": 0.17811,
"h": 269.5
},
"luminance": 0.08221
}Semantic roles & 50–950 ramp
primary
#3045B5
secondary
#C7BB7A
accent
#C946E1
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82