#3045AB#3045AB
#3045AB is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.8% C 0.165 H 269.5°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).
Color values
| HEX | #3045AB |
|---|---|
| RGB | rgb(48, 69, 171) |
| HSL | hsl(230, 56%, 43%) |
| HSV | hsv(230, 72%, 67%) |
| CMYK | cmyk(71.9%, 59.6%, 0%, 32.9%) |
| CIE-LAB | lab(33.61, 27.54, -57.06) |
| CIE-LCH | lch(33.61, 63.36, 295.76°) |
| OKLab | oklab(43.83% -0.0015 -0.1646) |
| OKLCH | oklch(43.83% 0.165 269.5) |
| XYZ | xyz(10.6952, 7.8238, 39.4667) |
| Luminance | 0.0783 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.77
Blue Blue
#2242C7
ΔE00 3.86
Sapphire (survey)
#2138AB
ΔE00 3.88
Blueberry
#464196
ΔE00 5.05
Ocean Blue
#4F42B5
ΔE00 5.28
Sapphire
#0F52BA
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3045AB #AB9630
analogous
#3082AB #3045AB #5830AB
triadic
#3045AB #AB3045 #45AB30
tetradic
#3045AB #AB3082 #AB9630 #30AB58
square
#3045AB #AB3082 #AB9630 #30AB58
split-complementary
#3045AB #AB5830 #82AB30
monochromatic
#151E4B #23327B #3045AB #4C62CD #7B8CDA
Accessibility & contrast
On white
8.19
#3045AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#3045AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3045AB
8.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3045AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3045AB | 1.00 | 8.19 | 2.57 | 8.19 |
| #FFFFFF | 8.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055AE
Deuteranopia (green-blind)
#004AA9
Tritanopia (blue-blind)
#005F71
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #3045ab; /* rgb */ color: rgb(48, 69, 171); /* oklch */ color: oklch(43.8% 0.165 269.5);
Tailwind
colors: {
custom: {
50: '#7978c5',
500: '#3045ab',
950: '#000000',
},
}SCSS
$custom: #3045ab; $custom-light: #7978c5; $custom-dark: #000000;
JSON
{
"hex": "#3045ab",
"rgb": {
"r": 48,
"g": 69,
"b": 171
},
"hsl": {
"h": 229.756,
"s": 56.164,
"l": 42.941
},
"oklch": {
"l": 0.43831,
"c": 0.16461,
"h": 269.5
},
"luminance": 0.07825
}Semantic roles & 50–950 ramp
primary
#3045AB
secondary
#C3B574
accent
#C648DF
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0913
muted
#7C7B82