#1F7DCC
Closest named color: Windows Blue (#3778BF). oklch(57.8% 0.147 249.4), rgb(31, 125, 204).
Aa
Black text reads best on this color (4.86:1).
About this color
#1F7DCC is a medium-dark, vivid blue. In OKLCH its lightness is 58%, its chroma 0.147 and its hue 249°. Its hue sits on the cool side of the wheel. The nearest named color is Windows Blue (#3778BF), ΔE 0.024 away. Black text reads best on it, at 4.86:1.
| Hue family | Blues |
| Lightness | medium-dark (58%) |
| Chroma | vivid (0.147) |
| Temperature | cool |
| Nearest name | Windows Blue (#3778BF) |
| Black text | 4.86:1 |
| White text | 4.31:1 |
Values
| HEX | #1F7DCC |
| RGB | rgb(31, 125, 204) |
| HSL | hsl(207, 74%, 46%) |
| OKLCH | oklch(57.8% 0.147 249.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 #1F7DCC | 4.31:1 | AA large text | Lc -74.9 | Content text, not long reading |
| Black text on #1F7DCC | 4.86:1 | AA | Lc 34.7 | Non-text elements, placeholder text |
| #1F7DCC text on white | 4.31:1 | AA large text | Lc 69.4 | Content text, not long reading |
| #1F7DCC text on black | 4.86:1 | AA | Lc -32.3 | 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
#F1F6FB
oklch(97.1% 0.009 247.9)
-
Step 100
100
#E1EBF7
oklch(93.6% 0.019 252.9)
-
Step 200
200
#C7DCF1
oklch(88.5% 0.037 248.2)
-
Step 300
300
#A0C5EA
oklch(80.9% 0.066 248.6)
-
Step 400
400
#6BA6E0
oklch(70.8% 0.105 249.1)
-
Step 500
500
#3F8ED7
oklch(63.1% 0.135 249.3)
-
Step 600
600 (this color)
#1F7DCC
oklch(57.8% 0.147 249.4)
-
Step 700
700
#0063AA
oklch(49.1% 0.137 249.4)
-
Step 800
800
#0A518A
oklch(42.7% 0.114 249.6)
-
Step 900
900
#14446E
oklch(37.8% 0.088 249)
-
Step 950
950
#0E2840
oklch(27% 0.055 249)
#1F7DCC 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) | #5782CF | 0.048 |
| Deuteranopia (no green cones) | #3B73CA | 0.029 |
| Tritanopia (no blue cones) | #00909A | 0.107 |
| Achromatopsia (no color) | #7A7A7A | 0.147 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #1F7DCC
#1F7DCC
oklch(57.8% 0.147 249.4)
- #A86A00
#A86A00
oklch(57.8% 0.125 69.8)
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 #1F7DCC, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Windows Blue #3778BF ΔE 0.024
- Water Blue #0E87CC ΔE 0.028
- Nice Blue #107AB0 ΔE 0.045
- Steel Blue #4682B4 ΔE 0.050
- Cool Blue #4984B8 ΔE 0.050
- Flat Blue #3C73A8 ΔE 0.057
- Mid Blue #276AB3 ΔE 0.060
- Blue NCS #118AB2 ΔE 0.061
Use #1F7DCC 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.