#1270DB
Closest named color: Cerulean Blue (#056EEE). oklch(55.7% 0.183 256.3), rgb(18, 112, 219).
Aa
White text reads best on this color (4.80:1).
About this color
#1270DB is a medium-dark, vivid blue. In OKLCH its lightness is 56%, its chroma 0.183 and its hue 256°. Its hue sits on the cool side of the wheel. The nearest named color is Cerulean Blue (#056EEE), ΔE 0.030 away. White text reads best on it, at 4.80:1.
| Hue family | Blues |
| Lightness | medium-dark (56%) |
| Chroma | vivid (0.183) |
| Temperature | cool |
| Nearest name | Cerulean Blue (#056EEE) |
| Black text | 4.36:1 |
| White text | 4.80:1 |
Values
| HEX | #1270DB |
| RGB | rgb(18, 112, 219) |
| HSL | hsl(212, 85%, 46%) |
| OKLCH | oklch(55.7% 0.183 256.3) |
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 #1270DB | 4.80:1 | AA | Lc -78.1 | Fine for body text |
| Black text on #1270DB | 4.36:1 | AA large text | Lc 31.4 | Non-text elements, placeholder text |
| #1270DB text on white | 4.80:1 | AA | Lc 72.7 | Content text, not long reading |
| #1270DB text on black | 4.36:1 | AA large text | Lc -29.0 | 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
#F1F6FD
oklch(97.1% 0.011 256.7)
-
Step 100
100
#E0EBFA
oklch(93.6% 0.024 256.1)
-
Step 200
200
#C6DBF8
oklch(88.5% 0.046 256.5)
-
Step 300
300
#9EC3F6
oklch(80.9% 0.083 256.5)
-
Step 400
400
#68A2F1
oklch(70.6% 0.132 256.5)
-
Step 500
500
#3C89EC
oklch(63.2% 0.167 256.1)
-
Step 600
600 (this color)
#1270DB
oklch(55.7% 0.183 256.3)
-
Step 700
700
#005DBE
oklch(49.2% 0.17 256.3)
-
Step 800
800
#084C9A
oklch(42.6% 0.142 256.5)
-
Step 900
900
#13417A
oklch(37.8% 0.109 256)
-
Step 950
950
#0D2647
oklch(26.9% 0.069 256.4)
#1270DB 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) | #2D7BDF | 0.034 |
| Deuteranopia (no green cones) | #006AD9 | 0.017 |
| Tritanopia (no blue cones) | #008A9B | 0.137 |
| Achromatopsia (no color) | #727272 | 0.183 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #1270DB
#1270DB
oklch(55.7% 0.183 256.3)
- #9A6800
#9A6800
oklch(55.6% 0.117 75.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 #1270DB, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Cerulean Blue #056EEE ΔE 0.030
- Royal Blue #4169E1 ΔE 0.033
- Azul #1D5DEC ΔE 0.053
- Neon Blue #4361EE ΔE 0.054
- Windows Blue #3778BF ΔE 0.055
- Clear Blue #247AFD ΔE 0.058
- Bright Blue #0165FC ΔE 0.058
- Mid Blue #276AB3 ΔE 0.062
Use #1270DB 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.