#2B5CC2#2B5CC2
#2B5CC2 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.1% C 0.169 H 262.6°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #2B5CC2 |
|---|---|
| RGB | rgb(43, 92, 194) |
| HSL | hsl(221, 64%, 46%) |
| HSV | hsv(221, 78%, 76%) |
| CMYK | cmyk(77.8%, 52.6%, 0%, 23.9%) |
| CIE-LAB | lab(41.31, 20.48, -58.10) |
| CIE-LCH | lch(41.31, 61.61, 289.41°) |
| OKLab | oklab(50.12% -0.0216 -0.1674) |
| OKLCH | oklch(50.12% 0.169 262.6) |
| XYZ | xyz(14.5575, 12.0612, 52.5893) |
| Luminance | 0.1206 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 3.07
Sapphire
#0F52BA
ΔE00 3.56
Azul
#1D5DEC
ΔE00 5.19
French Blue
#436BAD
ΔE00 5.61
Denim Blue
#3B5B92
ΔE00 5.91
Mid Blue
#276AB3
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B5CC2 #C2912B
analogous
#2BA8C2 #2B5CC2 #462BC2
triadic
#2B5CC2 #C22B5C #5CC22B
tetradic
#2B5CC2 #C22BA8 #C2912B #2BC246
square
#2B5CC2 #C22BA8 #C2912B #2BC246
split-complementary
#2B5CC2 #C2462B #A8C22B
monochromatic
#152C5E #204490 #2B5CC2 #527DD9 #84A3E4
Accessibility & contrast
On white
6.15
#2B5CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#2B5CC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B5CC2
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B5CC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B5CC2 | 1.00 | 6.15 | 3.41 | 6.15 |
| #FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1169C6
Deuteranopia (green-blind)
#005BC0
Tritanopia (blue-blind)
#007586
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #2b5cc2; /* rgb */ color: rgb(43, 92, 194); /* oklch */ color: oklch(50.1% 0.169 262.6);
Tailwind
colors: {
custom: {
50: '#7b89d5',
500: '#2b5cc2',
950: '#000000',
},
}SCSS
$custom: #2b5cc2; $custom-light: #7b89d5; $custom-dark: #000000;
JSON
{
"hex": "#2b5cc2",
"rgb": {
"r": 43,
"g": 92,
"b": 194
},
"hsl": {
"h": 220.53,
"s": 63.713,
"l": 46.471
},
"oklch": {
"l": 0.50117,
"c": 0.16878,
"h": 262.6
},
"luminance": 0.12063
}Semantic roles & 50–950 ramp
primary
#2B5CC2
secondary
#CDB37C
accent
#B141E7
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0B14
muted
#7C7C83