#2B5AC1#2B5AC1
#2B5AC1 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.6% C 0.170 H 263.2°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #2B5AC1 |
|---|---|
| RGB | rgb(43, 90, 193) |
| HSL | hsl(221, 64%, 46%) |
| HSV | hsv(221, 78%, 76%) |
| CMYK | cmyk(77.7%, 53.4%, 0%, 24.3%) |
| CIE-LAB | lab(40.69, 21.40, -58.53) |
| CIE-LCH | lch(40.69, 62.32, 290.09°) |
| OKLab | oklab(49.62% -0.0203 -0.1687) |
| OKLCH | oklch(49.62% 0.17 263.2) |
| XYZ | xyz(14.2746, 11.6745, 51.9428) |
| Luminance | 0.1168 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.02
Denim
#1560BD
ΔE00 3.59
Azul
#1D5DEC
ΔE00 5.36
Denim Blue
#3B5B92
ΔE00 5.85
French Blue
#436BAD
ΔE00 6.19
Warm Blue
#4B57DB
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B5AC1 #C1922B
analogous
#2BA5C1 #2B5AC1 #472BC1
triadic
#2B5AC1 #C12B5A #5AC12B
tetradic
#2B5AC1 #C12BA5 #C1922B #2BC147
square
#2B5AC1 #C12BA5 #C1922B #2BC147
split-complementary
#2B5AC1 #C1472B #A5C12B
monochromatic
#152B5D #20438F #2B5AC1 #517BD8 #83A1E3
Accessibility & contrast
On white
6.30
#2B5AC1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#2B5AC1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B5AC1
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B5AC1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B5AC1 | 1.00 | 6.30 | 3.34 | 6.30 |
| #FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0767C5
Deuteranopia (green-blind)
#0059BF
Tritanopia (blue-blind)
#007385
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #2b5ac1; /* rgb */ color: rgb(43, 90, 193); /* oklch */ color: oklch(49.6% 0.170 263.2);
Tailwind
colors: {
custom: {
50: '#7b88d4',
500: '#2b5ac1',
950: '#000000',
},
}SCSS
$custom: #2b5ac1; $custom-light: #7b88d4; $custom-dark: #000000;
JSON
{
"hex": "#2b5ac1",
"rgb": {
"r": 43,
"g": 90,
"b": 193
},
"hsl": {
"h": 221.2,
"s": 63.559,
"l": 46.275
},
"oklch": {
"l": 0.49624,
"c": 0.16988,
"h": 263.2
},
"luminance": 0.11676
}Semantic roles & 50–950 ramp
primary
#2B5AC1
secondary
#CCB37B
accent
#B341E7
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83