#1271BE
Closest named color: Mid Blue (#276AB3). oklch(53.9% 0.145 249.9), rgb(18, 113, 190).
Aa
White text reads best on this color (5.08:1).
About this color
#1271BE is a medium-dark, vivid blue. In OKLCH its lightness is 54%, its chroma 0.145 and its hue 250°. Its hue sits on the cool side of the wheel. The nearest named color is Mid Blue (#276AB3), ΔE 0.024 away. White text reads best on it, at 5.08:1.
| Hue family | Blues |
| Lightness | medium-dark (54%) |
| Chroma | vivid (0.145) |
| Temperature | cool |
| Nearest name | Mid Blue (#276AB3) |
| Black text | 4.13:1 |
| White text | 5.08:1 |
Values
| HEX | #1271BE |
| RGB | rgb(18, 113, 190) |
| HSL | hsl(207, 83%, 41%) |
| OKLCH | oklch(53.9% 0.145 249.9) |
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 #1271BE | 5.08:1 | AA | Lc -79.9 | Fine for body text |
| Black text on #1271BE | 4.13:1 | AA large text | Lc 29.6 | Dividers and decoration only |
| #1271BE text on white | 5.08:1 | AA | Lc 74.5 | Content text, not long reading |
| #1271BE text on black | 4.13:1 | AA large text | Lc -27.2 | 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 600.
-
Step 50
50
#F1F6FB
oklch(97.1% 0.009 247.9)
-
Step 100
100
#E1EBF6
oklch(93.6% 0.018 250.6)
-
Step 200
200
#C8DCF1
oklch(88.6% 0.036 249.5)
-
Step 300
300
#A1C5EA
oklch(81% 0.065 249.3)
-
Step 400
400
#6CA5DF
oklch(70.6% 0.104 249.9)
-
Step 500
500
#428ED6
oklch(63.2% 0.132 249.6)
-
Step 600
600 (this color)
#1271BE
oklch(53.9% 0.145 249.9)
-
Step 700
700
#0963A9
oklch(49.1% 0.134 249.8)
-
Step 800
800
#0F5189
oklch(42.7% 0.112 250)
-
Step 900
900
#16446D
oklch(37.8% 0.086 249.1)
-
Step 950
950
#0F2840
oklch(27% 0.055 249.7)
#1271BE 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) | #4A76C1 | 0.044 |
| Deuteranopia (no green cones) | #2E68BD | 0.026 |
| Tritanopia (no blue cones) | #00848E | 0.106 |
| Achromatopsia (no color) | #6E6E6E | 0.145 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #1271BE
#1271BE
oklch(53.9% 0.145 249.9)
- #996000
#996000
oklch(53.9% 0.117 69.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 #1271BE, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Mid Blue #276AB3 ΔE 0.024
- Windows Blue #3778BF ΔE 0.031
- Nice Blue #107AB0 ΔE 0.037
- French Blue #436BAD ΔE 0.039
- Flat Blue #3C73A8 ΔE 0.043
- Muted Blue #3B719F ΔE 0.053
- Ocean Blue #03719C ΔE 0.055
- Water Blue #0E87CC ΔE 0.062
Use #1271BE 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.