#2B56B6#2B56B6
#2B56B6 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.9% C 0.160 H 263.4°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).
Color values
| HEX | #2B56B6 |
|---|---|
| RGB | rgb(43, 86, 182) |
| HSL | hsl(221, 62%, 44%) |
| HSV | hsv(221, 76%, 71%) |
| CMYK | cmyk(76.4%, 52.7%, 0%, 28.6%) |
| CIE-LAB | lab(38.80, 19.83, -55.16) |
| CIE-LCH | lch(38.80, 58.61, 289.77°) |
| OKLab | oklab(47.94% -0.0183 -0.1588) |
| OKLCH | oklch(47.94% 0.16 263.4) |
| XYZ | xyz(12.7645, 10.5451, 45.6096) |
| Luminance | 0.1055 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.87
Denim
#1560BD
ΔE00 4.46
Denim Blue
#3B5B92
ΔE00 4.95
Cobalt
#0047AB
ΔE00 5.07
Dusk Blue
#26538D
ΔE00 5.59
Dusky Blue
#475F94
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B56B6 #B68B2B
analogous
#2B9CB6 #2B56B6 #462BB6
triadic
#2B56B6 #B62B56 #56B62B
tetradic
#2B56B6 #B62B9C #B68B2B #2BB646
square
#2B56B6 #B62B9C #B68B2B #2BB646
split-complementary
#2B56B6 #B6462B #9CB62B
monochromatic
#142753 #1F3F84 #2B56B6 #4A75D4 #7B9BE0
Accessibility & contrast
On white
6.75
#2B56B6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#2B56B6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B56B6
6.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B56B6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B56B6 | 1.00 | 6.75 | 3.11 | 6.75 |
| #FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1162B9
Deuteranopia (green-blind)
#0055B4
Tritanopia (blue-blind)
#006D7D
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #2b56b6; /* rgb */ color: rgb(43, 86, 182); /* oklch */ color: oklch(47.9% 0.160 263.4);
Tailwind
colors: {
custom: {
50: '#7985cd',
500: '#2b56b6',
950: '#000000',
},
}SCSS
$custom: #2b56b6; $custom-light: #7985cd; $custom-dark: #000000;
JSON
{
"hex": "#2b56b6",
"rgb": {
"r": 43,
"g": 86,
"b": 182
},
"hsl": {
"h": 221.439,
"s": 61.778,
"l": 44.118
},
"oklch": {
"l": 0.47938,
"c": 0.15988,
"h": 263.4
},
"luminance": 0.10547
}Semantic roles & 50–950 ramp
primary
#2B56B6
secondary
#C8AE75
accent
#B343E5
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0B13
muted
#7C7C82