#2A4CB4
Closest named color: Blue Blue (#2242C7). oklch(45.7% 0.17 266), rgb(42, 76, 180).
Aa
White text reads best on this color (7.52:1).
About this color
#2A4CB4 is a medium-dark, vivid blue. In OKLCH its lightness is 46%, its chroma 0.170 and its hue 266°. Its hue sits on the cool side of the wheel. The nearest named color is Blue Blue (#2242C7), ΔE 0.039 away. White text reads best on it, at 7.52:1.
| Hue family | Blues |
| Lightness | medium-dark (46%) |
| Chroma | vivid (0.170) |
| Temperature | cool |
| Nearest name | Blue Blue (#2242C7) |
| Black text | 2.79:1 |
| White text | 7.52:1 |
Values
| HEX | #2A4CB4 |
| RGB | rgb(42, 76, 180) |
| HSL | hsl(225, 62%, 44%) |
| OKLCH | oklch(45.7% 0.17 266) |
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 #2A4CB4 | 7.52:1 | AAA | Lc -90.5 | Preferred for body text |
| Black text on #2A4CB4 | 2.79:1 | Fails | Lc 18.4 | Dividers and decoration only |
| #2A4CB4 text on white | 7.52:1 | AAA | Lc 85.6 | Fine for body text |
| #2A4CB4 text on black | 2.79:1 | Fails | Lc -16.4 | Dividers and decoration only |
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
#F1F5FF
oklch(97% 0.014 268.5)
-
Step 100
100
#E1EAFE
oklch(93.6% 0.029 266.4)
-
Step 200
200
#C8D9FF
oklch(88.5% 0.056 266.2)
-
Step 300
300
#A4C0FF
oklch(81% 0.095 265.8)
-
Step 400
400
#749CFF
oklch(70.8% 0.152 266)
-
Step 500
500
#517FFF
oklch(63.2% 0.197 266)
-
Step 600
600
#3662F2
oklch(55.5% 0.221 266.1)
-
Step 700
700
#2950D3
oklch(49.1% 0.206 265.9)
-
Step 800
800 (this color)
#2A4CB4
oklch(45.7% 0.17 266)
-
Step 900
900
#203A87
oklch(37.7% 0.133 266)
-
Step 950
950
#13234F
oklch(27.1% 0.084 265.9)
#2A4CB4 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) | #005BB8 | 0.039 |
| Deuteranopia (no green cones) | #004EB2 | 0.023 |
| Tritanopia (no blue cones) | #006678 | 0.134 |
| Achromatopsia (no color) | #545454 | 0.170 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #2A4CB4
#2A4CB4
oklch(45.7% 0.17 266)
- #6E5200
#6E5200
oklch(45.6% 0.093 85.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 #2A4CB4, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Blue Blue #2242C7 ΔE 0.039
- Sapphire #2138AB ΔE 0.052
- Majorelle Blue #3F37C9 ΔE 0.056
- Blueberry #464196 ΔE 0.061
- Cobalt #1E488F ΔE 0.062
- Blue With A Hint Of Purple #533CC6 ΔE 0.065
- Dusk Blue #26538D ΔE 0.068
- Blurple #5539CC ΔE 0.074
Use #2A4CB4 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.