#3152BF#3152BF
#3152BF is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.1% C 0.175 H 266.8°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).
Color values
| HEX | #3152BF |
|---|---|
| RGB | rgb(49, 82, 191) |
| HSL | hsl(226, 59%, 47%) |
| HSV | hsv(226, 74%, 75%) |
| CMYK | cmyk(74.3%, 57.1%, 0%, 25.1%) |
| CIE-LAB | lab(38.63, 26.57, -60.69) |
| CIE-LCH | lch(38.63, 66.25, 293.64°) |
| OKLab | oklab(48.09% -0.0098 -0.1751) |
| OKLCH | oklch(48.09% 0.175 266.8) |
| XYZ | xyz(13.6846, 10.4477, 50.5755) |
| Luminance | 0.1045 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.01
Blue Blue
#2242C7
ΔE00 5.03
Cobalt
#0047AB
ΔE00 5.15
Warm Blue
#4B57DB
ΔE00 5.50
Blue (survey)
#0343DF
ΔE00 5.84
Denim
#1560BD
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3152BF #BF9E31
analogous
#3199BF #3152BF #5731BF
triadic
#3152BF #BF3152 #52BF31
tetradic
#3152BF #BF3199 #BF9E31 #31BF57
square
#3152BF #BF3199 #BF9E31 #31BF57
split-complementary
#3152BF #BF5731 #99BF31
monochromatic
#18285E #253D8E #3152BF #5976D4 #8A9EE1
Accessibility & contrast
On white
6.80
#3152BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#3152BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3152BF
6.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3152BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3152BF | 1.00 | 6.80 | 3.09 | 6.80 |
| #FFFFFF | 6.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C3
Deuteranopia (green-blind)
#0055BD
Tritanopia (blue-blind)
#006D80
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #3152bf; /* rgb */ color: rgb(49, 82, 191); /* oklch */ color: oklch(48.1% 0.175 266.8);
Tailwind
colors: {
custom: {
50: '#7d82d3',
500: '#3152bf',
950: '#000000',
},
}SCSS
$custom: #3152bf; $custom-light: #7d82d3; $custom-dark: #000000;
JSON
{
"hex": "#3152bf",
"rgb": {
"r": 49,
"g": 82,
"b": 191
},
"hsl": {
"h": 226.056,
"s": 59.167,
"l": 47.059
},
"oklch": {
"l": 0.48088,
"c": 0.17535,
"h": 266.8
},
"luminance": 0.10449
}Semantic roles & 50–950 ramp
primary
#3152BF
secondary
#CBBA81
accent
#BE45E2
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83