#2A31C5
Closest named color: Blue Blue (#2242C7). oklch(42.7% 0.222 270.3), rgb(42, 49, 197).
Aa
White text reads best on this color (8.95:1).
About this color
#2A31C5 is a dark, vivid blue. In OKLCH its lightness is 43%, its chroma 0.222 and its hue 270°. Its hue sits on the cool side of the wheel. The nearest named color is Blue Blue (#2242C7), ΔE 0.032 away. White text reads best on it, at 8.95:1.
| Hue family | Blues |
| Lightness | dark (43%) |
| Chroma | vivid (0.222) |
| Temperature | cool |
| Nearest name | Blue Blue (#2242C7) |
| Black text | 2.34:1 |
| White text | 8.95:1 |
Values
| HEX | #2A31C5 |
| RGB | rgb(42, 49, 197) |
| HSL | hsl(237, 65%, 47%) |
| OKLCH | oklch(42.7% 0.222 270.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 #2A31C5 | 8.95:1 | AAA | Lc -93.9 | Preferred for body text |
| Black text on #2A31C5 | 2.34:1 | Fails | Lc 14.6 | Not readable |
| #2A31C5 text on white | 8.95:1 | AAA | Lc 89.4 | Fine for body text |
| #2A31C5 text on black | 2.34:1 | Fails | Lc -12.8 | 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 800.
-
Step 50
50
#F2F5FF
oklch(97.1% 0.014 272.7)
-
Step 100
100
#E2E9FF
oklch(93.5% 0.031 271.7)
-
Step 200
200
#CBD8FF
oklch(88.5% 0.056 270.7)
-
Step 300
300
#A9BEFF
oklch(80.9% 0.095 270.4)
-
Step 400
400
#7D99FF
oklch(70.7% 0.152 270.5)
-
Step 500
500
#5E7BFF
oklch(63.1% 0.198 270.4)
-
Step 600
600
#4358FF
oklch(55.5% 0.245 270.3)
-
Step 700
700
#3437F4
oklch(49% 0.268 270.3)
-
Step 800
800 (this color)
#2A31C5
oklch(42.7% 0.222 270.3)
-
Step 900
900
#232F9B
oklch(37.6% 0.173 270.2)
-
Step 950
950
#141E5B
oklch(27.1% 0.109 270.1)
#2A31C5 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) | #0051C9 | 0.065 |
| Deuteranopia (no green cones) | #0041C2 | 0.034 |
| Tritanopia (no blue cones) | #005D79 | 0.170 |
| Achromatopsia (no color) | #494949 | 0.223 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #2A31C5
#2A31C5
oklch(42.7% 0.222 270.3)
- #614C00
#614C00
oklch(42.6% 0.087 90.4)
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 #2A31C5, closest first.
No curated palette has a color within ΔE 0.04 of #2A31C5.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Blue Blue #2242C7 ΔE 0.032
- Majorelle Blue #3F37C9 ΔE 0.033
- Sapphire #2138AB ΔE 0.043
- Indigo Blue #3A18B1 ΔE 0.054
- Ultramarine Blue #1805DB ΔE 0.057
- True Blue #010FCC ΔE 0.059
- Violet Blue #510AC9 ΔE 0.067
- Blue With A Hint Of Purple #533CC6 ΔE 0.067
Use #2A31C5 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.