#2B56BB#2B56BB
#2B56BB is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.3% C 0.167 H 263.8°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).
Color values
| HEX | #2B56BB |
|---|---|
| RGB | rgb(43, 86, 187) |
| HSL | hsl(222, 63%, 45%) |
| HSV | hsv(222, 77%, 73%) |
| CMYK | cmyk(77%, 54%, 0%, 26.7%) |
| CIE-LAB | lab(39.17, 21.74, -57.50) |
| CIE-LCH | lch(39.17, 61.47, 290.71°) |
| OKLab | oklab(48.33% -0.0179 -0.1657) |
| OKLCH | oklch(48.33% 0.167 263.8) |
| XYZ | xyz(13.2905, 10.7555, 48.3796) |
| Luminance | 0.1076 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.00
Denim
#1560BD
ΔE00 4.59
Cobalt
#0047AB
ΔE00 5.31
Denim Blue
#3B5B92
ΔE00 5.52
Dusk Blue
#26538D
ΔE00 6.23
Azul
#1D5DEC
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B56BB #BB902B
analogous
#2B9EBB #2B56BB #482BBB
triadic
#2B56BB #BB2B56 #56BB2B
tetradic
#2B56BB #BB2B9E #BB902B #2BBB48
square
#2B56BB #BB2B9E #BB902B #2BBB48
split-complementary
#2B56BB #BB482B #9EBB2B
monochromatic
#142857 #203F89 #2B56BB #4D76D6 #7F9CE2
Accessibility & contrast
On white
6.66
#2B56BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#2B56BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B56BB
6.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B56BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B56BB | 1.00 | 6.66 | 3.15 | 6.66 |
| #FFFFFF | 6.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063BF
Deuteranopia (green-blind)
#0056B9
Tritanopia (blue-blind)
#006F80
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #2b56bb; /* rgb */ color: rgb(43, 86, 187); /* oklch */ color: oklch(48.3% 0.167 263.8);
Tailwind
colors: {
custom: {
50: '#7a85d0',
500: '#2b56bb',
950: '#000000',
},
}SCSS
$custom: #2b56bb; $custom-light: #7a85d0; $custom-dark: #000000;
JSON
{
"hex": "#2b56bb",
"rgb": {
"r": 43,
"g": 86,
"b": 187
},
"hsl": {
"h": 222.083,
"s": 62.609,
"l": 45.098
},
"oklch": {
"l": 0.48327,
"c": 0.16669,
"h": 263.8
},
"luminance": 0.10757
}Semantic roles & 50–950 ramp
primary
#2B56BB
secondary
#CAB278
accent
#B542E6
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82