#1272A2
Closest named color: Ocean Blue (#03719C). oklch(52.5% 0.111 237.9), rgb(18, 114, 162).
Aa
White text reads best on this color (5.31:1).
About this color
#1272A2 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 52%, its chroma 0.111 and its hue 238°. Its hue sits on the cool side of the wheel. The nearest named color is Ocean Blue (#03719C), ΔE 0.011 away. White text reads best on it, at 5.31:1.
| Hue family | Blues |
| Lightness | medium-dark (52%) |
| Chroma | moderately saturated (0.111) |
| Temperature | cool |
| Nearest name | Ocean Blue (#03719C) |
| Black text | 3.95:1 |
| White text | 5.31:1 |
Values
| HEX | #1272A2 |
| RGB | rgb(18, 114, 162) |
| HSL | hsl(200, 80%, 35%) |
| OKLCH | oklch(52.5% 0.111 237.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 #1272A2 | 5.31:1 | AA | Lc -81.3 | Fine for body text |
| Black text on #1272A2 | 3.95:1 | AA large text | Lc 28.1 | Dividers and decoration only |
| #1272A2 text on white | 5.31:1 | AA | Lc 75.9 | Fine for body text |
| #1272A2 text on black | 3.95:1 | AA large text | Lc -25.8 | 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
#F1F6F9
oklch(97% 0.007 233.6)
-
Step 100
100
#E1EBF2
oklch(93.5% 0.014 238)
-
Step 200
200
#C9DCEA
oklch(88.5% 0.028 239.7)
-
Step 300
300
#A3C6DD
oklch(80.9% 0.05 237)
-
Step 400
400
#70A8CD
oklch(70.7% 0.08 238.4)
-
Step 500
500
#4692C0
oklch(63.1% 0.102 238)
-
Step 600
600 (this color)
#1272A2
oklch(52.5% 0.111 237.9)
-
Step 700
700
#116894
oklch(49.2% 0.103 237.9)
-
Step 800
800
#145578
oklch(42.8% 0.085 237.9)
-
Step 900
900
#194661
oklch(37.7% 0.067 238.6)
-
Step 950
950
#102939
oklch(26.9% 0.043 239.2)
#1272A2 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) | #5B72A4 | 0.061 |
| Deuteranopia (no green cones) | #4866A1 | 0.048 |
| Tritanopia (no blue cones) | #007E83 | 0.070 |
| Achromatopsia (no color) | #6B6B6B | 0.111 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #1272A2
#1272A2
oklch(52.5% 0.111 237.9)
- #99581D
#99581D
oklch(52.6% 0.111 58.1)
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 #1272A2, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Ocean Blue #03719C ΔE 0.011
- Sea Blue #047495 ΔE 0.024
- Muted Blue #3B719F ΔE 0.025
- Nice Blue #107AB0 ΔE 0.029
- Flat Blue #3C73A8 ΔE 0.029
- Peacock Blue #016795 ΔE 0.037
- Mid Blue #276AB3 ΔE 0.040
- Dull Blue #49759C ΔE 0.042
Use #1272A2 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.