#2B5EB3#2B5EB3
#2B5EB3 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.4% C 0.146 H 260.1°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #2B5EB3 |
|---|---|
| RGB | rgb(43, 94, 179) |
| HSL | hsl(218, 61%, 44%) |
| HSV | hsv(218, 76%, 70%) |
| CMYK | cmyk(76%, 47.5%, 0%, 29.8%) |
| CIE-LAB | lab(40.85, 13.44, -50.09) |
| CIE-LCH | lch(40.85, 51.86, 285.02°) |
| OKLab | oklab(49.44% -0.0252 -0.1438) |
| OKLCH | oklch(49.44% 0.146 260.1) |
| XYZ | xyz(13.1327, 11.7722, 44.2192) |
| Luminance | 0.1177 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 1.90
Sapphire
#0F52BA
ΔE00 4.08
Denim Blue
#3B5B92
ΔE00 4.37
French Blue
#436BAD
ΔE00 4.63
Mid Blue
#276AB3
ΔE00 4.81
Denim (survey)
#3B638C
ΔE00 4.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B5EB3 #B3802B
analogous
#2BA2B3 #2B5EB3 #3C2BB3
triadic
#2B5EB3 #B32B5E #5EB32B
tetradic
#2B5EB3 #B32BA2 #B3802B #2BB33C
square
#2B5EB3 #B32BA2 #B3802B #2BB33C
split-complementary
#2B5EB3 #B33C2B #A2B32B
monochromatic
#132A50 #1F4482 #2B5EB3 #487CD3 #79A0DF
Accessibility & contrast
On white
6.26
#2B5EB3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#2B5EB3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B5EB3
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B5EB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B5EB3 | 1.00 | 6.26 | 3.35 | 6.26 |
| #FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3067B6
Deuteranopia (green-blind)
#085AB1
Tritanopia (blue-blind)
#007280
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #2b5eb3; /* rgb */ color: rgb(43, 94, 179); /* oklch */ color: oklch(49.4% 0.146 260.1);
Tailwind
colors: {
custom: {
50: '#788bca',
500: '#2b5eb3',
950: '#000000',
},
}SCSS
$custom: #2b5eb3; $custom-light: #788bca; $custom-dark: #000000;
JSON
{
"hex": "#2b5eb3",
"rgb": {
"r": 43,
"g": 94,
"b": 179
},
"hsl": {
"h": 217.5,
"s": 61.261,
"l": 43.529
},
"oklch": {
"l": 0.49438,
"c": 0.14596,
"h": 260.1
},
"luminance": 0.11774
}Semantic roles & 50–950 ramp
primary
#2B5EB3
secondary
#C7A773
accent
#A843E4
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82