#2B5EB6#2B5EB6
#2B5EB6 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 49.7% C 0.150 H 260.5°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #2B5EB6 |
|---|---|
| RGB | rgb(43, 94, 182) |
| HSL | hsl(218, 62%, 44%) |
| HSV | hsv(218, 76%, 71%) |
| CMYK | cmyk(76.4%, 48.4%, 0%, 28.6%) |
| CIE-LAB | lab(41.05, 14.59, -51.53) |
| CIE-LCH | lch(41.05, 53.56, 285.81°) |
| OKLab | oklab(49.65% -0.0247 -0.148) |
| OKLCH | oklch(49.65% 0.15 260.5) |
| XYZ | xyz(13.4394, 11.8949, 45.8345) |
| Luminance | 0.1190 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 1.89
Sapphire
#0F52BA
ΔE00 4.00
French Blue
#436BAD
ΔE00 4.65
Denim Blue
#3B5B92
ΔE00 4.66
Mid Blue
#276AB3
ΔE00 4.92
Denim (survey)
#3B638C
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B5EB6 #B6832B
analogous
#2BA4B6 #2B5EB6 #3E2BB6
triadic
#2B5EB6 #B62B5E #5EB62B
tetradic
#2B5EB6 #B62BA4 #B6832B #2BB63E
square
#2B5EB6 #B62BA4 #B6832B #2BB63E
split-complementary
#2B5EB6 #B63E2B #A4B62B
monochromatic
#142B53 #1F4484 #2B5EB6 #4A7DD4 #7BA0E0
Accessibility & contrast
On white
6.21
#2B5EB6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#2B5EB6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B5EB6
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B5EB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B5EB6 | 1.00 | 6.21 | 3.38 | 6.21 |
| #FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C68B9
Deuteranopia (green-blind)
#005BB4
Tritanopia (blue-blind)
#007381
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #2b5eb6; /* rgb */ color: rgb(43, 94, 182); /* oklch */ color: oklch(49.7% 0.150 260.5);
Tailwind
colors: {
custom: {
50: '#788bcc',
500: '#2b5eb6',
950: '#000000',
},
}SCSS
$custom: #2b5eb6; $custom-light: #788bcc; $custom-dark: #000000;
JSON
{
"hex": "#2b5eb6",
"rgb": {
"r": 43,
"g": 94,
"b": 182
},
"hsl": {
"h": 217.986,
"s": 61.778,
"l": 44.118
},
"oklch": {
"l": 0.49652,
"c": 0.15007,
"h": 260.5
},
"luminance": 0.11896
}Semantic roles & 50–950 ramp
primary
#2B5EB6
secondary
#C8AA75
accent
#A943E5
background
#F7F8FC
surface
#EEF0F9
border
#C9CBD2
text
#0A0B13
muted
#7C7C82