#2B5AB3#2B5AB3
#2B5AB3 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.6% C 0.151 H 261.7°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).
Color values
| HEX | #2B5AB3 |
|---|---|
| RGB | rgb(43, 90, 179) |
| HSL | hsl(219, 61%, 44%) |
| HSV | hsv(219, 76%, 70%) |
| CMYK | cmyk(76%, 49.7%, 0%, 29.8%) |
| CIE-LAB | lab(39.71, 16.05, -51.92) |
| CIE-LCH | lch(39.71, 54.35, 287.18°) |
| OKLab | oklab(48.57% -0.0219 -0.1492) |
| OKLCH | oklch(48.57% 0.151 261.7) |
| XYZ | xyz(12.7862, 11.0792, 44.1037) |
| Luminance | 0.1108 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.83
Denim
#1560BD
ΔE00 3.08
Denim Blue
#3B5B92
ΔE00 4.25
Dusk Blue
#26538D
ΔE00 5.25
Light Navy Blue
#2E5A88
ΔE00 5.36
Dusky Blue
#475F94
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B5AB3 #B3842B
analogous
#2B9EB3 #2B5AB3 #402BB3
triadic
#2B5AB3 #B32B5A #5AB32B
tetradic
#2B5AB3 #B32B9E #B3842B #2BB340
square
#2B5AB3 #B32B9E #B3842B #2BB340
split-complementary
#2B5AB3 #B3402B #9EB32B
monochromatic
#132850 #1F4182 #2B5AB3 #4878D3 #799DDF
Accessibility & contrast
On white
6.53
#2B5AB3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.22
#2B5AB3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B5AB3
6.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B5AB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B5AB3 | 1.00 | 6.53 | 3.22 | 6.53 |
| #FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2664B6
Deuteranopia (green-blind)
#0058B1
Tritanopia (blue-blind)
#006F7E
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #2b5ab3; /* rgb */ color: rgb(43, 90, 179); /* oklch */ color: oklch(48.6% 0.151 261.7);
Tailwind
colors: {
custom: {
50: '#7888ca',
500: '#2b5ab3',
950: '#000000',
},
}SCSS
$custom: #2b5ab3; $custom-light: #7888ca; $custom-dark: #000000;
JSON
{
"hex": "#2b5ab3",
"rgb": {
"r": 43,
"g": 90,
"b": 179
},
"hsl": {
"h": 219.265,
"s": 61.261,
"l": 43.529
},
"oklch": {
"l": 0.48565,
"c": 0.15084,
"h": 261.7
},
"luminance": 0.11081
}Semantic roles & 50–950 ramp
primary
#2B5AB3
secondary
#C7AA73
accent
#AD43E4
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82