#3148E2#3148E2
#3148E2 is a mid, highly saturated blue. Relative luminance 0.108; OKLCH L 49.4% C 0.232 H 268.8°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).
Color values
| HEX | #3148E2 |
|---|---|
| RGB | rgb(49, 72, 226) |
| HSL | hsl(232, 75%, 54%) |
| HSV | hsv(232, 78%, 89%) |
| CMYK | cmyk(78.3%, 68.1%, 0%, 11.4%) |
| CIE-LAB | lab(39.20, 45.46, -79.95) |
| CIE-LCH | lch(39.20, 91.97, 299.62°) |
| OKLab | oklab(49.42% -0.0049 -0.2316) |
| OKLCH | oklch(49.42% 0.232 268.8) |
| XYZ | xyz(17.3067, 10.7767, 73.1047) |
| Luminance | 0.1078 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue (survey)
#0343DF
ΔE00 2.41
Vibrant Blue
#0339F8
ΔE00 3.95
Blue Blue
#2242C7
ΔE00 4.30
Warm Blue
#4B57DB
ΔE00 4.58
Electric Blue
#0652FF
ΔE00 4.61
Vivid Blue
#152EFF
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3148E2 #E2CB31
analogous
#31A1E2 #3148E2 #7331E2
triadic
#3148E2 #E23148 #48E231
tetradic
#3148E2 #E231A1 #E2CB31 #31E273
square
#3148E2 #E231A1 #E2CB31 #31E273
split-complementary
#3148E2 #E27331 #A1E231
monochromatic
#132286 #1A2FBB #3148E2 #6778EA #9CA7F1
Accessibility & contrast
On white
6.65
#3148E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.16
#3148E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3148E2
6.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3148E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3148E2 | 1.00 | 6.65 | 3.16 | 6.65 |
| #FFFFFF | 6.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065E7
Deuteranopia (green-blind)
#0054DF
Tritanopia (blue-blind)
#00738F
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #3148e2; /* rgb */ color: rgb(49, 72, 226); /* oklch */ color: oklch(49.4% 0.232 268.8);
Tailwind
colors: {
custom: {
50: '#867bec',
500: '#3148e2',
950: '#000000',
},
}SCSS
$custom: #3148e2; $custom-light: #867bec; $custom-dark: #000000;
JSON
{
"hex": "#3148e2",
"rgb": {
"r": 49,
"g": 72,
"b": 226
},
"hsl": {
"h": 232.203,
"s": 75.319,
"l": 53.922
},
"oklch": {
"l": 0.49424,
"c": 0.23161,
"h": 268.8
},
"luminance": 0.10779
}Semantic roles & 50–950 ramp
primary
#3148E2
secondary
#DDD392
accent
#D936F2
background
#F9F7FE
surface
#F1EEFD
border
#CBC9D5
text
#0D0916
muted
#7E7B84