#3041B1#3041B1
#3041B1 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.6% C 0.178 H 270.4°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).
Color values
| HEX | #3041B1 |
|---|---|
| RGB | rgb(48, 65, 177) |
| HSL | hsl(232, 57%, 44%) |
| HSV | hsv(232, 73%, 69%) |
| CMYK | cmyk(72.9%, 63.3%, 0%, 30.6%) |
| CIE-LAB | lab(33.10, 32.35, -61.48) |
| CIE-LCH | lch(33.10, 69.47, 297.75°) |
| OKLab | oklab(43.6% 0.0013 -0.1776) |
| OKLCH | oklch(43.6% 0.178 270.4) |
| XYZ | xyz(11.0423, 7.5822, 42.4680) |
| Luminance | 0.0758 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.80
Blue Blue
#2242C7
ΔE00 2.90
Ocean Blue
#4F42B5
ΔE00 4.39
Cobalt
#0047AB
ΔE00 4.88
Blueberry
#464196
ΔE00 5.21
Blue (survey)
#0343DF
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3041B1 #B1A030
analogous
#3082B1 #3041B1 #6030B1
triadic
#3041B1 #B13041 #41B130
tetradic
#3041B1 #B13082 #B1A030 #30B160
square
#3041B1 #B13082 #B1A030 #30B160
split-complementary
#3041B1 #B16030 #82B130
monochromatic
#161E51 #232F81 #3041B1 #4F60CF #7F8BDC
Accessibility & contrast
On white
8.34
#3041B1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.52
#3041B1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3041B1
8.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3041B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3041B1 | 1.00 | 8.34 | 2.52 | 8.34 |
| #FFFFFF | 8.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054B5
Deuteranopia (green-blind)
#0048AF
Tritanopia (blue-blind)
#005E73
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #3041b1; /* rgb */ color: rgb(48, 65, 177); /* oklch */ color: oklch(43.6% 0.178 270.4);
Tailwind
colors: {
custom: {
50: '#7b75c9',
500: '#3041b1',
950: '#000000',
},
}SCSS
$custom: #3041b1; $custom-light: #7b75c9; $custom-dark: #000000;
JSON
{
"hex": "#3041b1",
"rgb": {
"r": 48,
"g": 65,
"b": 177
},
"hsl": {
"h": 232.093,
"s": 57.333,
"l": 44.118
},
"oklch": {
"l": 0.43604,
"c": 0.1776,
"h": 270.4
},
"luminance": 0.07583
}Semantic roles & 50–950 ramp
primary
#3041B1
secondary
#C5BB78
accent
#CC47E1
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82