#3152CA#3152CA
#3152CA is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.0% C 0.190 H 267.1°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).
Color values
| HEX | #3152CA |
|---|---|
| RGB | rgb(49, 82, 202) |
| HSL | hsl(227, 61%, 49%) |
| HSV | hsv(227, 76%, 79%) |
| CMYK | cmyk(75.7%, 59.4%, 0%, 20.8%) |
| CIE-LAB | lab(39.50, 30.64, -65.69) |
| CIE-LCH | lch(39.50, 72.48, 295.01°) |
| OKLab | oklab(49% -0.0095 -0.1897) |
| OKLCH | oklch(49% 0.19 267.1) |
| XYZ | xyz(14.9409, 10.9502, 57.1918) |
| Luminance | 0.1095 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.03
Warm Blue
#4B57DB
ΔE00 4.26
Blue Blue
#2242C7
ΔE00 4.81
Blue (survey)
#0343DF
ΔE00 4.93
Azul
#1D5DEC
ΔE00 5.44
Electric Blue
#0652FF
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3152CA #CAA931
analogous
#319FCA #3152CA #5D31CA
triadic
#3152CA #CA3152 #52CA31
tetradic
#3152CA #CA319F #CAA931 #31CA5D
square
#3152CA #CA319F #CAA931 #31CA5D
split-complementary
#3152CA #CA5D31 #9FCA31
monochromatic
#192A67 #253E99 #3152CA #607AD8 #91A3E4
Accessibility & contrast
On white
6.58
#3152CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#3152CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3152CA
6.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3152CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3152CA | 1.00 | 6.58 | 3.19 | 6.58 |
| #FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064CE
Deuteranopia (green-blind)
#0056C8
Tritanopia (blue-blind)
#007086
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #3152ca; /* rgb */ color: rgb(49, 82, 202); /* oklch */ color: oklch(49.0% 0.190 267.1);
Tailwind
colors: {
custom: {
50: '#8082db',
500: '#3152ca',
950: '#000000',
},
}SCSS
$custom: #3152ca; $custom-light: #8082db; $custom-dark: #000000;
JSON
{
"hex": "#3152ca",
"rgb": {
"r": 49,
"g": 82,
"b": 202
},
"hsl": {
"h": 227.059,
"s": 60.956,
"l": 49.216
},
"oklch": {
"l": 0.49002,
"c": 0.18998,
"h": 267.1
},
"luminance": 0.10952
}Semantic roles & 50–950 ramp
primary
#3152CA
secondary
#CFC088
accent
#C144E4
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83