#2B298E#2B298E
#2B298E is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.8% C 0.161 H 275.4°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).
Color values
| HEX | #2B298E |
|---|---|
| RGB | rgb(43, 41, 142) |
| HSL | hsl(241, 55%, 36%) |
| HSV | hsv(241, 71%, 56%) |
| CMYK | cmyk(69.7%, 71.1%, 0%, 44.3%) |
| CIE-LAB | lab(23.84, 34.50, -55.41) |
| CIE-LCH | lch(23.84, 65.28, 301.91°) |
| OKLab | oklab(35.8% 0.0153 -0.1601) |
| OKLCH | oklch(35.8% 0.161 275.4) |
| XYZ | xyz(6.6701, 4.0519, 26.0165) |
| Luminance | 0.0405 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 4.60
Sapphire (survey)
#2138AB
ΔE00 5.77
Midnight Blue
#191970
ΔE00 5.84
Indigo Blue
#3A18B1
ΔE00 6.45
Cobalt Blue
#030AA7
ΔE00 6.78
Darkslateblue
#483D8B
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B298E #8C8E29
analogous
#29598E #2B298E #5D298E
triadic
#2B298E #8E2B29 #298E2B
tetradic
#2B298E #8E2959 #8C8E29 #298E5D
square
#2B298E #8E2959 #8C8E29 #298E5D
split-complementary
#2B298E #8E5D29 #598E29
monochromatic
#0E0E2F #1D1B5F #2B298E #3937BD #6260D1
Accessibility & contrast
On white
11.60
#2B298E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.81
#2B298E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B298E
11.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B298E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B298E | 1.00 | 11.60 | 1.81 | 11.60 |
| #FFFFFF | 11.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D91
Deuteranopia (green-blind)
#00348C
Tritanopia (blue-blind)
#004558
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #2b298e; /* rgb */ color: rgb(43, 41, 142); /* oklch */ color: oklch(35.8% 0.161 275.4);
Tailwind
colors: {
custom: {
50: '#7363b0',
500: '#2b298e',
950: '#000000',
},
}SCSS
$custom: #2b298e; $custom-light: #7363b0; $custom-dark: #000000;
JSON
{
"hex": "#2b298e",
"rgb": {
"r": 43,
"g": 41,
"b": 142
},
"hsl": {
"h": 241.188,
"s": 55.191,
"l": 35.882
},
"oklch": {
"l": 0.35797,
"c": 0.16081,
"h": 275.4
},
"luminance": 0.04052
}Semantic roles & 50–950 ramp
primary
#2B298E
secondary
#B5B75C
accent
#DF49DC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80