#2B5FB7#2B5FB7
#2B5FB7 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 49.9% C 0.150 H 260.3°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #2B5FB7 |
|---|---|
| RGB | rgb(43, 95, 183) |
| HSL | hsl(218, 62%, 44%) |
| HSV | hsv(218, 77%, 72%) |
| CMYK | cmyk(76.5%, 48.1%, 0%, 28.2%) |
| CIE-LAB | lab(41.40, 14.32, -51.55) |
| CIE-LCH | lch(41.40, 53.50, 285.52°) |
| OKLab | oklab(49.94% -0.0254 -0.1481) |
| OKLCH | oklch(49.94% 0.15 260.3) |
| XYZ | xyz(13.6326, 12.1154, 46.4106) |
| Luminance | 0.1212 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 1.67
Sapphire
#0F52BA
ΔE00 4.32
French Blue
#436BAD
ΔE00 4.37
Mid Blue
#276AB3
ΔE00 4.60
Denim Blue
#3B5B92
ΔE00 4.85
Denim (survey)
#3B638C
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B5FB7 #B7832B
analogous
#2BA5B7 #2B5FB7 #3D2BB7
triadic
#2B5FB7 #B72B5F #5FB72B
tetradic
#2B5FB7 #B72BA5 #B7832B #2BB73D
square
#2B5FB7 #B72BA5 #B7832B #2BB73D
split-complementary
#2B5FB7 #B73D2B #A5B72B
monochromatic
#142C54 #1F4585 #2B5FB7 #4B7ED5 #7CA1E0
Accessibility & contrast
On white
6.13
#2B5FB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#2B5FB7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B5FB7
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B5FB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B5FB7 | 1.00 | 6.13 | 3.42 | 6.13 |
| #FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E68BA
Deuteranopia (green-blind)
#005CB5
Tritanopia (blue-blind)
#007482
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #2b5fb7; /* rgb */ color: rgb(43, 95, 183); /* oklch */ color: oklch(49.9% 0.150 260.3);
Tailwind
colors: {
custom: {
50: '#798bcd',
500: '#2b5fb7',
950: '#000000',
},
}SCSS
$custom: #2b5fb7; $custom-light: #798bcd; $custom-dark: #000000;
JSON
{
"hex": "#2b5fb7",
"rgb": {
"r": 43,
"g": 95,
"b": 183
},
"hsl": {
"h": 217.714,
"s": 61.947,
"l": 44.314
},
"oklch": {
"l": 0.49942,
"c": 0.15022,
"h": 260.3
},
"luminance": 0.12117
}Semantic roles & 50–950 ramp
primary
#2B5FB7
secondary
#C9AA75
accent
#A943E5
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C13
muted
#7C7D82