#2B5EA7#2B5EA7
#2B5EA7 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 48.6% C 0.129 H 257.8°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).
Color values
| HEX | #2B5EA7 |
|---|---|
| RGB | rgb(43, 94, 167) |
| HSL | hsl(215, 59%, 41%) |
| HSV | hsv(215, 74%, 65%) |
| CMYK | cmyk(74.3%, 43.7%, 0%, 34.5%) |
| CIE-LAB | lab(40.09, 8.85, -44.23) |
| CIE-LCH | lch(40.09, 45.10, 281.32°) |
| OKLab | oklab(48.61% -0.0274 -0.1265) |
| OKLCH | oklch(48.61% 0.129 257.8) |
| XYZ | xyz(11.9715, 11.3077, 38.1034) |
| Luminance | 0.1131 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.55
Denim Blue
#3B5B92
ΔE00 3.45
Light Navy Blue
#2E5A88
ΔE00 3.95
Denim (survey)
#3B638C
ΔE00 3.95
Dusk Blue
#26538D
ΔE00 4.61
Mid Blue
#276AB3
ΔE00 4.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B5EA7 #A7742B
analogous
#2B9CA7 #2B5EA7 #362BA7
triadic
#2B5EA7 #A72B5E #5EA72B
tetradic
#2B5EA7 #A72B9C #A7742B #2BA736
square
#2B5EA7 #A72B9C #A7742B #2BA736
split-complementary
#2B5EA7 #A7362B #9CA72B
monochromatic
#122746 #1E4376 #2B5EA7 #417BCE #729DDB
Accessibility & contrast
On white
6.44
#2B5EA7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#2B5EA7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B5EA7
6.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B5EA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B5EA7 | 1.00 | 6.44 | 3.26 | 6.44 |
| #FFFFFF | 6.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A65AA
Deuteranopia (green-blind)
#2359A6
Tritanopia (blue-blind)
#006F7A
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #2b5ea7; /* rgb */ color: rgb(43, 94, 167); /* oklch */ color: oklch(48.6% 0.129 257.8);
Tailwind
colors: {
custom: {
50: '#758bc1',
500: '#2b5ea7',
950: '#000000',
},
}SCSS
$custom: #2b5ea7; $custom-light: #758bc1; $custom-dark: #000000;
JSON
{
"hex": "#2b5ea7",
"rgb": {
"r": 43,
"g": 94,
"b": 167
},
"hsl": {
"h": 215.323,
"s": 59.048,
"l": 41.176
},
"oklch": {
"l": 0.48609,
"c": 0.12946,
"h": 257.8
},
"luminance": 0.11309
}Semantic roles & 50–950 ramp
primary
#2B5EA7
secondary
#C29F6C
accent
#A246E2
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#090B12
muted
#7B7C81