#3154C1#3154C1
#3154C1 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.6% C 0.176 H 266.3°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).
Color values
| HEX | #3154C1 |
|---|---|
| RGB | rgb(49, 84, 193) |
| HSL | hsl(225, 60%, 47%) |
| HSV | hsv(225, 75%, 76%) |
| CMYK | cmyk(74.6%, 56.5%, 0%, 24.3%) |
| CIE-LAB | lab(39.31, 26.01, -60.76) |
| CIE-LCH | lch(39.31, 66.09, 293.18°) |
| OKLab | oklab(48.65% -0.0112 -0.1752) |
| OKLCH | oklch(48.65% 0.176 266.3) |
| XYZ | xyz(14.0592, 10.8423, 51.7936) |
| Luminance | 0.1084 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.98
Warm Blue
#4B57DB
ΔE00 5.26
Cobalt
#0047AB
ΔE00 5.61
Blue Blue
#2242C7
ΔE00 5.62
Denim
#1560BD
ΔE00 5.94
Azul
#1D5DEC
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3154C1 #C19E31
analogous
#319CC1 #3154C1 #5631C1
triadic
#3154C1 #C13154 #54C131
tetradic
#3154C1 #C1319C #C19E31 #31C156
square
#3154C1 #C1319C #C19E31 #31C156
split-complementary
#3154C1 #C15631 #9CC131
monochromatic
#182A5F #253F90 #3154C1 #5A78D5 #8BA0E2
Accessibility & contrast
On white
6.63
#3154C1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#3154C1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3154C1
6.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3154C1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3154C1 | 1.00 | 6.63 | 3.17 | 6.63 |
| #FFFFFF | 6.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C5
Deuteranopia (green-blind)
#0056BF
Tritanopia (blue-blind)
#006F82
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #3154c1; /* rgb */ color: rgb(49, 84, 193); /* oklch */ color: oklch(48.6% 0.176 266.3);
Tailwind
colors: {
custom: {
50: '#7d83d5',
500: '#3154c1',
950: '#000000',
},
}SCSS
$custom: #3154c1; $custom-light: #7d83d5; $custom-dark: #000000;
JSON
{
"hex": "#3154c1",
"rgb": {
"r": 49,
"g": 84,
"b": 193
},
"hsl": {
"h": 225.417,
"s": 59.504,
"l": 47.451
},
"oklch": {
"l": 0.48646,
"c": 0.17559,
"h": 266.3
},
"luminance": 0.10844
}Semantic roles & 50–950 ramp
primary
#3154C1
secondary
#CCBA82
accent
#BC45E3
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0A14
muted
#7C7C83