#2B3145
Closest named color: Gunmetal (#293241). oklch(31.7% 0.037 271.3), rgb(43, 49, 69).
Aa
White text reads best on this color (12.89:1).
About this color
#2B3145 is a dark, muted blue. In OKLCH its lightness is 32%, its chroma 0.037 and its hue 271°. Its hue sits on the cool side of the wheel. The nearest named color is Gunmetal (#293241), ΔE 0.010 away. White text reads best on it, at 12.89:1.
| Hue family | Blues |
| Lightness | dark (32%) |
| Chroma | muted (0.037) |
| Temperature | cool |
| Nearest name | Gunmetal (#293241) |
| Black text | 1.62:1 |
| White text | 12.89:1 |
Values
| HEX | #2B3145 |
| RGB | rgb(43, 49, 69) |
| HSL | hsl(226, 23%, 22%) |
| OKLCH | oklch(31.7% 0.037 271.3) |
Contrast
WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #2B3145 | 12.89:1 | AAA | Lc -102.4 | Preferred for body text |
| Black text on #2B3145 | 1.62:1 | Fails | Lc 0.0 | Not readable |
| #2B3145 text on white | 12.89:1 | AAA | Lc 99.1 | Preferred for body text |
| #2B3145 text on black | 1.62:1 | Fails | Lc 0.0 | Not readable |
Tints and shades
A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 950.
-
Step 50
50
#F4F5F9
oklch(97.1% 0.005 275)
-
Step 100
100
#E7EAF3
oklch(93.7% 0.013 271.3)
-
Step 200
200
#D3D9EA
oklch(88.6% 0.024 270.3)
-
Step 300
300
#B6C0DE
oklch(81% 0.044 270.8)
-
Step 400
400
#909FCD
oklch(70.7% 0.07 270.5)
-
Step 500
500
#7686C0
oklch(63.1% 0.09 271.8)
-
Step 600
600
#5F6FAC
oklch(55.5% 0.097 271.8)
-
Step 700
700
#4E5D94
oklch(49.1% 0.09 271.2)
-
Step 800
800
#404C78
oklch(42.7% 0.075 271.4)
-
Step 900
900
#364061
oklch(37.8% 0.058 270.6)
-
Step 950
950 (this color)
#2B3145
oklch(31.7% 0.037 271.3)
#2B3145 with color blindness
Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #2B3346 | 0.006 |
| Deuteranopia (no green cones) | #293145 | 0.003 |
| Tritanopia (no blue cones) | #243538 | 0.033 |
| Achromatopsia (no color) | #323232 | 0.037 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #2B3145
#2B3145
oklch(31.7% 0.037 271.3)
- #39311B
#39311B
oklch(31.6% 0.037 90.2)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #2B3145, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Gunmetal #293241 ΔE 0.010
- Space Cadet #2B2D42 ΔE 0.013
- Dark Blue Grey #1F3B4D ΔE 0.034
- Prussian Blue #1D3557 ΔE 0.035
- Onyx #343A40 ΔE 0.038
- Midnight Green #073B4C ΔE 0.044
- Oxford Blue #1B263B ΔE 0.048
- Dark #1B2431 ΔE 0.060
Use #2B3145 in your product
Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.