#3254C5#3254C5
#3254C5 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.0% C 0.181 H 266.8°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).
Color values
| HEX | #3254C5 |
|---|---|
| RGB | rgb(50, 84, 197) |
| HSL | hsl(226, 60%, 48%) |
| HSV | hsv(226, 75%, 77%) |
| CMYK | cmyk(74.6%, 57.4%, 0%, 22.7%) |
| CIE-LAB | lab(39.66, 27.61, -62.51) |
| CIE-LCH | lch(39.66, 68.34, 293.83°) |
| OKLab | oklab(49.02% -0.0102 -0.1804) |
| OKLCH | oklch(49.02% 0.181 266.8) |
| XYZ | xyz(14.5602, 11.0484, 54.1777) |
| Luminance | 0.1105 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.44
Warm Blue
#4B57DB
ΔE00 4.71
Blue Blue
#2242C7
ΔE00 5.49
Azul
#1D5DEC
ΔE00 5.53
Blue (survey)
#0343DF
ΔE00 5.83
Cobalt
#0047AB
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3254C5 #C5A332
analogous
#329DC5 #3254C5 #5932C5
triadic
#3254C5 #C53254 #54C532
tetradic
#3254C5 #C5329D #C5A332 #32C559
square
#3254C5 #C5329D #C5A332 #32C559
split-complementary
#3254C5 #C55932 #9DC532
monochromatic
#192A63 #263F94 #3254C5 #5E7AD6 #8FA2E3
Accessibility & contrast
On white
6.54
#3254C5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#3254C5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3254C5
6.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3254C5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3254C5 | 1.00 | 6.54 | 3.21 | 6.54 |
| #FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.54 | 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: #3254c5; /* rgb */ color: rgb(50, 84, 197); /* oklch */ color: oklch(49.0% 0.181 266.8);
Tailwind
colors: {
custom: {
50: '#7f83d7',
500: '#3254c5',
950: '#000000',
},
}SCSS
$custom: #3254c5; $custom-light: #7f83d7; $custom-dark: #000000;
JSON
{
"hex": "#3254c5",
"rgb": {
"r": 50,
"g": 84,
"b": 197
},
"hsl": {
"h": 226.122,
"s": 59.514,
"l": 48.431
},
"oklch": {
"l": 0.49015,
"c": 0.18067,
"h": 266.8
},
"luminance": 0.1105
}Semantic roles & 50–950 ramp
primary
#3254C5
secondary
#CDBD86
accent
#BE45E3
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0A14
muted
#7D7C83