#2B2F93#2B2F93
#2B2F93 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.3% C 0.160 H 273.7°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2F93 |
|---|---|
| RGB | rgb(43, 47, 147) |
| HSL | hsl(238, 55%, 37%) |
| HSV | hsv(238, 71%, 58%) |
| CMYK | cmyk(70.7%, 68%, 0%, 42.4%) |
| CIE-LAB | lab(25.72, 32.49, -55.42) |
| CIE-LCH | lch(25.72, 64.24, 300.38°) |
| OKLab | oklab(37.3% 0.0104 -0.1601) |
| OKLCH | oklch(37.3% 0.16 273.7) |
| XYZ | xyz(7.2775, 4.6525, 28.1126) |
| Luminance | 0.0465 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.21
Blueberry
#464196
ΔE00 5.90
Royal
#0C1793
ΔE00 5.97
Darkslateblue
#483D8B
ΔE00 5.99
Indigo Blue
#3A18B1
ΔE00 7.01
Midnight Blue
#191970
ΔE00 7.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2F93 #938F2B
analogous
#2B6393 #2B2F93 #5B2B93
triadic
#2B2F93 #932B2F #2F932B
tetradic
#2B2F93 #932B63 #938F2B #2B935B
square
#2B2F93 #932B63 #938F2B #2B935B
split-complementary
#2B2F93 #935B2B #63932B
monochromatic
#0F1134 #1D2064 #2B2F93 #393EC2 #666AD2
Accessibility & contrast
On white
10.88
#2B2F93 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.93
#2B2F93 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2F93
10.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2F93 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2F93 | 1.00 | 10.88 | 1.93 | 10.88 |
| #FFFFFF | 10.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004296
Deuteranopia (green-blind)
#003891
Tritanopia (blue-blind)
#004A5D
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2b2f93; /* rgb */ color: rgb(43, 47, 147); /* oklch */ color: oklch(37.3% 0.160 273.7);
Tailwind
colors: {
custom: {
50: '#7368b4',
500: '#2b2f93',
950: '#000000',
},
}SCSS
$custom: #2b2f93; $custom-light: #7368b4; $custom-dark: #000000;
JSON
{
"hex": "#2b2f93",
"rgb": {
"r": 43,
"g": 47,
"b": 147
},
"hsl": {
"h": 237.692,
"s": 54.737,
"l": 37.255
},
"oklch": {
"l": 0.37302,
"c": 0.16044,
"h": 273.7
},
"luminance": 0.04653
}Semantic roles & 50–950 ramp
primary
#2B2F93
secondary
#B9B561
accent
#D84ADE
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80