#3154C2#3154C2
#3154C2 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.7% C 0.177 H 266.4°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).
Color values
| HEX | #3154C2 |
|---|---|
| RGB | rgb(49, 84, 194) |
| HSL | hsl(226, 60%, 48%) |
| HSV | hsv(226, 75%, 76%) |
| CMYK | cmyk(74.7%, 56.7%, 0%, 23.9%) |
| CIE-LAB | lab(39.39, 26.38, -61.21) |
| CIE-LCH | lch(39.39, 66.66, 293.31°) |
| OKLab | oklab(48.73% -0.0112 -0.1766) |
| OKLCH | oklch(48.73% 0.177 266.4) |
| XYZ | xyz(14.1711, 10.8871, 52.3830) |
| Luminance | 0.1089 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.07
Warm Blue
#4B57DB
ΔE00 5.14
Blue Blue
#2242C7
ΔE00 5.58
Cobalt
#0047AB
ΔE00 5.70
Azul
#1D5DEC
ΔE00 5.84
Denim
#1560BD
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3154C2 #C29F31
analogous
#319DC2 #3154C2 #5631C2
triadic
#3154C2 #C23154 #54C231
tetradic
#3154C2 #C2319D #C29F31 #31C256
square
#3154C2 #C2319D #C29F31 #31C256
split-complementary
#3154C2 #C25631 #9DC231
monochromatic
#182A60 #253F91 #3154C2 #5B78D6 #8CA0E2
Accessibility & contrast
On white
6.61
#3154C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#3154C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3154C2
6.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3154C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3154C2 | 1.00 | 6.61 | 3.18 | 6.61 |
| #FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C6
Deuteranopia (green-blind)
#0056C0
Tritanopia (blue-blind)
#006F83
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #3154c2; /* rgb */ color: rgb(49, 84, 194); /* oklch */ color: oklch(48.7% 0.177 266.4);
Tailwind
colors: {
custom: {
50: '#7e83d5',
500: '#3154c2',
950: '#000000',
},
}SCSS
$custom: #3154c2; $custom-light: #7e83d5; $custom-dark: #000000;
JSON
{
"hex": "#3154c2",
"rgb": {
"r": 49,
"g": 84,
"b": 194
},
"hsl": {
"h": 225.517,
"s": 59.671,
"l": 47.647
},
"oklch": {
"l": 0.48727,
"c": 0.17693,
"h": 266.4
},
"luminance": 0.10889
}Semantic roles & 50–950 ramp
primary
#3154C2
secondary
#CCBA83
accent
#BD45E3
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0A14
muted
#7C7C83