#2C5EC6
Closest named color: Mid Blue (#276AB3). oklch(50.9% 0.171 262.6), rgb(44, 94, 198).
Aa
White text reads best on this color (5.95:1).
About this color
#2C5EC6 is a medium-dark, vivid blue. In OKLCH its lightness is 51%, its chroma 0.171 and its hue 263°. Its hue sits on the cool side of the wheel. The nearest named color is Mid Blue (#276AB3), ΔE 0.047 away. White text reads best on it, at 5.95:1.
| Hue family | Blues |
| Lightness | medium-dark (51%) |
| Chroma | vivid (0.171) |
| Temperature | cool |
| Nearest name | Mid Blue (#276AB3) |
| Black text | 3.52:1 |
| White text | 5.95:1 |
Values
| HEX | #2C5EC6 |
| RGB | rgb(44, 94, 198) |
| HSL | hsl(221, 64%, 47%) |
| OKLCH | oklch(50.9% 0.171 262.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 #2C5EC6 | 5.95:1 | AA | Lc -84.5 | Fine for body text |
| Black text on #2C5EC6 | 3.52:1 | AA large text | Lc 24.8 | Dividers and decoration only |
| #2C5EC6 text on white | 5.95:1 | AA | Lc 79.3 | Fine for body text |
| #2C5EC6 text on black | 3.52:1 | AA large text | Lc -22.5 | 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
#C9DAF8
oklch(88.5% 0.045 261.9)
-
Step 300
300
#A4C1F7
oklch(80.9% 0.083 262.6)
-
Step 400
400
#739FF3
oklch(70.7% 0.133 262.5)
-
Step 500
500
#4F84EF
oklch(63% 0.171 262.7)
-
Step 600
600
#346BDD
oklch(55.6% 0.184 262.6)
-
Step 700
700 (this color)
#2C5EC6
oklch(50.9% 0.171 262.6)
-
Step 800
800
#21499B
oklch(42.7% 0.142 262.5)
-
Step 900
900
#203E7B
oklch(37.7% 0.11 262.6)
-
Step 950
950
#132548
oklch(27% 0.069 262.3)
#2C5EC6 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) | #126BCA | 0.034 |
| Deuteranopia (no green cones) | #005DC4 | 0.022 |
| Tritanopia (no blue cones) | #007789 | 0.133 |
| Achromatopsia (no color) | #646464 | 0.172 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #2C5EC6
#2C5EC6
oklch(50.9% 0.171 262.6)
- #835F00
#835F00
oklch(50.9% 0.105 82.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 #2C5EC6, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Mid Blue #276AB3 ΔE 0.047
- Warm Blue #4B57DB ΔE 0.048
- Royal Blue #4169E1 ΔE 0.055
- Azul #1D5DEC ΔE 0.059
- French Blue #436BAD ΔE 0.062
- Iris #6258C4 ΔE 0.064
- Neon Blue #4361EE ΔE 0.067
- Blue Blue #2242C7 ΔE 0.069
Use #2C5EC6 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.