#3152B7#3152B7
#3152B7 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.4% C 0.164 H 266.4°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).
Color values
| HEX | #3152B7 |
|---|---|
| RGB | rgb(49, 82, 183) |
| HSL | hsl(225, 58%, 45%) |
| HSV | hsv(225, 73%, 72%) |
| CMYK | cmyk(73.2%, 55.2%, 0%, 28.2%) |
| CIE-LAB | lab(38.03, 23.59, -56.99) |
| CIE-LCH | lch(38.03, 61.67, 292.48°) |
| OKLab | oklab(47.44% -0.0103 -0.1642) |
| OKLCH | oklch(47.44% 0.164 266.4) |
| XYZ | xyz(12.8282, 10.1051, 46.0650) |
| Luminance | 0.1011 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.57
Cobalt
#0047AB
ΔE00 4.52
Blue Blue
#2242C7
ΔE00 5.50
Denim Blue
#3B5B92
ΔE00 5.92
Denim
#1560BD
ΔE00 6.26
Dusk Blue
#26538D
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3152B7 #B79631
analogous
#3195B7 #3152B7 #5331B7
triadic
#3152B7 #B73152 #52B731
tetradic
#3152B7 #B73195 #B79631 #31B753
square
#3152B7 #B73195 #B79631 #31B753
split-complementary
#3152B7 #B75331 #95B731
monochromatic
#172756 #243C87 #3152B7 #5473D1 #849ADE
Accessibility & contrast
On white
6.95
#3152B7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.02
#3152B7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3152B7
6.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3152B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3152B7 | 1.00 | 6.95 | 3.02 | 6.95 |
| #FFFFFF | 6.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060BB
Deuteranopia (green-blind)
#0054B5
Tritanopia (blue-blind)
#006B7C
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #3152b7; /* rgb */ color: rgb(49, 82, 183); /* oklch */ color: oklch(47.4% 0.164 266.4);
Tailwind
colors: {
custom: {
50: '#7b82cd',
500: '#3152b7',
950: '#000000',
},
}SCSS
$custom: #3152b7; $custom-light: #7b82cd; $custom-dark: #000000;
JSON
{
"hex": "#3152b7",
"rgb": {
"r": 49,
"g": 82,
"b": 183
},
"hsl": {
"h": 225.224,
"s": 57.759,
"l": 45.49
},
"oklch": {
"l": 0.47444,
"c": 0.16449,
"h": 266.4
},
"luminance": 0.10106
}Semantic roles & 50–950 ramp
primary
#3152B7
secondary
#C8B57C
accent
#BB47E1
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82