#222835
Closest named color: Oxford Blue (#1B263B). oklch(27.7% 0.026 265.4), rgb(34, 40, 53).
Aa
White text reads best on this color (14.75:1).
About this color
#222835 is a dark close to neutral grey. In OKLCH its lightness is 28%, its chroma 0.026. It has too little chroma to lean warm or cool. The nearest named color is Oxford Blue (#1B263B), ΔE 0.018 away. White text reads best on it, at 14.75:1.
| Hue family | Neutrals |
| Lightness | dark (28%) |
| Chroma | close to neutral grey (0.026) |
| Temperature | neutral |
| Nearest name | Oxford Blue (#1B263B) |
| Black text | 1.42:1 |
| White text | 14.75:1 |
Values
| HEX | #222835 |
| RGB | rgb(34, 40, 53) |
| HSL | hsl(221, 22%, 17%) |
| OKLCH | oklch(27.7% 0.026 265.4) |
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 #222835 | 14.75:1 | AAA | Lc -104.4 | Preferred for body text |
| Black text on #222835 | 1.42:1 | Fails | Lc 0.0 | Not readable |
| #222835 text on white | 14.75:1 | AAA | Lc 101.6 | Preferred for body text |
| #222835 text on black | 1.42: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
#F4F5F8
oklch(97% 0.004 271.4)
-
Step 100
100
#E7EAF0
oklch(93.6% 0.009 264.5)
-
Step 200
200
#D4D9E5
oklch(88.5% 0.017 267.8)
-
Step 300
300
#B7C1D5
oklch(80.9% 0.03 264.4)
-
Step 400
400
#92A1C0
oklch(70.8% 0.049 264.8)
-
Step 500
500
#7789B0
oklch(63% 0.063 265.4)
-
Step 600
600
#60739B
oklch(55.6% 0.067 264.7)
-
Step 700
700
#4F6085
oklch(49.1% 0.063 265.1)
-
Step 800
800
#414F6C
oklch(42.8% 0.052 264.4)
-
Step 900
900
#374158
oklch(37.6% 0.042 266.2)
-
Step 950
950 (this color)
#222835
oklch(27.7% 0.026 265.4)
#222835 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) | #242936 | 0.005 |
| Deuteranopia (no green cones) | #222735 | 0.003 |
| Tritanopia (no blue cones) | #1D2B2C | 0.024 |
| Achromatopsia (no color) | #282828 | 0.026 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #222835
#222835
oklch(27.7% 0.026 265.4)
- #2E2719
#2E2719
oklch(27.6% 0.026 84.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 #222835, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Oxford Blue #1B263B ΔE 0.018
- Dark #1B2431 ΔE 0.019
- Jet #212529 ΔE 0.022
- Space Cadet #2B2D42 ΔE 0.032
- Gunmetal #293241 ΔE 0.039
- Rich Black #0D1B2A ΔE 0.060
- Prussian Blue #1D3557 ΔE 0.066
- Midnight Green #073B4C ΔE 0.067
Use #222835 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.