#2B54C2#2B54C2
#2B54C2 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.5% C 0.179 H 264.9°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).
Color values
| HEX | #2B54C2 |
|---|---|
| RGB | rgb(43, 84, 194) |
| HSL | hsl(224, 64%, 46%) |
| HSV | hsv(224, 78%, 76%) |
| CMYK | cmyk(77.8%, 56.7%, 0%, 23.9%) |
| CIE-LAB | lab(39.15, 25.71, -61.61) |
| CIE-LCH | lch(39.15, 66.76, 292.65°) |
| OKLab | oklab(48.48% -0.0159 -0.1778) |
| OKLCH | oklch(48.48% 0.179 264.9) |
| XYZ | xyz(13.9007, 10.7477, 52.3704) |
| Luminance | 0.1075 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.50
Cobalt
#0047AB
ΔE00 5.40
Denim
#1560BD
ΔE00 5.55
Warm Blue
#4B57DB
ΔE00 5.61
Blue Blue
#2242C7
ΔE00 5.73
Azul
#1D5DEC
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B54C2 #C2992B
analogous
#2BA0C2 #2B54C2 #4E2BC2
triadic
#2B54C2 #C22B54 #54C22B
tetradic
#2B54C2 #C22BA0 #C2992B #2BC24E
square
#2B54C2 #C22BA0 #C2992B #2BC24E
split-complementary
#2B54C2 #C24E2B #A0C22B
monochromatic
#15295E #203E90 #2B54C2 #5276D9 #849EE4
Accessibility & contrast
On white
6.67
#2B54C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#2B54C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B54C2
6.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B54C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B54C2 | 1.00 | 6.67 | 3.15 | 6.67 |
| #FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C6
Deuteranopia (green-blind)
#0056C0
Tritanopia (blue-blind)
#006F83
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #2b54c2; /* rgb */ color: rgb(43, 84, 194); /* oklch */ color: oklch(48.5% 0.179 264.9);
Tailwind
colors: {
custom: {
50: '#7c83d5',
500: '#2b54c2',
950: '#000000',
},
}SCSS
$custom: #2b54c2; $custom-light: #7c83d5; $custom-dark: #000000;
JSON
{
"hex": "#2b54c2",
"rgb": {
"r": 43,
"g": 84,
"b": 194
},
"hsl": {
"h": 223.709,
"s": 63.713,
"l": 46.471
},
"oklch": {
"l": 0.48483,
"c": 0.17856,
"h": 264.9
},
"luminance": 0.10749
}Semantic roles & 50–950 ramp
primary
#2B54C2
secondary
#CDB77C
accent
#BA41E7
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0A14
muted
#7C7C83