#2B5ABC#2B5ABC
#2B5ABC is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.2% C 0.163 H 262.7°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).
Color values
| HEX | #2B5ABC |
|---|---|
| RGB | rgb(43, 90, 188) |
| HSL | hsl(221, 63%, 45%) |
| HSV | hsv(221, 77%, 74%) |
| CMYK | cmyk(77.1%, 52.1%, 0%, 26.3%) |
| CIE-LAB | lab(40.34, 19.50, -56.19) |
| CIE-LCH | lch(40.34, 59.48, 289.13°) |
| OKLab | oklab(49.24% -0.0208 -0.1618) |
| OKLCH | oklch(49.24% 0.163 262.7) |
| XYZ | xyz(13.7263, 11.4552, 49.0549) |
| Luminance | 0.1146 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.80
Denim
#1560BD
ΔE00 3.30
Denim Blue
#3B5B92
ΔE00 5.27
Azul
#1D5DEC
ΔE00 6.00
French Blue
#436BAD
ΔE00 6.01
Dusky Blue
#475F94
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B5ABC #BC8D2B
analogous
#2BA2BC #2B5ABC #452BBC
triadic
#2B5ABC #BC2B5A #5ABC2B
tetradic
#2B5ABC #BC2BA2 #BC8D2B #2BBC45
square
#2B5ABC #BC2BA2 #BC8D2B #2BBC45
split-complementary
#2B5ABC #BC452B #A2BC2B
monochromatic
#142A58 #20428A #2B5ABC #4E7AD6 #809FE2
Accessibility & contrast
On white
6.38
#2B5ABC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#2B5ABC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B5ABC
6.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B5ABC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B5ABC | 1.00 | 6.38 | 3.29 | 6.38 |
| #FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1666BF
Deuteranopia (green-blind)
#0059BA
Tritanopia (blue-blind)
#007282
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #2b5abc; /* rgb */ color: rgb(43, 90, 188); /* oklch */ color: oklch(49.2% 0.163 262.7);
Tailwind
colors: {
custom: {
50: '#7a88d1',
500: '#2b5abc',
950: '#000000',
},
}SCSS
$custom: #2b5abc; $custom-light: #7a88d1; $custom-dark: #000000;
JSON
{
"hex": "#2b5abc",
"rgb": {
"r": 43,
"g": 90,
"b": 188
},
"hsl": {
"h": 220.552,
"s": 62.771,
"l": 45.294
},
"oklch": {
"l": 0.49239,
"c": 0.16313,
"h": 262.7
},
"luminance": 0.11457
}Semantic roles & 50–950 ramp
primary
#2B5ABC
secondary
#CBB078
accent
#B142E6
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82