#2B5FBB#2B5FBB
#2B5FBB is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.2% C 0.156 H 260.8°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).
Color values
| HEX | #2B5FBB |
|---|---|
| RGB | rgb(43, 95, 187) |
| HSL | hsl(218, 63%, 45%) |
| HSV | hsv(218, 77%, 73%) |
| CMYK | cmyk(77%, 49.2%, 0%, 26.7%) |
| CIE-LAB | lab(41.66, 15.85, -53.46) |
| CIE-LCH | lch(41.66, 55.76, 286.51°) |
| OKLab | oklab(50.23% -0.0248 -0.1537) |
| OKLCH | oklch(50.23% 0.156 260.8) |
| XYZ | xyz(14.0549, 12.2843, 48.6344) |
| Luminance | 0.1229 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 1.82
Sapphire
#0F52BA
ΔE00 4.29
French Blue
#436BAD
ΔE00 4.46
Mid Blue
#276AB3
ΔE00 4.80
Denim Blue
#3B5B92
ΔE00 5.25
Denim (survey)
#3B638C
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B5FBB #BB872B
analogous
#2BA7BB #2B5FBB #3F2BBB
triadic
#2B5FBB #BB2B5F #5FBB2B
tetradic
#2B5FBB #BB2BA7 #BB872B #2BBB3F
square
#2B5FBB #BB2BA7 #BB872B #2BBB3F
split-complementary
#2B5FBB #BB3F2B #A7BB2B
monochromatic
#142C57 #204689 #2B5FBB #4D7FD6 #7FA2E2
Accessibility & contrast
On white
6.07
#2B5FBB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#2B5FBB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B5FBB
6.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B5FBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B5FBB | 1.00 | 6.07 | 3.46 | 6.07 |
| #FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2969BE
Deuteranopia (green-blind)
#005CB9
Tritanopia (blue-blind)
#007584
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #2b5fbb; /* rgb */ color: rgb(43, 95, 187); /* oklch */ color: oklch(50.2% 0.156 260.8);
Tailwind
colors: {
custom: {
50: '#798bd0',
500: '#2b5fbb',
950: '#000000',
},
}SCSS
$custom: #2b5fbb; $custom-light: #798bd0; $custom-dark: #000000;
JSON
{
"hex": "#2b5fbb",
"rgb": {
"r": 43,
"g": 95,
"b": 187
},
"hsl": {
"h": 218.333,
"s": 62.609,
"l": 45.098
},
"oklch": {
"l": 0.50231,
"c": 0.15567,
"h": 260.8
},
"luminance": 0.12286
}Semantic roles & 50–950 ramp
primary
#2B5FBB
secondary
#CAAC78
accent
#AB42E6
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82