#3152B8#3152B8
#3152B8 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.5% C 0.166 H 266.5°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).
Color values
| HEX | #3152B8 |
|---|---|
| RGB | rgb(49, 82, 184) |
| HSL | hsl(225, 58%, 46%) |
| HSV | hsv(225, 73%, 72%) |
| CMYK | cmyk(73.4%, 55.4%, 0%, 27.8%) |
| CIE-LAB | lab(38.10, 23.96, -57.45) |
| CIE-LCH | lch(38.10, 62.25, 292.64°) |
| OKLab | oklab(47.52% -0.0102 -0.1655) |
| OKLCH | oklch(47.52% 0.166 266.5) |
| XYZ | xyz(12.9326, 10.1469, 46.6151) |
| Luminance | 0.1015 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.61
Cobalt
#0047AB
ΔE00 4.59
Blue Blue
#2242C7
ΔE00 5.43
Denim Blue
#3B5B92
ΔE00 6.03
Denim
#1560BD
ΔE00 6.28
Warm Blue
#4B57DB
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3152B8 #B89731
analogous
#3195B8 #3152B8 #5331B8
triadic
#3152B8 #B83152 #52B831
tetradic
#3152B8 #B83195 #B89731 #31B853
square
#3152B8 #B83195 #B89731 #31B853
split-complementary
#3152B8 #B85331 #95B831
monochromatic
#172757 #243C88 #3152B8 #5573D2 #859BDE
Accessibility & contrast
On white
6.93
#3152B8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#3152B8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3152B8
6.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3152B8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3152B8 | 1.00 | 6.93 | 3.03 | 6.93 |
| #FFFFFF | 6.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060BC
Deuteranopia (green-blind)
#0054B6
Tritanopia (blue-blind)
#006B7D
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #3152b8; /* rgb */ color: rgb(49, 82, 184); /* oklch */ color: oklch(47.5% 0.166 266.5);
Tailwind
colors: {
custom: {
50: '#7c82ce',
500: '#3152b8',
950: '#000000',
},
}SCSS
$custom: #3152b8; $custom-light: #7c82ce; $custom-dark: #000000;
JSON
{
"hex": "#3152b8",
"rgb": {
"r": 49,
"g": 82,
"b": 184
},
"hsl": {
"h": 225.333,
"s": 57.94,
"l": 45.686
},
"oklch": {
"l": 0.47524,
"c": 0.16587,
"h": 266.5
},
"luminance": 0.10148
}Semantic roles & 50–950 ramp
primary
#3152B8
secondary
#C8B67D
accent
#BB47E1
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82