#2B5CC1#2B5CC1
#2B5CC1 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.0% C 0.167 H 262.5°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).
Color values
| HEX | #2B5CC1 |
|---|---|
| RGB | rgb(43, 92, 193) |
| HSL | hsl(220, 64%, 46%) |
| HSV | hsv(220, 78%, 76%) |
| CMYK | cmyk(77.7%, 52.3%, 0%, 24.3%) |
| CIE-LAB | lab(41.24, 20.10, -57.64) |
| CIE-LCH | lch(41.24, 61.04, 289.22°) |
| OKLab | oklab(50.04% -0.0217 -0.166) |
| OKLCH | oklch(50.04% 0.167 262.5) |
| XYZ | xyz(14.4456, 12.0165, 51.9998) |
| Luminance | 0.1202 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 3.00
Sapphire
#0F52BA
ΔE00 3.51
Azul
#1D5DEC
ΔE00 5.32
French Blue
#436BAD
ΔE00 5.57
Denim Blue
#3B5B92
ΔE00 5.80
Mid Blue
#276AB3
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B5CC1 #C1902B
analogous
#2BA7C1 #2B5CC1 #452BC1
triadic
#2B5CC1 #C12B5C #5CC12B
tetradic
#2B5CC1 #C12BA7 #C1902B #2BC145
square
#2B5CC1 #C12BA7 #C1902B #2BC145
split-complementary
#2B5CC1 #C1452B #A7C12B
monochromatic
#152C5D #20448F #2B5CC1 #517DD8 #83A2E3
Accessibility & contrast
On white
6.17
#2B5CC1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#2B5CC1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B5CC1
6.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B5CC1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B5CC1 | 1.00 | 6.17 | 3.40 | 6.17 |
| #FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1468C5
Deuteranopia (green-blind)
#005BBF
Tritanopia (blue-blind)
#007585
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #2b5cc1; /* rgb */ color: rgb(43, 92, 193); /* oklch */ color: oklch(50.0% 0.167 262.5);
Tailwind
colors: {
custom: {
50: '#7b89d4',
500: '#2b5cc1',
950: '#000000',
},
}SCSS
$custom: #2b5cc1; $custom-light: #7b89d4; $custom-dark: #000000;
JSON
{
"hex": "#2b5cc1",
"rgb": {
"r": 43,
"g": 92,
"b": 193
},
"hsl": {
"h": 220.4,
"s": 63.559,
"l": 46.275
},
"oklch": {
"l": 0.5004,
"c": 0.16744,
"h": 262.5
},
"luminance": 0.12018
}Semantic roles & 50–950 ramp
primary
#2B5CC1
secondary
#CCB27B
accent
#B141E7
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0B14
muted
#7C7C83