#2B5FB4#2B5FB4
#2B5FB4 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 49.7% C 0.146 H 259.8°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #2B5FB4 |
|---|---|
| RGB | rgb(43, 95, 180) |
| HSL | hsl(217, 61%, 44%) |
| HSV | hsv(217, 76%, 71%) |
| CMYK | cmyk(76.1%, 47.2%, 0%, 29.4%) |
| CIE-LAB | lab(41.20, 13.17, -50.11) |
| CIE-LCH | lch(41.20, 51.81, 284.73°) |
| OKLab | oklab(49.73% -0.0259 -0.1438) |
| OKLCH | oklch(49.73% 0.146 259.8) |
| XYZ | xyz(13.3237, 11.9918, 44.7836) |
| Luminance | 0.1199 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 1.66
French Blue
#436BAD
ΔE00 4.35
Sapphire
#0F52BA
ΔE00 4.39
Mid Blue
#276AB3
ΔE00 4.48
Denim Blue
#3B5B92
ΔE00 4.57
Denim (survey)
#3B638C
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B5FB4 #B4802B
analogous
#2BA3B4 #2B5FB4 #3B2BB4
triadic
#2B5FB4 #B42B5F #5FB42B
tetradic
#2B5FB4 #B42BA3 #B4802B #2BB43B
square
#2B5FB4 #B42BA3 #B4802B #2BB43B
split-complementary
#2B5FB4 #B43B2B #A3B42B
monochromatic
#132B51 #1F4583 #2B5FB4 #497DD3 #7AA1DF
Accessibility & contrast
On white
6.18
#2B5FB4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#2B5FB4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B5FB4
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B5FB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B5FB4 | 1.00 | 6.18 | 3.40 | 6.18 |
| #FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3168B7
Deuteranopia (green-blind)
#0B5BB2
Tritanopia (blue-blind)
#007381
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #2b5fb4; /* rgb */ color: rgb(43, 95, 180); /* oklch */ color: oklch(49.7% 0.146 259.8);
Tailwind
colors: {
custom: {
50: '#788bcb',
500: '#2b5fb4',
950: '#000000',
},
}SCSS
$custom: #2b5fb4; $custom-light: #788bcb; $custom-dark: #000000;
JSON
{
"hex": "#2b5fb4",
"rgb": {
"r": 43,
"g": 95,
"b": 180
},
"hsl": {
"h": 217.226,
"s": 61.435,
"l": 43.725
},
"oklch": {
"l": 0.49729,
"c": 0.14613,
"h": 259.8
},
"luminance": 0.11993
}Semantic roles & 50–950 ramp
primary
#2B5FB4
secondary
#C7A873
accent
#A743E5
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82