#2B5FBA#2B5FBA
#2B5FBA is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.2% C 0.154 H 260.7°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).
Color values
| HEX | #2B5FBA |
|---|---|
| RGB | rgb(43, 95, 186) |
| HSL | hsl(218, 62%, 45%) |
| HSV | hsv(218, 77%, 73%) |
| CMYK | cmyk(76.9%, 48.9%, 0%, 27.1%) |
| CIE-LAB | lab(41.60, 15.47, -52.99) |
| CIE-LCH | lch(41.60, 55.20, 286.27°) |
| OKLab | oklab(50.16% -0.025 -0.1523) |
| OKLCH | oklch(50.16% 0.154 260.7) |
| XYZ | xyz(13.9482, 12.2416, 48.0726) |
| Luminance | 0.1224 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 1.77
Sapphire
#0F52BA
ΔE00 4.29
French Blue
#436BAD
ΔE00 4.43
Mid Blue
#276AB3
ΔE00 4.74
Denim Blue
#3B5B92
ΔE00 5.15
Denim (survey)
#3B638C
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B5FBA #BA862B
analogous
#2BA6BA #2B5FBA #3F2BBA
triadic
#2B5FBA #BA2B5F #5FBA2B
tetradic
#2B5FBA #BA2BA6 #BA862B #2BBA3F
square
#2B5FBA #BA2BA6 #BA862B #2BBA3F
split-complementary
#2B5FBA #BA3F2B #A6BA2B
monochromatic
#142C57 #204688 #2B5FBA #4C7ED6 #7EA2E1
Accessibility & contrast
On white
6.09
#2B5FBA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#2B5FBA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B5FBA
6.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B5FBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B5FBA | 1.00 | 6.09 | 3.45 | 6.09 |
| #FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A69BD
Deuteranopia (green-blind)
#005CB8
Tritanopia (blue-blind)
#007583
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #2b5fba; /* rgb */ color: rgb(43, 95, 186); /* oklch */ color: oklch(50.2% 0.154 260.7);
Tailwind
colors: {
custom: {
50: '#798bcf',
500: '#2b5fba',
950: '#000000',
},
}SCSS
$custom: #2b5fba; $custom-light: #798bcf; $custom-dark: #000000;
JSON
{
"hex": "#2b5fba",
"rgb": {
"r": 43,
"g": 95,
"b": 186
},
"hsl": {
"h": 218.182,
"s": 62.445,
"l": 44.902
},
"oklch": {
"l": 0.50158,
"c": 0.15431,
"h": 260.7
},
"luminance": 0.12243
}Semantic roles & 50–950 ramp
primary
#2B5FBA
secondary
#CAAC77
accent
#AA42E6
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C14
muted
#7C7D82