#2B5FB1#2B5FB1
#2B5FB1 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 49.5% C 0.142 H 259.3°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #2B5FB1 |
|---|---|
| RGB | rgb(43, 95, 177) |
| HSL | hsl(217, 61%, 43%) |
| HSV | hsv(217, 76%, 69%) |
| CMYK | cmyk(75.7%, 46.3%, 0%, 30.6%) |
| CIE-LAB | lab(41.01, 12.02, -48.66) |
| CIE-LCH | lch(41.01, 50.12, 283.88°) |
| OKLab | oklab(49.52% -0.0264 -0.1395) |
| OKLCH | oklch(49.52% 0.142 259.3) |
| XYZ | xyz(13.0214, 11.8709, 43.1915) |
| Luminance | 0.1187 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 1.73
Denim Blue
#3B5B92
ΔE00 4.31
French Blue
#436BAD
ΔE00 4.36
Mid Blue
#276AB3
ΔE00 4.38
Sapphire
#0F52BA
ΔE00 4.49
Denim (survey)
#3B638C
ΔE00 4.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B5FB1 #B17D2B
analogous
#2BA2B1 #2B5FB1 #3A2BB1
triadic
#2B5FB1 #B12B5F #5FB12B
tetradic
#2B5FB1 #B12BA2 #B17D2B #2BB13A
square
#2B5FB1 #B12BA2 #B17D2B #2BB13A
split-complementary
#2B5FB1 #B13A2B #A2B12B
monochromatic
#132A4F #1F4580 #2B5FB1 #477DD2 #78A0DE
Accessibility & contrast
On white
6.22
#2B5FB1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#2B5FB1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B5FB1
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B5FB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B5FB1 | 1.00 | 6.22 | 3.37 | 6.22 |
| #FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3467B4
Deuteranopia (green-blind)
#145BAF
Tritanopia (blue-blind)
#00727F
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #2b5fb1; /* rgb */ color: rgb(43, 95, 177); /* oklch */ color: oklch(49.5% 0.142 259.3);
Tailwind
colors: {
custom: {
50: '#778bc9',
500: '#2b5fb1',
950: '#000000',
},
}SCSS
$custom: #2b5fb1; $custom-light: #778bc9; $custom-dark: #000000;
JSON
{
"hex": "#2b5fb1",
"rgb": {
"r": 43,
"g": 95,
"b": 177
},
"hsl": {
"h": 216.716,
"s": 60.909,
"l": 43.137
},
"oklch": {
"l": 0.49518,
"c": 0.14203,
"h": 259.3
},
"luminance": 0.11872
}Semantic roles & 50–950 ramp
primary
#2B5FB1
secondary
#C6A572
accent
#A644E4
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82