#3045B2#3045B2
#3045B2 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.4% C 0.174 H 269.5°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).
Color values
| HEX | #3045B2 |
|---|---|
| RGB | rgb(48, 69, 178) |
| HSL | hsl(230, 58%, 44%) |
| HSV | hsv(230, 73%, 70%) |
| CMYK | cmyk(73%, 61.2%, 0%, 30.2%) |
| CIE-LAB | lab(34.19, 30.12, -60.29) |
| CIE-LCH | lch(34.19, 67.40, 296.55°) |
| OKLab | oklab(44.44% -0.0015 -0.1741) |
| OKLCH | oklch(44.44% 0.174 269.5) |
| XYZ | xyz(11.3802, 8.0978, 43.0741) |
| Luminance | 0.0810 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.91
Sapphire (survey)
#2138AB
ΔE00 3.90
Cobalt
#0047AB
ΔE00 4.15
Ocean Blue
#4F42B5
ΔE00 4.81
Blueberry
#464196
ΔE00 5.57
Blue (survey)
#0343DF
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3045B2 #B29D30
analogous
#3086B2 #3045B2 #5C30B2
triadic
#3045B2 #B23045 #45B230
tetradic
#3045B2 #B23086 #B29D30 #30B25C
square
#3045B2 #B23086 #B29D30 #30B25C
split-complementary
#3045B2 #B25C30 #86B230
monochromatic
#162052 #233282 #3045B2 #5064D0 #808FDD
Accessibility & contrast
On white
8.02
#3045B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#3045B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3045B2
8.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3045B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3045B2 | 1.00 | 8.02 | 2.62 | 8.02 |
| #FFFFFF | 8.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057B6
Deuteranopia (green-blind)
#004AB0
Tritanopia (blue-blind)
#006175
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #3045b2; /* rgb */ color: rgb(48, 69, 178); /* oklch */ color: oklch(44.4% 0.174 269.5);
Tailwind
colors: {
custom: {
50: '#7b78ca',
500: '#3045b2',
950: '#000000',
},
}SCSS
$custom: #3045b2; $custom-light: #7b78ca; $custom-dark: #000000;
JSON
{
"hex": "#3045b2",
"rgb": {
"r": 48,
"g": 69,
"b": 178
},
"hsl": {
"h": 230.308,
"s": 57.522,
"l": 44.314
},
"oklch": {
"l": 0.44435,
"c": 0.1741,
"h": 269.5
},
"luminance": 0.08099
}Semantic roles & 50–950 ramp
primary
#3045B2
secondary
#C6B978
accent
#C847E1
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82