#2B5DC8#2B5DC8
#2B5DC8 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.8% C 0.176 H 262.9°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).
Color values
| HEX | #2B5DC8 |
|---|---|
| RGB | rgb(43, 93, 200) |
| HSL | hsl(221, 65%, 48%) |
| HSV | hsv(221, 79%, 78%) |
| CMYK | cmyk(78.5%, 53.5%, 0%, 21.6%) |
| CIE-LAB | lab(42.02, 22.11, -60.44) |
| CIE-LCH | lch(42.02, 64.36, 290.09°) |
| OKLab | oklab(50.79% -0.0218 -0.1742) |
| OKLCH | oklch(50.79% 0.176 262.9) |
| XYZ | xyz(15.3322, 12.5106, 56.2391) |
| Luminance | 0.1251 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 3.36
Sapphire
#0F52BA
ΔE00 4.16
Azul
#1D5DEC
ΔE00 4.41
French Blue
#436BAD
ΔE00 5.63
Royal Blue
#4169E1
ΔE00 5.65
Warm Blue
#4B57DB
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B5DC8 #C8962B
analogous
#2BABC8 #2B5DC8 #482BC8
triadic
#2B5DC8 #C82B5D #5DC82B
tetradic
#2B5DC8 #C82BAB #C8962B #2BC848
square
#2B5DC8 #C82BAB #C8962B #2BC848
split-complementary
#2B5DC8 #C8482B #ABC82B
monochromatic
#152E63 #204696 #2B5DC8 #5680DB #88A6E5
Accessibility & contrast
On white
6.00
#2B5DC8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#2B5DC8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B5DC8
6.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B5DC8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B5DC8 | 1.00 | 6.00 | 3.50 | 6.00 |
| #FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#026BCC
Deuteranopia (green-blind)
#005CC6
Tritanopia (blue-blind)
#007789
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #2b5dc8; /* rgb */ color: rgb(43, 93, 200); /* oklch */ color: oklch(50.8% 0.176 262.9);
Tailwind
colors: {
custom: {
50: '#7d8ad9',
500: '#2b5dc8',
950: '#000000',
},
}SCSS
$custom: #2b5dc8; $custom-light: #7d8ad9; $custom-dark: #000000;
JSON
{
"hex": "#2b5dc8",
"rgb": {
"r": 43,
"g": 93,
"b": 200
},
"hsl": {
"h": 220.892,
"s": 64.609,
"l": 47.647
},
"oklch": {
"l": 0.50787,
"c": 0.1756,
"h": 262.9
},
"luminance": 0.12512
}Semantic roles & 50–950 ramp
primary
#2B5DC8
secondary
#CFB680
accent
#B240E8
background
#F8F8FD
surface
#EFF0FB
border
#CACBD4
text
#0B0B15
muted
#7C7C83