#1271CA

Closest named color: Windows Blue (#3778BF). oklch(54.7% 0.16 252.9), rgb(18, 113, 202).

Aa

White text reads best on this color (4.95:1).

About this color

#1271CA is a medium-dark, vivid blue. In OKLCH its lightness is 55%, its chroma 0.160 and its hue 253°. Its hue sits on the cool side of the wheel. The nearest named color is Windows Blue (#3778BF), ΔE 0.036 away. White text reads best on it, at 4.95:1.

Hue familyBlues
Lightnessmedium-dark (55%)
Chromavivid (0.160)
Temperaturecool
Nearest nameWindows Blue (#3778BF)
Black text4.24:1
White text4.95:1

Values

HEX#1271CA
RGBrgb(18, 113, 202)
HSLhsl(209, 84%, 43%)
OKLCHoklch(54.7% 0.16 252.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.

PairWCAG 2ResultAPCAAPCA guidance
White text on #1271CA 4.95:1 AA Lc -79.1 Fine for body text
Black text on #1271CA 4.24:1 AA large text Lc 30.4 Non-text elements, placeholder text
#1271CA text on white 4.95:1 AA Lc 73.7 Content text, not long reading
#1271CA text on black 4.24:1 AA large text Lc -28.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.

  1. Step 50

    50

    #F1F6FC

    oklch(97.1% 0.01 252.8)

  2. Step 100

    100

    #E0EBF8

    oklch(93.6% 0.021 252.5)

  3. Step 200

    200

    #C7DBF4

    oklch(88.4% 0.041 254)

  4. Step 300

    300

    #A0C4EF

    oklch(80.9% 0.072 253.1)

  5. Step 400

    400

    #6BA4E7

    oklch(70.7% 0.116 253.3)

  6. Step 500

    500

    #3F8CDF

    oklch(63.1% 0.146 252.6)

  7. Step 600

    600 (this color)

    #1271CA

    oklch(54.7% 0.16 252.9)

  8. Step 700

    700

    #0461B1

    oklch(49.1% 0.148 252.6)

  9. Step 800

    800

    #0C4F90

    oklch(42.6% 0.124 253.1)

  10. Step 900

    900

    #154273

    oklch(37.6% 0.097 253.4)

  11. Step 950

    950

    #0E2743

    oklch(26.9% 0.061 253.2)

Export this scale for Tailwind in the Tailwind colors tool

#1271CA 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.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#4278CD0.039
Deuteranopia (no green cones)#1969C80.021
Tritanopia (no blue cones)#0087930.120
Achromatopsia (no color)#7070700.160

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #1271CA

    #1271CA

    oklch(54.7% 0.16 252.9)

  • #996400

    #996400

    oklch(54.7% 0.116 73.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1271CA

    #1271CA

    oklch(54.7% 0.16 252.9)

  • #007D9C

    #007D9C

    oklch(54.7% 0.102 223.1)

  • #665FC9

    #665FC9

    oklch(54.6% 0.159 282.7)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #1271CA

    #1271CA

    oklch(54.7% 0.16 252.9)

  • #B94806

    #B94806

    oklch(54.7% 0.16 42.9)

  • #7E7300

    #7E7300

    oklch(54.8% 0.115 102.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1271CA

    #1271CA

    oklch(54.7% 0.16 252.9)

  • #BA3E56

    #BA3E56

    oklch(54.6% 0.159 12.7)

  • #4B8200

    #4B8200

    oklch(54.7% 0.154 132.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1271CA

    #1271CA

    oklch(54.7% 0.16 252.9)

  • #AC4289

    #AC4289

    oklch(54.6% 0.16 342.7)

  • #996400

    #996400

    oklch(54.7% 0.116 73.1)

  • #00855C

    #00855C

    oklch(54.6% 0.118 163)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #1271CA, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #1271CA 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.