#2B5CA2#2B5CA2
#2B5CA2 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 47.8% C 0.125 H 257.7°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).
Color values
| HEX | #2B5CA2 |
|---|---|
| RGB | rgb(43, 92, 162) |
| HSL | hsl(215, 58%, 40%) |
| HSV | hsv(215, 73%, 64%) |
| CMYK | cmyk(73.5%, 43.2%, 0%, 36.5%) |
| CIE-LAB | lab(39.20, 8.24, -42.69) |
| CIE-LCH | lch(39.20, 43.47, 280.92°) |
| OKLab | oklab(47.82% -0.0266 -0.122) |
| OKLCH | oklch(47.82% 0.125 257.7) |
| XYZ | xyz(11.3426, 10.7753, 35.6575) |
| Luminance | 0.1078 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 2.90
Denim
#1560BD
ΔE00 3.30
Light Navy Blue
#2E5A88
ΔE00 3.34
Dusk Blue
#26538D
ΔE00 3.76
Denim (survey)
#3B638C
ΔE00 3.97
Sapphire
#0F52BA
ΔE00 4.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B5CA2 #A2712B
analogous
#2B98A2 #2B5CA2 #352BA2
triadic
#2B5CA2 #A22B5C #5CA22B
tetradic
#2B5CA2 #A22B98 #A2712B #2BA235
square
#2B5CA2 #A22B98 #A2712B #2BA235
split-complementary
#2B5CA2 #A2352B #98A22B
monochromatic
#112541 #1E4172 #2B5CA2 #3E79CC #6F9AD9
Accessibility & contrast
On white
6.66
#2B5CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.16
#2B5CA2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B5CA2
6.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B5CA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B5CA2 | 1.00 | 6.66 | 3.16 | 6.66 |
| #FFFFFF | 6.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A62A5
Deuteranopia (green-blind)
#2557A1
Tritanopia (blue-blind)
#006C77
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #2b5ca2; /* rgb */ color: rgb(43, 92, 162); /* oklch */ color: oklch(47.8% 0.125 257.7);
Tailwind
colors: {
custom: {
50: '#7489be',
500: '#2b5ca2',
950: '#000000',
},
}SCSS
$custom: #2b5ca2; $custom-light: #7489be; $custom-dark: #000000;
JSON
{
"hex": "#2b5ca2",
"rgb": {
"r": 43,
"g": 92,
"b": 162
},
"hsl": {
"h": 215.294,
"s": 58.049,
"l": 40.196
},
"oklch": {
"l": 0.47818,
"c": 0.1249,
"h": 257.7
},
"luminance": 0.10777
}Semantic roles & 50–950 ramp
primary
#2B5CA2
secondary
#C09C69
accent
#A247E1
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#090B12
muted
#7B7C81