#2B5EB8#2B5EB8
#2B5EB8 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 49.8% C 0.153 H 260.8°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #2B5EB8 |
|---|---|
| RGB | rgb(43, 94, 184) |
| HSL | hsl(218, 62%, 45%) |
| HSV | hsv(218, 77%, 72%) |
| CMYK | cmyk(76.6%, 48.9%, 0%, 27.8%) |
| CIE-LAB | lab(41.18, 15.35, -52.49) |
| CIE-LCH | lch(41.18, 54.69, 286.30°) |
| OKLab | oklab(49.8% -0.0244 -0.1508) |
| OKLCH | oklch(49.8% 0.153 260.8) |
| XYZ | xyz(13.6476, 11.9781, 46.9308) |
| Luminance | 0.1198 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 1.93
Sapphire
#0F52BA
ΔE00 3.97
French Blue
#436BAD
ΔE00 4.68
Denim Blue
#3B5B92
ΔE00 4.86
Mid Blue
#276AB3
ΔE00 5.01
Denim (survey)
#3B638C
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B5EB8 #B8852B
analogous
#2BA5B8 #2B5EB8 #3F2BB8
triadic
#2B5EB8 #B82B5E #5EB82B
tetradic
#2B5EB8 #B82BA5 #B8852B #2BB83F
square
#2B5EB8 #B82BA5 #B8852B #2BB83F
split-complementary
#2B5EB8 #B83F2B #A5B82B
monochromatic
#142B55 #1F4586 #2B5EB8 #4B7DD5 #7DA1E1
Accessibility & contrast
On white
6.18
#2B5EB8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#2B5EB8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B5EB8
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B5EB8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B5EB8 | 1.00 | 6.18 | 3.40 | 6.18 |
| #FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A68BB
Deuteranopia (green-blind)
#005BB6
Tritanopia (blue-blind)
#007482
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #2b5eb8; /* rgb */ color: rgb(43, 94, 184); /* oklch */ color: oklch(49.8% 0.153 260.8);
Tailwind
colors: {
custom: {
50: '#798bce',
500: '#2b5eb8',
950: '#000000',
},
}SCSS
$custom: #2b5eb8; $custom-light: #798bce; $custom-dark: #000000;
JSON
{
"hex": "#2b5eb8",
"rgb": {
"r": 43,
"g": 94,
"b": 184
},
"hsl": {
"h": 218.298,
"s": 62.115,
"l": 44.51
},
"oklch": {
"l": 0.49797,
"c": 0.1528,
"h": 260.8
},
"luminance": 0.1198
}Semantic roles & 50–950 ramp
primary
#2B5EB8
secondary
#C9AB76
accent
#AA43E5
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0B14
muted
#7C7C82