#12282C
Closest named color: Jet (#212529). oklch(26.1% 0.029 210.6), rgb(18, 40, 44).
Aa
White text reads best on this color (15.37:1).
About this color
#12282C is a dark close to neutral grey. In OKLCH its lightness is 26%, its chroma 0.029. It has too little chroma to lean warm or cool. The nearest named color is Jet (#212529), ΔE 0.022 away. White text reads best on it, at 15.37:1.
| Hue family | Neutrals |
| Lightness | dark (26%) |
| Chroma | close to neutral grey (0.029) |
| Temperature | neutral |
| Nearest name | Jet (#212529) |
| Black text | 1.36:1 |
| White text | 15.37:1 |
Values
| HEX | #12282C |
| RGB | rgb(18, 40, 44) |
| HSL | hsl(189, 42%, 12%) |
| OKLCH | oklch(26.1% 0.029 210.6) |
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 #12282C | 15.37:1 | AAA | Lc -104.9 | Preferred for body text |
| Black text on #12282C | 1.36:1 | Fails | Lc 0.0 | Not readable |
| #12282C text on white | 15.37:1 | AAA | Lc 102.2 | Preferred for body text |
| #12282C text on black | 1.36: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
#F2F6F7
oklch(97% 0.004 214.3)
-
Step 100
100
#E3ECED
oklch(93.7% 0.01 204.9)
-
Step 200
200
#CCDDE0
oklch(88.6% 0.019 209.4)
-
Step 300
300
#A8C7CD
oklch(80.9% 0.034 210.7)
-
Step 400
400
#78AAB4
oklch(70.6% 0.055 211.4)
-
Step 500
500
#5395A1
oklch(63.1% 0.07 210.6)
-
Step 600
600
#347F8C
oklch(55.5% 0.076 210.7)
-
Step 700
700
#256B77
oklch(49% 0.071 211)
-
Step 800
800
#215861
oklch(42.8% 0.059 209.9)
-
Step 900
900
#21484F
oklch(37.6% 0.046 210.7)
-
Step 950
950 (this color)
#12282C
oklch(26.1% 0.029 210.6)
#12282C 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) | #25272C | 0.028 |
| Deuteranopia (no green cones) | #20232C | 0.025 |
| Tritanopia (no blue cones) | #052A29 | 0.016 |
| Achromatopsia (no color) | #252525 | 0.029 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #12282C
#12282C
oklch(26.1% 0.029 210.6)
- #311F1C
#311F1C
oklch(26.1% 0.029 29.7)
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 #12282C, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Jet #212529 ΔE 0.022
- Dark #1B2431 ΔE 0.023
- Oxford Blue #1B263B ΔE 0.035
- Rich Black #0D1B2A ΔE 0.049
- Space Cadet #2B2D42 ΔE 0.059
- Gunmetal #293241 ΔE 0.060
- Midnight Green #073B4C ΔE 0.076
- Pakistan Green #283618 ΔE 0.076
Use #12282C 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.