#3241B5#3241B5
#3241B5 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 44.1% C 0.182 H 271.0°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).
Color values
| HEX | #3241B5 |
|---|---|
| RGB | rgb(50, 65, 181) |
| HSL | hsl(233, 57%, 45%) |
| HSV | hsv(233, 72%, 71%) |
| CMYK | cmyk(72.4%, 64.1%, 0%, 29%) |
| CIE-LAB | lab(33.55, 34.03, -63.11) |
| CIE-LCH | lch(33.55, 71.70, 298.34°) |
| OKLab | oklab(44.07% 0.0032 -0.1823) |
| OKLCH | oklch(44.07% 0.182 271) |
| XYZ | xyz(11.5433, 7.7937, 44.6031) |
| Luminance | 0.0780 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.45
Sapphire (survey)
#2138AB
ΔE00 3.08
Ocean Blue
#4F42B5
ΔE00 3.99
Blue (survey)
#0343DF
ΔE00 5.24
Cobalt
#0047AB
ΔE00 5.32
Blueberry
#464196
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3241B5 #B5A632
analogous
#3282B5 #3241B5 #6532B5
triadic
#3241B5 #B53241 #41B532
tetradic
#3241B5 #B53282 #B5A632 #32B565
square
#3241B5 #B53282 #B5A632 #32B565
split-complementary
#3241B5 #B56532 #82B532
monochromatic
#181F55 #253085 #3241B5 #5462D0 #848EDD
Accessibility & contrast
On white
8.21
#3241B5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#3241B5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3241B5
8.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3241B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3241B5 | 1.00 | 8.21 | 2.56 | 8.21 |
| #FFFFFF | 8.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.21 | 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: #3241b5; /* rgb */ color: rgb(50, 65, 181); /* oklch */ color: oklch(44.1% 0.182 271.0);
Tailwind
colors: {
custom: {
50: '#7c75cc',
500: '#3241b5',
950: '#000000',
},
}SCSS
$custom: #3241b5; $custom-light: #7c75cc; $custom-dark: #000000;
JSON
{
"hex": "#3241b5",
"rgb": {
"r": 50,
"g": 65,
"b": 181
},
"hsl": {
"h": 233.13,
"s": 56.71,
"l": 45.294
},
"oklch": {
"l": 0.44073,
"c": 0.18236,
"h": 271
},
"luminance": 0.07795
}Semantic roles & 50–950 ramp
primary
#3241B5
secondary
#C7BE7C
accent
#CF48E0
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82