#2F5ECA
Closest named color: Warm Blue (#4B57DB). oklch(51.3% 0.176 263.6), rgb(47, 94, 202).
Aa
White text reads best on this color (5.87:1).
About this color
#2F5ECA is a medium-dark, vivid blue. In OKLCH its lightness is 51%, its chroma 0.176 and its hue 264°. Its hue sits on the cool side of the wheel. The nearest named color is Warm Blue (#4B57DB), ΔE 0.042 away. White text reads best on it, at 5.87:1.
| Hue family | Blues |
| Lightness | medium-dark (51%) |
| Chroma | vivid (0.176) |
| Temperature | cool |
| Nearest name | Warm Blue (#4B57DB) |
| Black text | 3.57:1 |
| White text | 5.87:1 |
Values
| HEX | #2F5ECA |
| RGB | rgb(47, 94, 202) |
| HSL | hsl(222, 62%, 49%) |
| OKLCH | oklch(51.3% 0.176 263.6) |
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 #2F5ECA | 5.87:1 | AA | Lc -84.1 | Fine for body text |
| Black text on #2F5ECA | 3.57:1 | AA large text | Lc 25.2 | Dividers and decoration only |
| #2F5ECA text on white | 5.87:1 | AA | Lc 78.9 | Fine for body text |
| #2F5ECA text on black | 3.57:1 | AA large text | Lc -22.9 | 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 700.
-
Step 50
50
#F1F6FD
oklch(97.1% 0.011 256.7)
-
Step 100
100
#E1EAFB
oklch(93.5% 0.025 263.3)
-
Step 200
200
#C9DAF9
oklch(88.5% 0.047 262.5)
-
Step 300
300
#A4C1F8
oklch(80.9% 0.084 263)
-
Step 400
400
#749EF5
oklch(70.6% 0.136 263.7)
-
Step 500
500
#5183F1
oklch(63% 0.174 263.8)
-
Step 600
600
#366AE0
oklch(55.7% 0.189 263.5)
-
Step 700
700 (this color)
#2F5ECA
oklch(51.3% 0.176 263.6)
-
Step 800
800
#23489D
oklch(42.7% 0.145 263.7)
-
Step 900
900
#213D7D
oklch(37.6% 0.114 264)
-
Step 950
950
#132449
oklch(26.8% 0.072 263.7)
#2F5ECA 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) | #046CCE | 0.037 |
| Deuteranopia (no green cones) | #005EC8 | 0.023 |
| Tritanopia (no blue cones) | #00788B | 0.137 |
| Achromatopsia (no color) | #646464 | 0.176 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #2F5ECA
#2F5ECA
oklch(51.3% 0.176 263.6)
- #836000
#836000
oklch(51.1% 0.105 83.6)
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 #2F5ECA, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Warm Blue #4B57DB ΔE 0.042
- Royal Blue #4169E1 ΔE 0.049
- Mid Blue #276AB3 ΔE 0.051
- Azul #1D5DEC ΔE 0.053
- Neon Blue #4361EE ΔE 0.060
- Iris #6258C4 ΔE 0.061
- French Blue #436BAD ΔE 0.065
- Cerulean Blue #056EEE ΔE 0.065
Use #2F5ECA 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.