#282A38
Closest named color: Space Cadet (#2B2D42). oklch(28.9% 0.026 278.3), rgb(40, 42, 56).
Aa
White text reads best on this color (14.20:1).
About this color
#282A38 is a dark close to neutral grey. In OKLCH its lightness is 29%, its chroma 0.026. It has too little chroma to lean warm or cool. The nearest named color is Space Cadet (#2B2D42), ΔE 0.020 away. White text reads best on it, at 14.20:1.
| Hue family | Neutrals |
| Lightness | dark (29%) |
| Chroma | close to neutral grey (0.026) |
| Temperature | neutral |
| Nearest name | Space Cadet (#2B2D42) |
| Black text | 1.47:1 |
| White text | 14.20:1 |
Values
| HEX | #282A38 |
| RGB | rgb(40, 42, 56) |
| HSL | hsl(233, 17%, 19%) |
| OKLCH | oklch(28.9% 0.026 278.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 #282A38 | 14.20:1 | AAA | Lc -103.9 | Preferred for body text |
| Black text on #282A38 | 1.47:1 | Fails | Lc 0.0 | Not readable |
| #282A38 text on white | 14.20:1 | AAA | Lc 100.9 | Preferred for body text |
| #282A38 text on black | 1.47: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
#F5F5F8
oklch(97.1% 0.004 286.3)
-
Step 100
100
#E8E9F0
oklch(93.5% 0.009 279.7)
-
Step 200
200
#D6D8E5
oklch(88.5% 0.018 279)
-
Step 300
300
#BCBFD5
oklch(80.9% 0.031 279.5)
-
Step 400
400
#999EBF
oklch(70.7% 0.048 278.3)
-
Step 500
500
#8086AF
oklch(63% 0.062 278)
-
Step 600
600
#6A6F9B
oklch(55.5% 0.069 278.9)
-
Step 700
700
#585D84
oklch(49% 0.063 278.2)
-
Step 800
800
#484C6B
oklch(42.6% 0.052 278.3)
-
Step 900
900
#3C4057
oklch(37.8% 0.04 276.7)
-
Step 950
950 (this color)
#282A38
oklch(28.9% 0.026 278.3)
#282A38 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) | #262B39 | 0.004 |
| Deuteranopia (no green cones) | #252A38 | 0.005 |
| Tritanopia (no blue cones) | #242D2F | 0.024 |
| Achromatopsia (no color) | #2B2B2B | 0.026 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #282A38
#282A38
oklch(28.9% 0.026 278.3)
- #2E2B1D
#2E2B1D
oklch(28.8% 0.024 97.5)
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 #282A38, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Space Cadet #2B2D42 ΔE 0.020
- Oxford Blue #1B263B ΔE 0.028
- Gunmetal #293241 ΔE 0.028
- Jet #212529 ΔE 0.033
- Dark #1B2431 ΔE 0.033
- Onyx #343A40 ΔE 0.058
- Dark Blue Grey #1F3B4D ΔE 0.059
- Prussian Blue #1D3557 ΔE 0.059
Use #282A38 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.