#2B5EB2#2B5EB2
#2B5EB2 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.4% C 0.145 H 259.9°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #2B5EB2 |
|---|---|
| RGB | rgb(43, 94, 178) |
| HSL | hsl(217, 61%, 43%) |
| HSV | hsv(217, 76%, 70%) |
| CMYK | cmyk(75.8%, 47.2%, 0%, 30.2%) |
| CIE-LAB | lab(40.79, 13.06, -49.61) |
| CIE-LCH | lch(40.79, 51.29, 284.74°) |
| OKLab | oklab(49.37% -0.0254 -0.1423) |
| OKLCH | oklch(49.37% 0.145 259.9) |
| XYZ | xyz(13.0319, 11.7319, 43.6885) |
| Luminance | 0.1173 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 1.91
Sapphire
#0F52BA
ΔE00 4.12
Denim Blue
#3B5B92
ΔE00 4.28
French Blue
#436BAD
ΔE00 4.63
Mid Blue
#276AB3
ΔE00 4.78
Denim (survey)
#3B638C
ΔE00 4.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B5EB2 #B27F2B
analogous
#2BA1B2 #2B5EB2 #3B2BB2
triadic
#2B5EB2 #B22B5E #5EB22B
tetradic
#2B5EB2 #B22BA1 #B27F2B #2BB23B
square
#2B5EB2 #B22BA1 #B27F2B #2BB23B
split-complementary
#2B5EB2 #B23B2B #A1B22B
monochromatic
#132A4F #1F4481 #2B5EB2 #487CD3 #799FDF
Accessibility & contrast
On white
6.28
#2B5EB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#2B5EB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B5EB2
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B5EB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B5EB2 | 1.00 | 6.28 | 3.35 | 6.28 |
| #FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3167B5
Deuteranopia (green-blind)
#0C5AB0
Tritanopia (blue-blind)
#00727F
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #2b5eb2; /* rgb */ color: rgb(43, 94, 178); /* oklch */ color: oklch(49.4% 0.145 259.9);
Tailwind
colors: {
custom: {
50: '#778bc9',
500: '#2b5eb2',
950: '#000000',
},
}SCSS
$custom: #2b5eb2; $custom-light: #778bc9; $custom-dark: #000000;
JSON
{
"hex": "#2b5eb2",
"rgb": {
"r": 43,
"g": 94,
"b": 178
},
"hsl": {
"h": 217.333,
"s": 61.086,
"l": 43.333
},
"oklch": {
"l": 0.49367,
"c": 0.14459,
"h": 259.9
},
"luminance": 0.11733
}Semantic roles & 50–950 ramp
primary
#2B5EB2
secondary
#C7A772
accent
#A844E4
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82