#2B56AA#2B56AA
#2B56AA is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.0% C 0.143 H 262.1°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).
Color values
| HEX | #2B56AA |
|---|---|
| RGB | rgb(43, 86, 170) |
| HSL | hsl(220, 60%, 42%) |
| HSV | hsv(220, 75%, 67%) |
| CMYK | cmyk(74.7%, 49.4%, 0%, 33.3%) |
| CIE-LAB | lab(37.97, 15.23, -49.42) |
| CIE-LCH | lch(37.97, 51.71, 287.13°) |
| OKLab | oklab(47.04% -0.0198 -0.1419) |
| OKLCH | oklch(47.04% 0.143 262.1) |
| XYZ | xyz(11.5771, 10.0702, 39.3560) |
| Luminance | 0.1007 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.49
Denim Blue
#3B5B92
ΔE00 3.68
Dusk Blue
#26538D
ΔE00 4.04
Denim
#1560BD
ΔE00 4.50
Light Navy Blue
#2E5A88
ΔE00 4.85
Cobalt
#0047AB
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B56AA #AA7F2B
analogous
#2B96AA #2B56AA #402BAA
triadic
#2B56AA #AA2B56 #56AA2B
tetradic
#2B56AA #AA2B96 #AA7F2B #2BAA40
square
#2B56AA #AA2B96 #AA7F2B #2BAA40
split-complementary
#2B56AA #AA402B #96AA2B
monochromatic
#122548 #1F3D79 #2B56AA #4372CF #7497DC
Accessibility & contrast
On white
6.97
#2B56AA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.01
#2B56AA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B56AA
6.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B56AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B56AA | 1.00 | 6.97 | 3.01 | 6.97 |
| #FFFFFF | 6.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2660AD
Deuteranopia (green-blind)
#0054A8
Tritanopia (blue-blind)
#006A78
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #2b56aa; /* rgb */ color: rgb(43, 86, 170); /* oklch */ color: oklch(47.0% 0.143 262.1);
Tailwind
colors: {
custom: {
50: '#7685c4',
500: '#2b56aa',
950: '#000000',
},
}SCSS
$custom: #2b56aa; $custom-light: #7685c4; $custom-dark: #000000;
JSON
{
"hex": "#2b56aa",
"rgb": {
"r": 43,
"g": 86,
"b": 170
},
"hsl": {
"h": 219.685,
"s": 59.624,
"l": 41.765
},
"oklch": {
"l": 0.47035,
"c": 0.14332,
"h": 262.1
},
"luminance": 0.10071
}Semantic roles & 50–950 ramp
primary
#2B56AA
secondary
#C3A66E
accent
#AD45E3
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82