#3172EC
Closest named color: Cerulean Blue (#056EEE). oklch(58% 0.196 261.5), rgb(49, 114, 236).
Aa
Black text reads best on this color (4.74:1).
About this color
#3172EC is a medium-dark, vivid blue. In OKLCH its lightness is 58%, its chroma 0.196 and its hue 262°. Its hue sits on the cool side of the wheel. The nearest named color is Cerulean Blue (#056EEE), ΔE 0.023 away. Black text reads best on it, at 4.74:1.
| Hue family | Blues |
| Lightness | medium-dark (58%) |
| Chroma | vivid (0.196) |
| Temperature | cool |
| Nearest name | Cerulean Blue (#056EEE) |
| Black text | 4.74:1 |
| White text | 4.42:1 |
Values
| HEX | #3172EC |
| RGB | rgb(49, 114, 236) |
| HSL | hsl(219, 83%, 56%) |
| OKLCH | oklch(58% 0.196 261.5) |
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 #3172EC | 4.42:1 | AA large text | Lc -75.6 | Fine for body text |
| Black text on #3172EC | 4.74:1 | AA | Lc 34.0 | Non-text elements, placeholder text |
| #3172EC text on white | 4.42:1 | AA large text | Lc 70.1 | Content text, not long reading |
| #3172EC text on black | 4.74:1 | AA | Lc -31.5 | 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
#F1F6FE
oklch(97.2% 0.012 259.8)
-
Step 100
100
#E1EAFC
oklch(93.6% 0.026 264.4)
-
Step 200
200
#C7DAFA
oklch(88.4% 0.049 260.9)
-
Step 300
300
#A1C1FA
oklch(80.8% 0.088 261.8)
-
Step 400
400
#6E9FF8
oklch(70.7% 0.141 261.6)
-
Step 500
500
#4784F5
oklch(63.1% 0.181 261.5)
-
Step 600
600 (this color)
#3172EC
oklch(58% 0.196 261.5)
-
Step 700
700
#1D58C6
oklch(49.2% 0.182 261.5)
-
Step 800
800
#1A48A0
oklch(42.6% 0.152 261.7)
-
Step 900
900
#1B3E7F
oklch(37.8% 0.118 261.4)
-
Step 950
950
#10254A
oklch(27% 0.074 260.8)
#3172EC 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) | #1981F0 | 0.037 |
| Deuteranopia (no green cones) | #0070EA | 0.021 |
| Tritanopia (no blue cones) | #0090A4 | 0.153 |
| Achromatopsia (no color) | #787878 | 0.196 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #3172EC
#3172EC
oklch(58% 0.196 261.5)
- #9E7200
#9E7200
oklch(58.1% 0.12 81.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 #3172EC, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Cerulean Blue #056EEE ΔE 0.023
- Royal Blue #4169E1 ΔE 0.027
- Clear Blue #247AFD ΔE 0.031
- Neon Blue #4361EE ΔE 0.040
- Bright Blue #0165FC ΔE 0.047
- Azul #1D5DEC ΔE 0.055
- Cornflower #6A79F7 ΔE 0.066
- Warm Blue #4B57DB ΔE 0.067
Use #3172EC 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.