#2B276E#2B276E
#2B276E is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.4% C 0.119 H 279.9°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).
Color values
| HEX | #2B276E |
|---|---|
| RGB | rgb(43, 39, 110) |
| HSL | hsl(243, 48%, 29%) |
| HSV | hsv(243, 65%, 43%) |
| CMYK | cmyk(60.9%, 64.5%, 0%, 56.9%) |
| CIE-LAB | lab(20.40, 24.45, -40.78) |
| CIE-LCH | lch(20.40, 47.55, 300.95°) |
| OKLab | oklab(32.39% 0.0206 -0.1172) |
| OKLCH | oklch(32.39% 0.119 279.9) |
| XYZ | xyz(4.5354, 3.0901, 15.1063) |
| Luminance | 0.0309 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.41
Darkslateblue
#483D8B
ΔE00 7.70
Royal
#0C1793
ΔE00 7.96
Dark Indigo
#1F0954
ΔE00 8.04
Marine
#042E60
ΔE00 8.20
Darkblue (survey)
#030764
ΔE00 8.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B276E #6A6E27
analogous
#27476E #2B276E #4F276E
triadic
#2B276E #6E2B27 #276E2B
tetradic
#2B276E #6E2747 #6A6E27 #276E4F
square
#2B276E #6E2747 #6A6E27 #276E4F
split-complementary
#2B276E #6E4F27 #476E27
monochromatic
#090817 #191741 #2B276E #3D379B #554FC1
Accessibility & contrast
On white
12.98
#2B276E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#2B276E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B276E
12.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B276E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B276E | 1.00 | 12.98 | 1.62 | 12.98 |
| #FFFFFF | 12.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003470
Deuteranopia (green-blind)
#002E6D
Tritanopia (blue-blind)
#033846
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #2b276e; /* rgb */ color: rgb(43, 39, 110); /* oklch */ color: oklch(32.4% 0.119 279.9);
Tailwind
colors: {
custom: {
50: '#6c6198',
500: '#2b276e',
950: '#000000',
},
}SCSS
$custom: #2b276e; $custom-light: #6c6198; $custom-dark: #000000;
JSON
{
"hex": "#2b276e",
"rgb": {
"r": 43,
"g": 39,
"b": 110
},
"hsl": {
"h": 243.38,
"s": 47.651,
"l": 29.216
},
"oklch": {
"l": 0.32388,
"c": 0.11897,
"h": 279.9
},
"luminance": 0.0309
}Semantic roles & 50–950 ramp
primary
#2B276E
secondary
#9CA150
accent
#D751D0
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07050E
muted
#7A797E