#2B5AB9#2B5AB9
#2B5AB9 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.0% C 0.159 H 262.4°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).
Color values
| HEX | #2B5AB9 |
|---|---|
| RGB | rgb(43, 90, 185) |
| HSL | hsl(220, 62%, 45%) |
| HSV | hsv(220, 77%, 73%) |
| CMYK | cmyk(76.8%, 51.4%, 0%, 27.5%) |
| CIE-LAB | lab(40.13, 18.35, -54.78) |
| CIE-LCH | lch(40.13, 57.77, 288.52°) |
| OKLab | oklab(49.01% -0.0211 -0.1576) |
| OKLCH | oklch(49.01% 0.159 262.4) |
| XYZ | xyz(13.4062, 11.3272, 47.3693) |
| Luminance | 0.1133 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.74
Denim
#1560BD
ΔE00 3.18
Denim Blue
#3B5B92
ΔE00 4.92
Dusky Blue
#475F94
ΔE00 5.88
French Blue
#436BAD
ΔE00 5.94
Dusk Blue
#26538D
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B5AB9 #B98A2B
analogous
#2BA1B9 #2B5AB9 #432BB9
triadic
#2B5AB9 #B92B5A #5AB92B
tetradic
#2B5AB9 #B92BA1 #B98A2B #2BB943
square
#2B5AB9 #B92BA1 #B98A2B #2BB943
split-complementary
#2B5AB9 #B9432B #A1B92B
monochromatic
#142A56 #1F4287 #2B5AB9 #4C79D5 #7E9EE1
Accessibility & contrast
On white
6.43
#2B5AB9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#2B5AB9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B5AB9
6.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B5AB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B5AB9 | 1.00 | 6.43 | 3.27 | 6.43 |
| #FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C65BC
Deuteranopia (green-blind)
#0058B7
Tritanopia (blue-blind)
#007181
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #2b5ab9; /* rgb */ color: rgb(43, 90, 185); /* oklch */ color: oklch(49.0% 0.159 262.4);
Tailwind
colors: {
custom: {
50: '#7988cf',
500: '#2b5ab9',
950: '#000000',
},
}SCSS
$custom: #2b5ab9; $custom-light: #7988cf; $custom-dark: #000000;
JSON
{
"hex": "#2b5ab9",
"rgb": {
"r": 43,
"g": 90,
"b": 185
},
"hsl": {
"h": 220.141,
"s": 62.281,
"l": 44.706
},
"oklch": {
"l": 0.49012,
"c": 0.15905,
"h": 262.4
},
"luminance": 0.11329
}Semantic roles & 50–950 ramp
primary
#2B5AB9
secondary
#C9AE76
accent
#AF42E5
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0B14
muted
#7C7C82