#2B56B7#2B56B7
#2B56B7 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.0% C 0.161 H 263.5°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #2B56B7 |
|---|---|
| RGB | rgb(43, 86, 183) |
| HSL | hsl(222, 62%, 44%) |
| HSV | hsv(222, 77%, 72%) |
| CMYK | cmyk(76.5%, 53%, 0%, 28.2%) |
| CIE-LAB | lab(38.88, 20.21, -55.63) |
| CIE-LCH | lch(38.88, 59.19, 289.97°) |
| OKLab | oklab(48.02% -0.0182 -0.1602) |
| OKLCH | oklch(48.02% 0.161 263.5) |
| XYZ | xyz(12.8682, 10.5866, 46.1558) |
| Luminance | 0.1059 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.87
Denim
#1560BD
ΔE00 4.48
Denim Blue
#3B5B92
ΔE00 5.07
Cobalt
#0047AB
ΔE00 5.11
Dusk Blue
#26538D
ΔE00 5.71
Dusky Blue
#475F94
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B56B7 #B78C2B
analogous
#2B9CB7 #2B56B7 #462BB7
triadic
#2B56B7 #B72B56 #56B72B
tetradic
#2B56B7 #B72B9C #B78C2B #2BB746
square
#2B56B7 #B72B9C #B78C2B #2BB746
split-complementary
#2B56B7 #B7462B #9CB72B
monochromatic
#142754 #1F3F85 #2B56B7 #4B75D5 #7C9BE0
Accessibility & contrast
On white
6.74
#2B56B7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#2B56B7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B56B7
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B56B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B56B7 | 1.00 | 6.74 | 3.12 | 6.74 |
| #FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F62BA
Deuteranopia (green-blind)
#0055B5
Tritanopia (blue-blind)
#006E7E
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #2b56b7; /* rgb */ color: rgb(43, 86, 183); /* oklch */ color: oklch(48.0% 0.161 263.5);
Tailwind
colors: {
custom: {
50: '#7985cd',
500: '#2b56b7',
950: '#000000',
},
}SCSS
$custom: #2b56b7; $custom-light: #7985cd; $custom-dark: #000000;
JSON
{
"hex": "#2b56b7",
"rgb": {
"r": 43,
"g": 86,
"b": 183
},
"hsl": {
"h": 221.571,
"s": 61.947,
"l": 44.314
},
"oklch": {
"l": 0.48015,
"c": 0.16125,
"h": 263.5
},
"luminance": 0.10588
}Semantic roles & 50–950 ramp
primary
#2B56B7
secondary
#C9AF75
accent
#B343E5
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0B14
muted
#7C7C82