#2B5FB8#2B5FB8
#2B5FB8 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.0% C 0.152 H 260.4°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).
Color values
| HEX | #2B5FB8 |
|---|---|
| RGB | rgb(43, 95, 184) |
| HSL | hsl(218, 62%, 45%) |
| HSV | hsv(218, 77%, 72%) |
| CMYK | cmyk(76.6%, 48.4%, 0%, 27.8%) |
| CIE-LAB | lab(41.46, 14.70, -52.03) |
| CIE-LCH | lch(41.46, 54.07, 285.78°) |
| OKLab | oklab(50.01% -0.0253 -0.1495) |
| OKLCH | oklch(50.01% 0.152 260.4) |
| XYZ | xyz(13.7371, 12.1571, 46.9607) |
| Luminance | 0.1216 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 1.69
Sapphire
#0F52BA
ΔE00 4.31
French Blue
#436BAD
ΔE00 4.39
Mid Blue
#276AB3
ΔE00 4.65
Denim Blue
#3B5B92
ΔE00 4.95
Denim (survey)
#3B638C
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B5FB8 #B8842B
analogous
#2BA6B8 #2B5FB8 #3D2BB8
triadic
#2B5FB8 #B82B5F #5FB82B
tetradic
#2B5FB8 #B82BA6 #B8842B #2BB83D
square
#2B5FB8 #B82BA6 #B8842B #2BB83D
split-complementary
#2B5FB8 #B83D2B #A6B82B
monochromatic
#142C55 #1F4586 #2B5FB8 #4B7ED5 #7DA2E1
Accessibility & contrast
On white
6.12
#2B5FB8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#2B5FB8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B5FB8
6.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B5FB8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B5FB8 | 1.00 | 6.12 | 3.43 | 6.12 |
| #FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D69BB
Deuteranopia (green-blind)
#005CB6
Tritanopia (blue-blind)
#007482
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #2b5fb8; /* rgb */ color: rgb(43, 95, 184); /* oklch */ color: oklch(50.0% 0.152 260.4);
Tailwind
colors: {
custom: {
50: '#798bce',
500: '#2b5fb8',
950: '#000000',
},
}SCSS
$custom: #2b5fb8; $custom-light: #798bce; $custom-dark: #000000;
JSON
{
"hex": "#2b5fb8",
"rgb": {
"r": 43,
"g": 95,
"b": 184
},
"hsl": {
"h": 217.872,
"s": 62.115,
"l": 44.51
},
"oklch": {
"l": 0.50014,
"c": 0.15159,
"h": 260.4
},
"luminance": 0.12159
}Semantic roles & 50–950 ramp
primary
#2B5FB8
secondary
#C9AA76
accent
#A943E5
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C14
muted
#7C7D82