#2B5DB8#2B5DB8
#2B5DB8 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.6% C 0.154 H 261.2°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #2B5DB8 |
|---|---|
| RGB | rgb(43, 93, 184) |
| HSL | hsl(219, 62%, 45%) |
| HSV | hsv(219, 77%, 72%) |
| CMYK | cmyk(76.6%, 49.5%, 0%, 27.8%) |
| CIE-LAB | lab(40.90, 16.00, -52.94) |
| CIE-LCH | lch(40.90, 55.31, 286.82°) |
| OKLab | oklab(49.58% -0.0236 -0.1522) |
| OKLCH | oklch(49.58% 0.154 261.2) |
| XYZ | xyz(13.5592, 11.8014, 46.9014) |
| Luminance | 0.1180 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.21
Sapphire
#0F52BA
ΔE00 3.65
Denim Blue
#3B5B92
ΔE00 4.81
French Blue
#436BAD
ΔE00 4.98
Mid Blue
#276AB3
ΔE00 5.37
Denim (survey)
#3B638C
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B5DB8 #B8862B
analogous
#2BA4B8 #2B5DB8 #3F2BB8
triadic
#2B5DB8 #B82B5D #5DB82B
tetradic
#2B5DB8 #B82BA4 #B8862B #2BB83F
square
#2B5DB8 #B82BA4 #B8862B #2BB83F
split-complementary
#2B5DB8 #B83F2B #A4B82B
monochromatic
#142B55 #1F4486 #2B5DB8 #4B7CD5 #7DA0E1
Accessibility & contrast
On white
6.25
#2B5DB8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#2B5DB8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B5DB8
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B5DB8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B5DB8 | 1.00 | 6.25 | 3.36 | 6.25 |
| #FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2767BB
Deuteranopia (green-blind)
#005AB6
Tritanopia (blue-blind)
#007382
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #2b5db8; /* rgb */ color: rgb(43, 93, 184); /* oklch */ color: oklch(49.6% 0.154 261.2);
Tailwind
colors: {
custom: {
50: '#798ace',
500: '#2b5db8',
950: '#000000',
},
}SCSS
$custom: #2b5db8; $custom-light: #798ace; $custom-dark: #000000;
JSON
{
"hex": "#2b5db8",
"rgb": {
"r": 43,
"g": 93,
"b": 184
},
"hsl": {
"h": 218.723,
"s": 62.115,
"l": 44.51
},
"oklch": {
"l": 0.4958,
"c": 0.15401,
"h": 261.2
},
"luminance": 0.11803
}Semantic roles & 50–950 ramp
primary
#2B5DB8
secondary
#C9AB76
accent
#AC43E5
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0B14
muted
#7C7C82