#2B5DB2#2B5DB2
#2B5DB2 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.1% C 0.146 H 260.3°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).
Color values
| HEX | #2B5DB2 |
|---|---|
| RGB | rgb(43, 93, 178) |
| HSL | hsl(218, 61%, 43%) |
| HSV | hsv(218, 76%, 70%) |
| CMYK | cmyk(75.8%, 47.8%, 0%, 30.2%) |
| CIE-LAB | lab(40.50, 13.71, -50.07) |
| CIE-LCH | lch(40.50, 51.91, 285.31°) |
| OKLab | oklab(49.15% -0.0245 -0.1437) |
| OKLCH | oklch(49.15% 0.146 260.3) |
| XYZ | xyz(12.9436, 11.5552, 43.6591) |
| Luminance | 0.1156 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.17
Sapphire
#0F52BA
ΔE00 3.79
Denim Blue
#3B5B92
ΔE00 4.20
French Blue
#436BAD
ΔE00 4.92
Denim (survey)
#3B638C
ΔE00 4.97
Light Navy Blue
#2E5A88
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B5DB2 #B2802B
analogous
#2BA0B2 #2B5DB2 #3D2BB2
triadic
#2B5DB2 #B22B5D #5DB22B
tetradic
#2B5DB2 #B22BA0 #B2802B #2BB23D
square
#2B5DB2 #B22BA0 #B2802B #2BB23D
split-complementary
#2B5DB2 #B23D2B #A0B22B
monochromatic
#13294F #1F4381 #2B5DB2 #487BD3 #799FDF
Accessibility & contrast
On white
6.34
#2B5DB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#2B5DB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B5DB2
6.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B5DB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B5DB2 | 1.00 | 6.34 | 3.31 | 6.34 |
| #FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E66B5
Deuteranopia (green-blind)
#055AB0
Tritanopia (blue-blind)
#00717F
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #2b5db2; /* rgb */ color: rgb(43, 93, 178); /* oklch */ color: oklch(49.1% 0.146 260.3);
Tailwind
colors: {
custom: {
50: '#788aca',
500: '#2b5db2',
950: '#000000',
},
}SCSS
$custom: #2b5db2; $custom-light: #788aca; $custom-dark: #000000;
JSON
{
"hex": "#2b5db2",
"rgb": {
"r": 43,
"g": 93,
"b": 178
},
"hsl": {
"h": 217.778,
"s": 61.086,
"l": 43.333
},
"oklch": {
"l": 0.49147,
"c": 0.1458,
"h": 260.3
},
"luminance": 0.11557
}Semantic roles & 50–950 ramp
primary
#2B5DB2
secondary
#C7A772
accent
#A944E4
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82