#2B5298#2B5298
#2B5298 is a dark, vivid blue. Relative luminance 0.088; OKLCH L 44.9% C 0.123 H 261.1°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).
Color values
| HEX | #2B5298 |
|---|---|
| RGB | rgb(43, 82, 152) |
| HSL | hsl(219, 56%, 38%) |
| HSV | hsv(219, 72%, 60%) |
| CMYK | cmyk(71.7%, 46.1%, 0%, 40.4%) |
| CIE-LAB | lab(35.62, 10.97, -42.41) |
| CIE-LCH | lch(35.62, 43.81, 284.50°) |
| OKLab | oklab(44.86% -0.0191 -0.1214) |
| OKLCH | oklch(44.86% 0.123 261.1) |
| XYZ | xyz(9.6790, 8.8142, 30.8909) |
| Luminance | 0.0882 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 2.14
Denim Blue
#3B5B92
ΔE00 3.32
Cobalt (survey)
#1E488F
ΔE00 3.33
Light Navy Blue
#2E5A88
ΔE00 4.15
Sapphire
#0F52BA
ΔE00 4.24
Light Navy
#155084
ΔE00 4.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B5298 #98712B
analogous
#2B8898 #2B5298 #3A2B98
triadic
#2B5298 #982B52 #52982B
tetradic
#2B5298 #982B88 #98712B #2B983A
square
#2B5298 #982B88 #98712B #2B983A
split-complementary
#2B5298 #983A2B #88982B
monochromatic
#101F39 #1E3868 #2B5298 #396CC7 #698FD5
Accessibility & contrast
On white
7.60
#2B5298 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#2B5298 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B5298
7.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B5298 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B5298 | 1.00 | 7.60 | 2.76 | 7.60 |
| #FFFFFF | 7.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F599B
Deuteranopia (green-blind)
#194F97
Tritanopia (blue-blind)
#00626D
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2b5298; /* rgb */ color: rgb(43, 82, 152); /* oklch */ color: oklch(44.9% 0.123 261.1);
Tailwind
colors: {
custom: {
50: '#7282b7',
500: '#2b5298',
950: '#000000',
},
}SCSS
$custom: #2b5298; $custom-light: #7282b7; $custom-dark: #000000;
JSON
{
"hex": "#2b5298",
"rgb": {
"r": 43,
"g": 82,
"b": 152
},
"hsl": {
"h": 218.532,
"s": 55.897,
"l": 38.235
},
"oklch": {
"l": 0.44856,
"c": 0.12289,
"h": 261.1
},
"luminance": 0.08815
}Semantic roles & 50–950 ramp
primary
#2B5298
secondary
#BB9C64
accent
#A949DF
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80