#2B5EB9#2B5EB9
#2B5EB9 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 49.9% C 0.154 H 260.9°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).
Color values
| HEX | #2B5EB9 |
|---|---|
| RGB | rgb(43, 94, 185) |
| HSL | hsl(218, 62%, 45%) |
| HSV | hsv(218, 77%, 73%) |
| CMYK | cmyk(76.8%, 49.2%, 0%, 27.5%) |
| CIE-LAB | lab(41.25, 15.74, -52.96) |
| CIE-LCH | lch(41.25, 55.25, 286.55°) |
| OKLab | oklab(49.87% -0.0243 -0.1522) |
| OKLCH | oklch(49.87% 0.154 260.9) |
| XYZ | xyz(13.7528, 12.0202, 47.4848) |
| Luminance | 0.1202 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 1.97
Sapphire
#0F52BA
ΔE00 3.97
French Blue
#436BAD
ΔE00 4.70
Denim Blue
#3B5B92
ΔE00 4.97
Mid Blue
#276AB3
ΔE00 5.05
Denim (survey)
#3B638C
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B5EB9 #B9862B
analogous
#2BA5B9 #2B5EB9 #3F2BB9
triadic
#2B5EB9 #B92B5E #5EB92B
tetradic
#2B5EB9 #B92BA5 #B9862B #2BB93F
square
#2B5EB9 #B92BA5 #B9862B #2BB93F
split-complementary
#2B5EB9 #B93F2B #A5B92B
monochromatic
#142C56 #1F4587 #2B5EB9 #4C7DD5 #7EA1E1
Accessibility & contrast
On white
6.17
#2B5EB9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#2B5EB9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B5EB9
6.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B5EB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B5EB9 | 1.00 | 6.17 | 3.40 | 6.17 |
| #FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2968BC
Deuteranopia (green-blind)
#005BB7
Tritanopia (blue-blind)
#007482
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #2b5eb9; /* rgb */ color: rgb(43, 94, 185); /* oklch */ color: oklch(49.9% 0.154 260.9);
Tailwind
colors: {
custom: {
50: '#798bcf',
500: '#2b5eb9',
950: '#000000',
},
}SCSS
$custom: #2b5eb9; $custom-light: #798bcf; $custom-dark: #000000;
JSON
{
"hex": "#2b5eb9",
"rgb": {
"r": 43,
"g": 94,
"b": 185
},
"hsl": {
"h": 218.451,
"s": 62.281,
"l": 44.706
},
"oklch": {
"l": 0.49869,
"c": 0.15416,
"h": 260.9
},
"luminance": 0.12022
}Semantic roles & 50–950 ramp
primary
#2B5EB9
secondary
#C9AC76
accent
#AB42E5
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0B14
muted
#7C7C82