#3041B5#3041B5
#3041B5 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 44.0% C 0.183 H 270.4°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).
Color values
| HEX | #3041B5 |
|---|---|
| RGB | rgb(48, 65, 181) |
| HSL | hsl(232, 58%, 45%) |
| HSV | hsv(232, 73%, 71%) |
| CMYK | cmyk(73.5%, 64.1%, 0%, 29%) |
| CIE-LAB | lab(33.44, 33.80, -63.28) |
| CIE-LCH | lch(33.44, 71.74, 298.11°) |
| OKLab | oklab(43.97% 0.0011 -0.1829) |
| OKLCH | oklch(43.97% 0.183 270.4) |
| XYZ | xyz(11.4469, 7.7440, 44.5986) |
| Luminance | 0.0775 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.39
Sapphire (survey)
#2138AB
ΔE00 3.01
Ocean Blue
#4F42B5
ΔE00 4.21
Cobalt
#0047AB
ΔE00 5.13
Blue (survey)
#0343DF
ΔE00 5.22
Blueberry
#464196
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3041B5 #B5A430
analogous
#3083B5 #3041B5 #6230B5
triadic
#3041B5 #B53041 #41B530
tetradic
#3041B5 #B53083 #B5A430 #30B562
square
#3041B5 #B53083 #B5A430 #30B562
split-complementary
#3041B5 #B56230 #83B530
monochromatic
#161E54 #233085 #3041B5 #5162D1 #828DDE
Accessibility & contrast
On white
8.24
#3041B5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#3041B5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3041B5
8.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3041B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3041B5 | 1.00 | 8.24 | 2.55 | 8.24 |
| #FFFFFF | 8.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055B9
Deuteranopia (green-blind)
#0049B3
Tritanopia (blue-blind)
#005F75
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #3041b5; /* rgb */ color: rgb(48, 65, 181); /* oklch */ color: oklch(44.0% 0.183 270.4);
Tailwind
colors: {
custom: {
50: '#7c75cc',
500: '#3041b5',
950: '#000000',
},
}SCSS
$custom: #3041b5; $custom-light: #7c75cc; $custom-dark: #000000;
JSON
{
"hex": "#3041b5",
"rgb": {
"r": 48,
"g": 65,
"b": 181
},
"hsl": {
"h": 232.331,
"s": 58.079,
"l": 44.902
},
"oklch": {
"l": 0.43966,
"c": 0.18289,
"h": 270.4
},
"luminance": 0.07745
}Semantic roles & 50–950 ramp
primary
#3041B5
secondary
#C7BD7A
accent
#CE46E1
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82