#2B5EBB#2B5EBB
#2B5EBB is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.0% C 0.157 H 261.2°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #2B5EBB |
|---|---|
| RGB | rgb(43, 94, 187) |
| HSL | hsl(219, 63%, 45%) |
| HSV | hsv(219, 77%, 73%) |
| CMYK | cmyk(77%, 49.7%, 0%, 26.7%) |
| CIE-LAB | lab(41.38, 16.50, -53.92) |
| CIE-LCH | lch(41.38, 56.38, 287.02°) |
| OKLab | oklab(50.02% -0.024 -0.155) |
| OKLCH | oklch(50.02% 0.157 261.2) |
| XYZ | xyz(13.9654, 12.1053, 48.6046) |
| Luminance | 0.1211 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.06
Sapphire
#0F52BA
ΔE00 3.96
French Blue
#436BAD
ΔE00 4.75
Mid Blue
#276AB3
ΔE00 5.15
Denim Blue
#3B5B92
ΔE00 5.18
Denim (survey)
#3B638C
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B5EBB #BB882B
analogous
#2BA6BB #2B5EBB #402BBB
triadic
#2B5EBB #BB2B5E #5EBB2B
tetradic
#2B5EBB #BB2BA6 #BB882B #2BBB40
square
#2B5EBB #BB2BA6 #BB882B #2BBB40
split-complementary
#2B5EBB #BB402B #A6BB2B
monochromatic
#142C57 #204589 #2B5EBB #4D7ED6 #7FA2E2
Accessibility & contrast
On white
6.14
#2B5EBB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#2B5EBB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B5EBB
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B5EBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B5EBB | 1.00 | 6.14 | 3.42 | 6.14 |
| #FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2669BE
Deuteranopia (green-blind)
#005BB9
Tritanopia (blue-blind)
#007483
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #2b5ebb; /* rgb */ color: rgb(43, 94, 187); /* oklch */ color: oklch(50.0% 0.157 261.2);
Tailwind
colors: {
custom: {
50: '#798bd0',
500: '#2b5ebb',
950: '#000000',
},
}SCSS
$custom: #2b5ebb; $custom-light: #798bd0; $custom-dark: #000000;
JSON
{
"hex": "#2b5ebb",
"rgb": {
"r": 43,
"g": 94,
"b": 187
},
"hsl": {
"h": 218.75,
"s": 62.609,
"l": 45.098
},
"oklch": {
"l": 0.50015,
"c": 0.15688,
"h": 261.2
},
"luminance": 0.12107
}Semantic roles & 50–950 ramp
primary
#2B5EBB
secondary
#CAAD78
accent
#AC42E6
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0B14
muted
#7C7C82