#2B5FC2#2B5FC2
#2B5FC2 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 50.7% C 0.165 H 261.7°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).
Color values
| HEX | #2B5FC2 |
|---|---|
| RGB | rgb(43, 95, 194) |
| HSL | hsl(219, 64%, 46%) |
| HSV | hsv(219, 78%, 76%) |
| CMYK | cmyk(77.8%, 51%, 0%, 23.9%) |
| CIE-LAB | lab(42.14, 18.52, -56.76) |
| CIE-LCH | lch(42.14, 59.71, 288.07°) |
| OKLab | oklab(50.75% -0.0239 -0.1634) |
| OKLCH | oklch(50.75% 0.165 261.7) |
| XYZ | xyz(14.8226, 12.5913, 52.6776) |
| Luminance | 0.1259 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.35
Sapphire
#0F52BA
ΔE00 4.41
French Blue
#436BAD
ΔE00 4.73
Mid Blue
#276AB3
ΔE00 5.23
Azul
#1D5DEC
ΔE00 5.28
Royal Blue
#4169E1
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B5FC2 #C28E2B
analogous
#2BABC2 #2B5FC2 #432BC2
triadic
#2B5FC2 #C22B5F #5FC22B
tetradic
#2B5FC2 #C22BAB #C28E2B #2BC243
square
#2B5FC2 #C22BAB #C28E2B #2BC243
split-complementary
#2B5FC2 #C2432B #ABC22B
monochromatic
#152E5E #204690 #2B5FC2 #5280D9 #84A5E4
Accessibility & contrast
On white
5.97
#2B5FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#2B5FC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B5FC2
5.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B5FC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B5FC2 | 1.00 | 5.97 | 3.52 | 5.97 |
| #FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F6BC6
Deuteranopia (green-blind)
#005DC0
Tritanopia (blue-blind)
#007787
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #2b5fc2; /* rgb */ color: rgb(43, 95, 194); /* oklch */ color: oklch(50.7% 0.165 261.7);
Tailwind
colors: {
custom: {
50: '#7b8bd5',
500: '#2b5fc2',
950: '#000000',
},
}SCSS
$custom: #2b5fc2; $custom-light: #7b8bd5; $custom-dark: #000000;
JSON
{
"hex": "#2b5fc2",
"rgb": {
"r": 43,
"g": 95,
"b": 194
},
"hsl": {
"h": 219.338,
"s": 63.713,
"l": 46.471
},
"oklch": {
"l": 0.50747,
"c": 0.16514,
"h": 261.7
},
"luminance": 0.12593
}Semantic roles & 50–950 ramp
primary
#2B5FC2
secondary
#CDB17C
accent
#AE41E7
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83