#2A78E1
Closest named color: Cerulean Blue (#056EEE). oklch(58.3% 0.177 257.4), rgb(42, 120, 225).
Aa
Black text reads best on this color (4.87:1).
About this color
#2A78E1 is a medium-dark, vivid blue. In OKLCH its lightness is 58%, its chroma 0.177 and its hue 257°. Its hue sits on the cool side of the wheel. The nearest named color is Cerulean Blue (#056EEE), ΔE 0.038 away. Black text reads best on it, at 4.87:1.
| Hue family | Blues |
| Lightness | medium-dark (58%) |
| Chroma | vivid (0.177) |
| Temperature | cool |
| Nearest name | Cerulean Blue (#056EEE) |
| Black text | 4.87:1 |
| White text | 4.31:1 |
Values
| HEX | #2A78E1 |
| RGB | rgb(42, 120, 225) |
| HSL | hsl(214, 75%, 52%) |
| OKLCH | oklch(58.3% 0.177 257.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 #2A78E1 | 4.31:1 | AA large text | Lc -74.8 | Content text, not long reading |
| Black text on #2A78E1 | 4.87:1 | AA | Lc 34.8 | Non-text elements, placeholder text |
| #2A78E1 text on white | 4.31:1 | AA large text | Lc 69.3 | Content text, not long reading |
| #2A78E1 text on black | 4.87:1 | AA | Lc -32.4 | Non-text elements, placeholder text |
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 600.
-
Step 50
50
#F1F6FD
oklch(97.1% 0.011 256.7)
-
Step 100
100
#E0EBFA
oklch(93.6% 0.024 256.1)
-
Step 200
200
#C7DBF7
oklch(88.5% 0.044 256.8)
-
Step 300
300
#A0C3F4
oklch(80.9% 0.079 256.8)
-
Step 400
400
#6CA2EF
oklch(70.7% 0.127 257.3)
-
Step 500
500
#4388EA
oklch(63.1% 0.163 257.6)
-
Step 600
600 (this color)
#2A78E1
oklch(58.3% 0.177 257.4)
-
Step 700
700
#125DBB
oklch(49.1% 0.164 257.3)
-
Step 800
800
#134C97
oklch(42.6% 0.136 257.4)
-
Step 900
900
#184079
oklch(37.7% 0.107 257.9)
-
Step 950
950
#0F2647
oklch(27% 0.068 257.7)
#2A78E1 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) | #3D82E5 | 0.032 |
| Deuteranopia (no green cones) | #0072DF | 0.024 |
| Tritanopia (no blue cones) | #0091A1 | 0.135 |
| Achromatopsia (no color) | #7A7A7A | 0.177 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #2A78E1
#2A78E1
oklch(58.3% 0.177 257.4)
- #A37000
#A37000
oklch(58.3% 0.122 77.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 #2A78E1, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Cerulean Blue #056EEE ΔE 0.038
- Royal Blue #4169E1 ΔE 0.038
- Clear Blue #247AFD ΔE 0.042
- Windows Blue #3778BF ΔE 0.053
- Water Blue #0E87CC ΔE 0.056
- Neon Blue #4361EE ΔE 0.061
- Dark Sky Blue #448EE4 ΔE 0.065
- Bright Blue #0165FC ΔE 0.067
Use #2A78E1 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.