#2B5AB5#2B5AB5
#2B5AB5 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 48.7% C 0.154 H 261.9°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).
Color values
| HEX | #2B5AB5 |
|---|---|
| RGB | rgb(43, 90, 181) |
| HSL | hsl(220, 62%, 44%) |
| HSV | hsv(220, 76%, 71%) |
| CMYK | cmyk(76.2%, 50.3%, 0%, 29%) |
| CIE-LAB | lab(39.85, 16.82, -52.88) |
| CIE-LCH | lch(39.85, 55.49, 287.64°) |
| OKLab | oklab(48.71% -0.0216 -0.152) |
| OKLCH | oklch(48.71% 0.154 261.9) |
| XYZ | xyz(12.9899, 11.1606, 45.1767) |
| Luminance | 0.1116 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.77
Denim
#1560BD
ΔE00 3.09
Denim Blue
#3B5B92
ΔE00 4.47
Dusk Blue
#26538D
ΔE00 5.50
Dusky Blue
#475F94
ΔE00 5.57
Light Navy Blue
#2E5A88
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B5AB5 #B5862B
analogous
#2B9FB5 #2B5AB5 #412BB5
triadic
#2B5AB5 #B52B5A #5AB52B
tetradic
#2B5AB5 #B52B9F #B5862B #2BB541
square
#2B5AB5 #B52B9F #B5862B #2BB541
split-complementary
#2B5AB5 #B5412B #9FB52B
monochromatic
#142952 #1F4184 #2B5AB5 #4979D4 #7B9DE0
Accessibility & contrast
On white
6.50
#2B5AB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#2B5AB5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B5AB5
6.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B5AB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B5AB5 | 1.00 | 6.50 | 3.23 | 6.50 |
| #FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2365B8
Deuteranopia (green-blind)
#0058B3
Tritanopia (blue-blind)
#00707F
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #2b5ab5; /* rgb */ color: rgb(43, 90, 181); /* oklch */ color: oklch(48.7% 0.154 261.9);
Tailwind
colors: {
custom: {
50: '#7888cc',
500: '#2b5ab5',
950: '#000000',
},
}SCSS
$custom: #2b5ab5; $custom-light: #7888cc; $custom-dark: #000000;
JSON
{
"hex": "#2b5ab5",
"rgb": {
"r": 43,
"g": 90,
"b": 181
},
"hsl": {
"h": 219.565,
"s": 61.607,
"l": 43.922
},
"oklch": {
"l": 0.48713,
"c": 0.15358,
"h": 261.9
},
"luminance": 0.11162
}Semantic roles & 50–950 ramp
primary
#2B5AB5
secondary
#C8AB74
accent
#AE43E5
background
#F7F8FC
surface
#EEEFF9
border
#C9CAD2
text
#0A0B13
muted
#7C7C82