#3045B1#3045B1
#3045B1 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.3% C 0.173 H 269.5°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).
Color values
| HEX | #3045B1 |
|---|---|
| RGB | rgb(48, 69, 177) |
| HSL | hsl(230, 57%, 44%) |
| HSV | hsv(230, 73%, 69%) |
| CMYK | cmyk(72.9%, 61%, 0%, 30.6%) |
| CIE-LAB | lab(34.10, 29.75, -59.83) |
| CIE-LCH | lch(34.10, 66.82, 296.44°) |
| OKLab | oklab(44.35% -0.0015 -0.1727) |
| OKLCH | oklch(44.35% 0.173 269.5) |
| XYZ | xyz(11.2801, 8.0578, 42.5473) |
| Luminance | 0.0806 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.04
Sapphire (survey)
#2138AB
ΔE00 3.88
Cobalt
#0047AB
ΔE00 4.08
Ocean Blue
#4F42B5
ΔE00 4.87
Blueberry
#464196
ΔE00 5.48
Sapphire
#0F52BA
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3045B1 #B19C30
analogous
#3085B1 #3045B1 #5C30B1
triadic
#3045B1 #B13045 #45B130
tetradic
#3045B1 #B13085 #B19C30 #30B15C
square
#3045B1 #B13085 #B19C30 #30B15C
split-complementary
#3045B1 #B15C30 #85B130
monochromatic
#161F51 #233281 #3045B1 #4F64CF #7F8EDC
Accessibility & contrast
On white
8.04
#3045B1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#3045B1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3045B1
8.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3045B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3045B1 | 1.00 | 8.04 | 2.61 | 8.04 |
| #FFFFFF | 8.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056B5
Deuteranopia (green-blind)
#004AAF
Tritanopia (blue-blind)
#006074
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #3045b1; /* rgb */ color: rgb(48, 69, 177); /* oklch */ color: oklch(44.3% 0.173 269.5);
Tailwind
colors: {
custom: {
50: '#7a78c9',
500: '#3045b1',
950: '#000000',
},
}SCSS
$custom: #3045b1; $custom-light: #7a78c9; $custom-dark: #000000;
JSON
{
"hex": "#3045b1",
"rgb": {
"r": 48,
"g": 69,
"b": 177
},
"hsl": {
"h": 230.233,
"s": 57.333,
"l": 44.118
},
"oklch": {
"l": 0.44348,
"c": 0.17275,
"h": 269.5
},
"luminance": 0.08059
}Semantic roles & 50–950 ramp
primary
#3045B1
secondary
#C5B978
accent
#C847E1
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82