#2B2F92#2B2F92
#2B2F92 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.2% C 0.159 H 273.8°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2F92 |
|---|---|
| RGB | rgb(43, 47, 146) |
| HSL | hsl(238, 54%, 37%) |
| HSV | hsv(238, 71%, 57%) |
| CMYK | cmyk(70.5%, 67.8%, 0%, 42.7%) |
| CIE-LAB | lab(25.63, 32.13, -54.96) |
| CIE-LCH | lch(25.63, 63.66, 300.31°) |
| OKLab | oklab(37.21% 0.0105 -0.1587) |
| OKLCH | oklch(37.21% 0.159 273.8) |
| XYZ | xyz(7.1994, 4.6213, 27.7011) |
| Luminance | 0.0462 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.31
Blueberry
#464196
ΔE00 5.89
Darkslateblue
#483D8B
ΔE00 5.94
Royal
#0C1793
ΔE00 6.00
Indigo Blue
#3A18B1
ΔE00 7.13
Midnight Blue
#191970
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2F92 #928E2B
analogous
#2B6392 #2B2F92 #5B2B92
triadic
#2B2F92 #922B2F #2F922B
tetradic
#2B2F92 #922B63 #928E2B #2B925B
square
#2B2F92 #922B63 #928E2B #2B925B
split-complementary
#2B2F92 #925B2B #63922B
monochromatic
#0F1133 #1D2063 #2B2F92 #393EC1 #666AD2
Accessibility & contrast
On white
10.91
#2B2F92 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#2B2F92 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2F92
10.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2F92 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2F92 | 1.00 | 10.91 | 1.92 | 10.91 |
| #FFFFFF | 10.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004195
Deuteranopia (green-blind)
#003890
Tritanopia (blue-blind)
#00495C
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2b2f92; /* rgb */ color: rgb(43, 47, 146); /* oklch */ color: oklch(37.2% 0.159 273.8);
Tailwind
colors: {
custom: {
50: '#7368b3',
500: '#2b2f92',
950: '#000000',
},
}SCSS
$custom: #2b2f92; $custom-light: #7368b3; $custom-dark: #000000;
JSON
{
"hex": "#2b2f92",
"rgb": {
"r": 43,
"g": 47,
"b": 146
},
"hsl": {
"h": 237.67,
"s": 54.497,
"l": 37.059
},
"oklch": {
"l": 0.37205,
"c": 0.15909,
"h": 273.8
},
"luminance": 0.04622
}Semantic roles & 50–950 ramp
primary
#2B2F92
secondary
#B8B561
accent
#D84ADE
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80