#2B2B74#2B2B74
#2B2B74 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.7% C 0.122 H 277.6°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2B74 |
|---|---|
| RGB | rgb(43, 43, 116) |
| HSL | hsl(240, 46%, 31%) |
| HSV | hsv(240, 63%, 45%) |
| CMYK | cmyk(62.9%, 62.9%, 0%, 54.5%) |
| CIE-LAB | lab(21.95, 23.91, -42.12) |
| CIE-LCH | lch(21.95, 48.43, 299.58°) |
| OKLab | oklab(33.69% 0.0162 -0.1211) |
| OKLCH | oklch(33.69% 0.122 277.6) |
| XYZ | xyz(5.0115, 3.5019, 16.9315) |
| Luminance | 0.0350 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.16
Darkslateblue
#483D8B
ΔE00 6.71
Marine
#042E60
ΔE00 7.61
Royal
#0C1793
ΔE00 7.84
Blueberry
#464196
ΔE00 7.98
Sapphire (survey)
#2138AB
ΔE00 8.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2B74 #74742B
analogous
#2B4F74 #2B2B74 #4F2B74
triadic
#2B2B74 #742B2B #2B742B
tetradic
#2B2B74 #742B4F #74742B #2B744F
square
#2B2B74 #742B4F #74742B #2B744F
split-complementary
#2B2B74 #744F2B #4F742B
monochromatic
#0A0A1B #1A1A47 #2B2B74 #3C3CA1 #5858C1
Accessibility & contrast
On white
12.35
#2B2B74 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#2B2B74 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2B74
12.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2B74 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2B74 | 1.00 | 12.35 | 1.70 | 12.35 |
| #FFFFFF | 12.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003876
Deuteranopia (green-blind)
#003173
Tritanopia (blue-blind)
#003D4B
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #2b2b74; /* rgb */ color: rgb(43, 43, 116); /* oklch */ color: oklch(33.7% 0.122 277.6);
Tailwind
colors: {
custom: {
50: '#6d649d',
500: '#2b2b74',
950: '#000000',
},
}SCSS
$custom: #2b2b74; $custom-light: #6d649d; $custom-dark: #000000;
JSON
{
"hex": "#2b2b74",
"rgb": {
"r": 43,
"g": 43,
"b": 116
},
"hsl": {
"h": 240,
"s": 45.912,
"l": 31.176
},
"oklch": {
"l": 0.33688,
"c": 0.12216,
"h": 277.6
},
"luminance": 0.03502
}Semantic roles & 50–950 ramp
primary
#2B2B74
secondary
#A6A655
accent
#D652D6
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08050E
muted
#7B7A7E