#262C40
Closest named color: Space Cadet (#2B2D42). oklch(29.7% 0.037 271.1), rgb(38, 44, 64).
Aa
White text reads best on this color (13.84:1).
About this color
#262C40 is a dark, muted blue. In OKLCH its lightness is 30%, its chroma 0.037 and its hue 271°. Its hue sits on the cool side of the wheel. The nearest named color is Space Cadet (#2B2D42), ΔE 0.010 away. White text reads best on it, at 13.84:1.
| Hue family | Blues |
| Lightness | dark (30%) |
| Chroma | muted (0.037) |
| Temperature | cool |
| Nearest name | Space Cadet (#2B2D42) |
| Black text | 1.51:1 |
| White text | 13.84:1 |
Values
| HEX | #262C40 |
| RGB | rgb(38, 44, 64) |
| HSL | hsl(226, 25%, 20%) |
| OKLCH | oklch(29.7% 0.037 271.1) |
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 #262C40 | 13.84:1 | AAA | Lc -103.5 | Preferred for body text |
| Black text on #262C40 | 1.51:1 | Fails | Lc 0.0 | Not readable |
| #262C40 text on white | 13.84:1 | AAA | Lc 100.4 | Preferred for body text |
| #262C40 text on black | 1.51: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
#F4F5FA
oklch(97.1% 0.007 277.2)
-
Step 100
100
#E6EAF3
oklch(93.7% 0.013 266.7)
-
Step 200
200
#D3D9EA
oklch(88.6% 0.024 270.3)
-
Step 300
300
#B6C0DE
oklch(81% 0.044 270.8)
-
Step 400
400
#909FCE
oklch(70.8% 0.071 270.8)
-
Step 500
500
#7586C1
oklch(63% 0.091 271.3)
-
Step 600
600
#5E6FAD
oklch(55.5% 0.099 271.2)
-
Step 700
700
#4E5D95
oklch(49.2% 0.092 271.3)
-
Step 800
800
#404C79
oklch(42.7% 0.076 271.5)
-
Step 900
900
#364061
oklch(37.8% 0.058 270.6)
-
Step 950
950 (this color)
#262C40
oklch(29.7% 0.037 271.1)
#262C40 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) | #262E41 | 0.006 |
| Deuteranopia (no green cones) | #232C40 | 0.005 |
| Tritanopia (no blue cones) | #1E3033 | 0.034 |
| Achromatopsia (no color) | #2D2D2D | 0.037 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #262C40
#262C40
oklch(29.7% 0.037 271.1)
- #342C16
#342C16
oklch(29.6% 0.037 90.1)
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 #262C40, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Space Cadet #2B2D42 ΔE 0.010
- Gunmetal #293241 ΔE 0.021
- Oxford Blue #1B263B ΔE 0.029
- Dark #1B2431 ΔE 0.041
- Prussian Blue #1D3557 ΔE 0.045
- Jet #212529 ΔE 0.045
- Dark Blue Grey #1F3B4D ΔE 0.049
- Midnight Green #073B4C ΔE 0.053
Use #262C40 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.