#2B5EB5#2B5EB5
#2B5EB5 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 49.6% C 0.149 H 260.4°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).
Color values
| HEX | #2B5EB5 |
|---|---|
| RGB | rgb(43, 94, 181) |
| HSL | hsl(218, 62%, 44%) |
| HSV | hsv(218, 76%, 71%) |
| CMYK | cmyk(76.2%, 48.1%, 0%, 29%) |
| CIE-LAB | lab(40.98, 14.20, -51.05) |
| CIE-LCH | lch(40.98, 52.99, 285.55°) |
| OKLab | oklab(49.58% -0.0249 -0.1466) |
| OKLCH | oklch(49.58% 0.149 260.4) |
| XYZ | xyz(13.3364, 11.8537, 45.2922) |
| Luminance | 0.1186 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 1.89
Sapphire
#0F52BA
ΔE00 4.03
Denim Blue
#3B5B92
ΔE00 4.56
French Blue
#436BAD
ΔE00 4.64
Mid Blue
#276AB3
ΔE00 4.88
Denim (survey)
#3B638C
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B5EB5 #B5822B
analogous
#2BA3B5 #2B5EB5 #3D2BB5
triadic
#2B5EB5 #B52B5E #5EB52B
tetradic
#2B5EB5 #B52BA3 #B5822B #2BB53D
square
#2B5EB5 #B52BA3 #B5822B #2BB53D
split-complementary
#2B5EB5 #B53D2B #A3B52B
monochromatic
#142B52 #1F4484 #2B5EB5 #497DD4 #7BA0E0
Accessibility & contrast
On white
6.23
#2B5EB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#2B5EB5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B5EB5
6.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B5EB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B5EB5 | 1.00 | 6.23 | 3.37 | 6.23 |
| #FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E67B8
Deuteranopia (green-blind)
#005BB3
Tritanopia (blue-blind)
#007381
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #2b5eb5; /* rgb */ color: rgb(43, 94, 181); /* oklch */ color: oklch(49.6% 0.149 260.4);
Tailwind
colors: {
custom: {
50: '#788bcc',
500: '#2b5eb5',
950: '#000000',
},
}SCSS
$custom: #2b5eb5; $custom-light: #788bcc; $custom-dark: #000000;
JSON
{
"hex": "#2b5eb5",
"rgb": {
"r": 43,
"g": 94,
"b": 181
},
"hsl": {
"h": 217.826,
"s": 61.607,
"l": 43.922
},
"oklch": {
"l": 0.49581,
"c": 0.1487,
"h": 260.4
},
"luminance": 0.11855
}Semantic roles & 50–950 ramp
primary
#2B5EB5
secondary
#C8A974
accent
#A943E5
background
#F7F8FC
surface
#EEF0F9
border
#C9CBD2
text
#0A0B13
muted
#7C7C82