#2B5FB3#2B5FB3
#2B5FB3 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 49.7% C 0.145 H 259.6°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).
Color values
| HEX | #2B5FB3 |
|---|---|
| RGB | rgb(43, 95, 179) |
| HSL | hsl(217, 61%, 44%) |
| HSV | hsv(217, 76%, 70%) |
| CMYK | cmyk(76%, 46.9%, 0%, 29.8%) |
| CIE-LAB | lab(41.14, 12.79, -49.63) |
| CIE-LCH | lch(41.14, 51.25, 284.45°) |
| OKLab | oklab(49.66% -0.0261 -0.1424) |
| OKLCH | oklch(49.66% 0.145 259.6) |
| XYZ | xyz(13.2222, 11.9512, 44.2490) |
| Luminance | 0.1195 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 1.67
French Blue
#436BAD
ΔE00 4.35
Sapphire
#0F52BA
ΔE00 4.42
Mid Blue
#276AB3
ΔE00 4.44
Denim Blue
#3B5B92
ΔE00 4.48
Denim (survey)
#3B638C
ΔE00 4.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B5FB3 #B37F2B
analogous
#2BA3B3 #2B5FB3 #3B2BB3
triadic
#2B5FB3 #B32B5F #5FB32B
tetradic
#2B5FB3 #B32BA3 #B37F2B #2BB33B
square
#2B5FB3 #B32BA3 #B37F2B #2BB33B
split-complementary
#2B5FB3 #B33B2B #A3B32B
monochromatic
#132B50 #1F4582 #2B5FB3 #487DD3 #79A0DF
Accessibility & contrast
On white
6.19
#2B5FB3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#2B5FB3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B5FB3
6.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B5FB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B5FB3 | 1.00 | 6.19 | 3.39 | 6.19 |
| #FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3268B6
Deuteranopia (green-blind)
#0F5BB1
Tritanopia (blue-blind)
#007380
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #2b5fb3; /* rgb */ color: rgb(43, 95, 179); /* oklch */ color: oklch(49.7% 0.145 259.6);
Tailwind
colors: {
custom: {
50: '#788bca',
500: '#2b5fb3',
950: '#000000',
},
}SCSS
$custom: #2b5fb3; $custom-light: #788bca; $custom-dark: #000000;
JSON
{
"hex": "#2b5fb3",
"rgb": {
"r": 43,
"g": 95,
"b": 179
},
"hsl": {
"h": 217.059,
"s": 61.261,
"l": 43.529
},
"oklch": {
"l": 0.49658,
"c": 0.14476,
"h": 259.6
},
"luminance": 0.11953
}Semantic roles & 50–950 ramp
primary
#2B5FB3
secondary
#C7A773
accent
#A743E4
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82