#127AEE

Closest named color: Clear Blue (#247AFD). oklch(59.2% 0.195 256.2), rgb(18, 122, 238).

Aa

Black text reads best on this color (5.04:1).

About this color

#127AEE is a medium-dark, vivid blue. In OKLCH its lightness is 59%, its chroma 0.195 and its hue 256°. Its hue sits on the cool side of the wheel. The nearest named color is Clear Blue (#247AFD), ΔE 0.024 away. Black text reads best on it, at 5.04:1.

Hue familyBlues
Lightnessmedium-dark (59%)
Chromavivid (0.195)
Temperaturecool
Nearest nameClear Blue (#247AFD)
Black text5.04:1
White text4.16:1

Values

HEX#127AEE
RGBrgb(18, 122, 238)
HSLhsl(212, 87%, 50%)
OKLCHoklch(59.2% 0.195 256.2)

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 #127AEE 4.16:1 AA large text Lc -73.4 Content text, not long reading
Black text on #127AEE 5.04:1 AA Lc 36.1 Non-text elements, placeholder text
#127AEE text on white 4.16:1 AA large text Lc 67.9 Content text, not long reading
#127AEE text on black 5.04:1 AA Lc -33.7 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

    #F0F6FE

    oklch(97.1% 0.012 255.5)

  2. Step 100

    100

    #DFEBFB

    oklch(93.6% 0.025 255.6)

  3. Step 200

    200

    #C5DBFA

    oklch(88.5% 0.049 256.9)

  4. Step 300

    300

    #9CC3F9

    oklch(80.9% 0.088 256.6)

  5. Step 400

    400

    #63A2F6

    oklch(70.7% 0.14 256.1)

  6. Step 500

    500

    #3388F3

    oklch(63.1% 0.18 256.2)

  7. Step 600

    600 (this color)

    #127AEE

    oklch(59.2% 0.195 256.2)

  8. Step 700

    700

    #005DBD

    oklch(49.1% 0.169 256.1)

  9. Step 800

    800

    #004C9D

    oklch(42.8% 0.147 256.2)

  10. Step 900

    900

    #0C407E

    oklch(37.7% 0.117 256.1)

  11. Step 950

    950

    #0A264A

    oklch(27% 0.075 256.3)

Export this scale for Tailwind in the Tailwind colors tool

#127AEE 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)#3186F20.037
Deuteranopia (no green cones)#0074EC0.017
Tritanopia (no blue cones)#0096A90.145
Achromatopsia (no color)#7C7C7C0.195

Harmonies

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

Complementary

The opposite hue (180°).

  • #127AEE

    #127AEE

    oklch(59.2% 0.195 256.2)

  • #A77200

    #A77200

    oklch(59.2% 0.124 76.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #127AEE

    #127AEE

    oklch(59.2% 0.195 256.2)

  • #008BB1

    #008BB1

    oklch(59.3% 0.113 225.7)

  • #7963EA

    #7963EA

    oklch(59.2% 0.196 286.3)

Open the analogous palette in the generator

Split complementary

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

  • #127AEE

    #127AEE

    oklch(59.2% 0.195 256.2)

  • #CA5500

    #CA5500

    oklch(59.2% 0.167 45.9)

  • #888200

    #888200

    oklch(59.3% 0.127 106.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #127AEE

    #127AEE

    oklch(59.2% 0.195 256.2)

  • #D93954

    #D93954

    oklch(59.2% 0.195 16.3)

  • #469400

    #469400

    oklch(59.3% 0.177 136.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #127AEE

    #127AEE

    oklch(59.2% 0.195 256.2)

  • #C93E95

    #C93E95

    oklch(59.1% 0.195 346.2)

  • #A77200

    #A77200

    oklch(59.2% 0.124 76.5)

  • #00946D

    #00946D

    oklch(59.1% 0.122 166.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #127AEE 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.