#1271E5

Closest named color: Cerulean Blue (#056EEE). oklch(56.6% 0.194 257.4), rgb(18, 113, 229).

Aa

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

About this color

#1271E5 is a medium-dark, vivid blue. In OKLCH its lightness is 57%, its chroma 0.194 and its hue 257°. Its hue sits on the cool side of the wheel. The nearest named color is Cerulean Blue (#056EEE), ΔE 0.016 away. White text reads best on it, at 4.64:1.

Hue familyBlues
Lightnessmedium-dark (57%)
Chromavivid (0.194)
Temperaturecool
Nearest nameCerulean Blue (#056EEE)
Black text4.51:1
White text4.64:1

Values

HEX#1271E5
RGBrgb(18, 113, 229)
HSLhsl(213, 85%, 48%)
OKLCHoklch(56.6% 0.194 257.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.

PairWCAG 2ResultAPCAAPCA guidance
White text on #1271E5 4.64:1 AA Lc -77.0 Fine for body text
Black text on #1271E5 4.51:1 AA Lc 32.5 Non-text elements, placeholder text
#1271E5 text on white 4.64:1 AA Lc 71.5 Content text, not long reading
#1271E5 text on black 4.51:1 AA Lc -30.1 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.

  1. Step 50

    50

    #F1F6FE

    oklch(97.2% 0.012 259.8)

  2. Step 100

    100

    #E0EBFB

    oklch(93.7% 0.025 257.6)

  3. Step 200

    200

    #C5DBFA

    oklch(88.5% 0.049 256.9)

  4. Step 300

    300

    #9DC3F9

    oklch(80.9% 0.087 257.2)

  5. Step 400

    400

    #66A1F6

    oklch(70.6% 0.14 257.6)

  6. Step 500

    500

    #3987F3

    oklch(63.1% 0.179 257.5)

  7. Step 600

    600 (this color)

    #1271E5

    oklch(56.6% 0.194 257.4)

  8. Step 700

    700

    #005BC2

    oklch(49% 0.177 257.5)

  9. Step 800

    800

    #054B9E

    oklch(42.7% 0.149 257.3)

  10. Step 900

    900

    #11407E

    oklch(37.8% 0.116 257.2)

  11. Step 950

    950

    #0C264A

    oklch(27.1% 0.074 257.4)

Export this scale for Tailwind in the Tailwind colors tool

#1271E5 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)#207EE90.035
Deuteranopia (no green cones)#006CE30.015
Tritanopia (no blue cones)#008EA00.148
Achromatopsia (no color)#7474740.194

Harmonies

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

Complementary

The opposite hue (180°).

  • #1271E5

    #1271E5

    oklch(56.6% 0.194 257.4)

  • #9C6B00

    #9C6B00

    oklch(56.5% 0.118 77.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1271E5

    #1271E5

    oklch(56.6% 0.194 257.4)

  • #0082A8

    #0082A8

    oklch(56.6% 0.11 227.3)

  • #745AE0

    #745AE0

    oklch(56.6% 0.195 287.4)

Open the analogous palette in the generator

Split complementary

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

  • #1271E5

    #1271E5

    oklch(56.6% 0.194 257.4)

  • #BC5200

    #BC5200

    oklch(56.6% 0.155 47.5)

  • #7F7A00

    #7F7A00

    oklch(56.6% 0.121 106.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1271E5

    #1271E5

    oklch(56.6% 0.194 257.4)

  • #CF304A

    #CF304A

    oklch(56.6% 0.194 17.5)

  • #3B8C00

    #3B8C00

    oklch(56.7% 0.173 137.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1271E5

    #1271E5

    oklch(56.6% 0.194 257.4)

  • #C1358B

    #C1358B

    oklch(56.6% 0.194 347.4)

  • #9C6B00

    #9C6B00

    oklch(56.5% 0.118 77.2)

  • #008B68

    #008B68

    oklch(56.5% 0.115 167.4)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #1271E5.

Similar named colors

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

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