#2B5CE2#2B5CE2
#2B5CE2 is a mid, highly saturated blue. Relative luminance 0.137; OKLCH L 52.7% C 0.211 H 264.7°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).
Color values
| HEX | #2B5CE2 |
|---|---|
| RGB | rgb(43, 92, 226) |
| HSL | hsl(224, 76%, 53%) |
| HSV | hsv(224, 81%, 89%) |
| CMYK | cmyk(81%, 59.3%, 0%, 11.4%) |
| CIE-LAB | lab(43.74, 32.52, -72.53) |
| CIE-LCH | lch(43.74, 79.48, 294.15°) |
| OKLab | oklab(52.7% -0.0196 -0.2098) |
| OKLCH | oklch(52.7% 0.211 264.7) |
| XYZ | xyz(18.5460, 13.6566, 73.5953) |
| Luminance | 0.1366 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Azul
#1D5DEC
ΔE00 1.22
Warm Blue
#4B57DB
ΔE00 3.82
Electric Blue
#0652FF
ΔE00 4.24
Bright Blue
#0165FC
ΔE00 4.33
Royal Blue
#4169E1
ΔE00 4.36
Denim
#1560BD
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B5CE2 #E2B12B
analogous
#2BB8E2 #2B5CE2 #552BE2
triadic
#2B5CE2 #E22B5C #5CE22B
tetradic
#2B5CE2 #E22BB8 #E2B12B #2BE255
square
#2B5CE2 #E22BB8 #E2B12B #2BE255
split-complementary
#2B5CE2 #E2552B #B8E22B
monochromatic
#122F81 #1943B7 #2B5CE2 #6185E9 #97AFF1
Accessibility & contrast
On white
5.63
#2B5CE2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.73
#2B5CE2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B5CE2
5.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B5CE2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B5CE2 | 1.00 | 5.63 | 3.73 | 5.63 |
| #FFFFFF | 5.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070E6
Deuteranopia (green-blind)
#005FDF
Tritanopia (blue-blind)
#007E96
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #2b5ce2; /* rgb */ color: rgb(43, 92, 226); /* oklch */ color: oklch(52.7% 0.211 264.7);
Tailwind
colors: {
custom: {
50: '#8389ec',
500: '#2b5ce2',
950: '#000000',
},
}SCSS
$custom: #2b5ce2; $custom-light: #8389ec; $custom-dark: #000000;
JSON
{
"hex": "#2b5ce2",
"rgb": {
"r": 43,
"g": 92,
"b": 226
},
"hsl": {
"h": 223.934,
"s": 75.934,
"l": 52.745
},
"oklch": {
"l": 0.52702,
"c": 0.21068,
"h": 264.7
},
"luminance": 0.13659
}Semantic roles & 50–950 ramp
primary
#2B5CE2
secondary
#DCC78D
accent
#C035F3
background
#F9F8FE
surface
#F1F0FD
border
#CBCBD5
text
#0D0B16
muted
#7E7C84