#2B5AB2#2B5AB2
#2B5AB2 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.5% C 0.149 H 261.5°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).
Color values
| HEX | #2B5AB2 |
|---|---|
| RGB | rgb(43, 90, 178) |
| HSL | hsl(219, 61%, 43%) |
| HSV | hsv(219, 76%, 70%) |
| CMYK | cmyk(75.8%, 49.4%, 0%, 30.2%) |
| CIE-LAB | lab(39.65, 15.67, -51.44) |
| CIE-LCH | lch(39.65, 53.78, 286.94°) |
| OKLab | oklab(48.49% -0.022 -0.1478) |
| OKLCH | oklch(48.49% 0.149 261.5) |
| XYZ | xyz(12.6854, 11.0388, 43.5730) |
| Luminance | 0.1104 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.86
Denim
#1560BD
ΔE00 3.08
Denim Blue
#3B5B92
ΔE00 4.14
Dusk Blue
#26538D
ΔE00 5.13
Light Navy Blue
#2E5A88
ΔE00 5.25
Dusky Blue
#475F94
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B5AB2 #B2832B
analogous
#2B9DB2 #2B5AB2 #3F2BB2
triadic
#2B5AB2 #B22B5A #5AB22B
tetradic
#2B5AB2 #B22B9D #B2832B #2BB23F
square
#2B5AB2 #B22B9D #B2832B #2BB23F
split-complementary
#2B5AB2 #B23F2B #9DB22B
monochromatic
#13284F #1F4181 #2B5AB2 #4878D3 #799CDF
Accessibility & contrast
On white
6.55
#2B5AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#2B5AB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B5AB2
6.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B5AB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B5AB2 | 1.00 | 6.55 | 3.21 | 6.55 |
| #FFFFFF | 6.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2764B5
Deuteranopia (green-blind)
#0058B0
Tritanopia (blue-blind)
#006F7D
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #2b5ab2; /* rgb */ color: rgb(43, 90, 178); /* oklch */ color: oklch(48.5% 0.149 261.5);
Tailwind
colors: {
custom: {
50: '#7888ca',
500: '#2b5ab2',
950: '#000000',
},
}SCSS
$custom: #2b5ab2; $custom-light: #7888ca; $custom-dark: #000000;
JSON
{
"hex": "#2b5ab2",
"rgb": {
"r": 43,
"g": 90,
"b": 178
},
"hsl": {
"h": 219.111,
"s": 61.086,
"l": 43.333
},
"oklch": {
"l": 0.48492,
"c": 0.14946,
"h": 261.5
},
"luminance": 0.1104
}Semantic roles & 50–950 ramp
primary
#2B5AB2
secondary
#C7A972
accent
#AC44E4
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82