#3154C5#3154C5
#3154C5 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.0% C 0.181 H 266.5°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).
Color values
| HEX | #3154C5 |
|---|---|
| RGB | rgb(49, 84, 197) |
| HSL | hsl(226, 60%, 48%) |
| HSV | hsv(226, 75%, 77%) |
| CMYK | cmyk(75.1%, 57.4%, 0%, 22.7%) |
| CIE-LAB | lab(39.62, 27.50, -62.59) |
| CIE-LCH | lch(39.62, 68.36, 293.72°) |
| OKLab | oklab(48.97% -0.0111 -0.1806) |
| OKLCH | oklch(48.97% 0.181 266.5) |
| XYZ | xyz(14.5115, 11.0232, 54.1754) |
| Luminance | 0.1103 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.35
Warm Blue
#4B57DB
ΔE00 4.79
Blue Blue
#2242C7
ΔE00 5.50
Azul
#1D5DEC
ΔE00 5.53
Blue (survey)
#0343DF
ΔE00 5.84
Cobalt
#0047AB
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3154C5 #C5A231
analogous
#319EC5 #3154C5 #5831C5
triadic
#3154C5 #C53154 #54C531
tetradic
#3154C5 #C5319E #C5A231 #31C558
square
#3154C5 #C5319E #C5A231 #31C558
split-complementary
#3154C5 #C55831 #9EC531
monochromatic
#192A63 #253F94 #3154C5 #5D79D7 #8EA2E3
Accessibility & contrast
On white
6.55
#3154C5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#3154C5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3154C5
6.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3154C5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3154C5 | 1.00 | 6.55 | 3.21 | 6.55 |
| #FFFFFF | 6.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C9
Deuteranopia (green-blind)
#0057C3
Tritanopia (blue-blind)
#007084
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #3154c5; /* rgb */ color: rgb(49, 84, 197); /* oklch */ color: oklch(49.0% 0.181 266.5);
Tailwind
colors: {
custom: {
50: '#7e83d7',
500: '#3154c5',
950: '#000000',
},
}SCSS
$custom: #3154c5; $custom-light: #7e83d7; $custom-dark: #000000;
JSON
{
"hex": "#3154c5",
"rgb": {
"r": 49,
"g": 84,
"b": 197
},
"hsl": {
"h": 225.811,
"s": 60.163,
"l": 48.235
},
"oklch": {
"l": 0.48972,
"c": 0.18094,
"h": 266.5
},
"luminance": 0.11025
}Semantic roles & 50–950 ramp
primary
#3154C5
secondary
#CDBC85
accent
#BE44E3
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0B0A14
muted
#7C7C83