#2B245E#2B245E
#2B245E is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.4% C 0.100 H 284.3°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).
Color values
| HEX | #2B245E |
|---|---|
| RGB | rgb(43, 36, 94) |
| HSL | hsl(247, 45%, 25%) |
| HSV | hsv(247, 62%, 37%) |
| CMYK | cmyk(54.3%, 61.7%, 0%, 63.1%) |
| CIE-LAB | lab(18.29, 20.83, -33.73) |
| CIE-LCH | lch(18.29, 39.64, 301.71°) |
| OKLab | oklab(30.42% 0.0245 -0.0965) |
| OKLCH | oklch(30.42% 0.1 284.3) |
| XYZ | xyz(3.6469, 2.5833, 10.8940) |
| Luminance | 0.0258 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 6.05
Dark Indigo
#1F0954
ΔE00 7.11
Navy Blue (survey)
#001146
ΔE00 7.29
Navy Blue
#1B2A4A
ΔE00 7.83
Navy (survey)
#01153E
ΔE00 8.22
Marine
#042E60
ΔE00 8.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B245E #575E24
analogous
#243A5E #2B245E #48245E
triadic
#2B245E #5E2B24 #245E2B
tetradic
#2B245E #5E243A #575E24 #245E48
square
#2B245E #5E243A #575E24 #245E48
split-complementary
#2B245E #5E4824 #3A5E24
monochromatic
#0A0816 #171332 #2B245E #3F358A #5346B7
Accessibility & contrast
On white
13.85
#2B245E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#2B245E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B245E
13.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B245E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B245E | 1.00 | 13.85 | 1.52 | 13.85 |
| #FFFFFF | 13.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E60
Deuteranopia (green-blind)
#002B5D
Tritanopia (blue-blind)
#18313D
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #2b245e; /* rgb */ color: rgb(43, 36, 94); /* oklch */ color: oklch(30.4% 0.100 284.3);
Tailwind
colors: {
custom: {
50: '#695f8c',
500: '#2b245e',
950: '#000000',
},
}SCSS
$custom: #2b245e; $custom-light: #695f8c; $custom-dark: #000000;
JSON
{
"hex": "#2b245e",
"rgb": {
"r": 43,
"g": 36,
"b": 94
},
"hsl": {
"h": 247.241,
"s": 44.615,
"l": 25.49
},
"oklch": {
"l": 0.30419,
"c": 0.09953,
"h": 284.3
},
"luminance": 0.02583
}Semantic roles & 50–950 ramp
primary
#2B245E
secondary
#89924C
accent
#D453C5
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#07040C
muted
#7A797D