#3045B9#3045B9
#3045B9 is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.1% C 0.183 H 269.5°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).
Color values
| HEX | #3045B9 |
|---|---|
| RGB | rgb(48, 69, 185) |
| HSL | hsl(231, 59%, 46%) |
| HSV | hsv(231, 74%, 73%) |
| CMYK | cmyk(74.1%, 62.7%, 0%, 27.5%) |
| CIE-LAB | lab(34.77, 32.68, -63.47) |
| CIE-LCH | lch(34.77, 71.39, 297.24°) |
| OKLab | oklab(45.05% -0.0017 -0.1834) |
| OKLCH | oklch(45.05% 0.183 269.5) |
| XYZ | xyz(12.1010, 8.3861, 46.8705) |
| Luminance | 0.0839 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.04
Sapphire (survey)
#2138AB
ΔE00 4.19
Ocean Blue
#4F42B5
ΔE00 4.53
Blue (survey)
#0343DF
ΔE00 4.65
Cobalt
#0047AB
ΔE00 4.70
Sapphire
#0F52BA
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3045B9 #B9A430
analogous
#3089B9 #3045B9 #5F30B9
triadic
#3045B9 #B93045 #45B930
tetradic
#3045B9 #B93089 #B9A430 #30B95F
square
#3045B9 #B93089 #B9A430 #30B95F
split-complementary
#3045B9 #B95F30 #89B930
monochromatic
#172158 #233388 #3045B9 #5467D3 #8492DF
Accessibility & contrast
On white
7.84
#3045B9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#3045B9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3045B9
7.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3045B9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3045B9 | 1.00 | 7.84 | 2.68 | 7.84 |
| #FFFFFF | 7.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058BD
Deuteranopia (green-blind)
#004BB7
Tritanopia (blue-blind)
#006378
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #3045b9; /* rgb */ color: rgb(48, 69, 185); /* oklch */ color: oklch(45.1% 0.183 269.5);
Tailwind
colors: {
custom: {
50: '#7c78cf',
500: '#3045b9',
950: '#000000',
},
}SCSS
$custom: #3045b9; $custom-light: #7c78cf; $custom-dark: #000000;
JSON
{
"hex": "#3045b9",
"rgb": {
"r": 48,
"g": 69,
"b": 185
},
"hsl": {
"h": 230.803,
"s": 58.798,
"l": 45.686
},
"oklch": {
"l": 0.45052,
"c": 0.18342,
"h": 269.5
},
"luminance": 0.08387
}Semantic roles & 50–950 ramp
primary
#3045B9
secondary
#C9BD7C
accent
#CA46E2
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82