#2B5BB2#2B5BB2
#2B5BB2 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 48.7% C 0.148 H 261.1°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).
Color values
| HEX | #2B5BB2 |
|---|---|
| RGB | rgb(43, 91, 178) |
| HSL | hsl(219, 61%, 43%) |
| HSV | hsv(219, 76%, 70%) |
| CMYK | cmyk(75.8%, 48.9%, 0%, 30.2%) |
| CIE-LAB | lab(39.93, 15.01, -50.98) |
| CIE-LCH | lch(39.93, 53.15, 286.41°) |
| OKLab | oklab(48.71% -0.0228 -0.1465) |
| OKLCH | oklch(48.71% 0.148 261.1) |
| XYZ | xyz(12.7703, 11.2087, 43.6013) |
| Luminance | 0.1121 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.76
Sapphire
#0F52BA
ΔE00 3.16
Denim Blue
#3B5B92
ΔE00 4.13
Light Navy Blue
#2E5A88
ΔE00 5.19
Dusk Blue
#26538D
ΔE00 5.22
Denim (survey)
#3B638C
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B5BB2 #B2822B
analogous
#2B9EB2 #2B5BB2 #3F2BB2
triadic
#2B5BB2 #B22B5B #5BB22B
tetradic
#2B5BB2 #B22B9E #B2822B #2BB23F
square
#2B5BB2 #B22B9E #B2822B #2BB23F
split-complementary
#2B5BB2 #B23F2B #9EB22B
monochromatic
#13294F #1F4281 #2B5BB2 #4879D3 #799DDF
Accessibility & contrast
On white
6.48
#2B5BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#2B5BB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B5BB2
6.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B5BB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B5BB2 | 1.00 | 6.48 | 3.24 | 6.48 |
| #FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2965B5
Deuteranopia (green-blind)
#0058B0
Tritanopia (blue-blind)
#00707E
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #2b5bb2; /* rgb */ color: rgb(43, 91, 178); /* oklch */ color: oklch(48.7% 0.148 261.1);
Tailwind
colors: {
custom: {
50: '#7888ca',
500: '#2b5bb2',
950: '#000000',
},
}SCSS
$custom: #2b5bb2; $custom-light: #7888ca; $custom-dark: #000000;
JSON
{
"hex": "#2b5bb2",
"rgb": {
"r": 43,
"g": 91,
"b": 178
},
"hsl": {
"h": 218.667,
"s": 61.086,
"l": 43.333
},
"oklch": {
"l": 0.48709,
"c": 0.14824,
"h": 261.1
},
"luminance": 0.1121
}Semantic roles & 50–950 ramp
primary
#2B5BB2
secondary
#C7A972
accent
#AB44E4
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82