#127BF6

Closest named color: Clear Blue (#247AFD). oklch(60% 0.204 256.9), rgb(18, 123, 246).

Aa

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

About this color

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

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

Values

HEX#127BF6
RGBrgb(18, 123, 246)
HSLhsl(212, 93%, 52%)
OKLCHoklch(60% 0.204 256.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 #127BF6 4.04:1 AA large text Lc -72.4 Content text, not long reading
Black text on #127BF6 5.18:1 AA Lc 37.1 Non-text elements, placeholder text
#127BF6 text on white 4.04:1 AA large text Lc 66.9 Content text, not long reading
#127BF6 text on black 5.18:1 AA Lc -34.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 500.

  1. Step 50

    50

    #F0F6FF

    oklch(97.1% 0.014 258.3)

  2. Step 100

    100

    #DEEBFE

    oklch(93.6% 0.029 257.8)

  3. Step 200

    200

    #C2DBFE

    oklch(88.4% 0.055 256.8)

  4. Step 300

    300

    #98C3FF

    oklch(80.9% 0.097 256.8)

  5. Step 400

    400

    #5DA1FF

    oklch(70.7% 0.155 256.9)

  6. Step 500

    500 (this color)

    #127BF6

    oklch(60% 0.204 256.9)

  7. Step 600

    600

    #006EE3

    oklch(55.7% 0.197 256.9)

  8. Step 700

    700

    #005CC0

    oklch(49.1% 0.174 256.9)

  9. Step 800

    800

    #004B9F

    oklch(42.7% 0.151 256.9)

  10. Step 900

    900

    #003E86

    oklch(37.6% 0.133 257)

  11. Step 950

    950

    #06254E

    oklch(26.9% 0.084 257.1)

Export this scale for Tailwind in the Tailwind colors tool

#127BF6 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)#2788FA0.036
Deuteranopia (no green cones)#0075F40.017
Tritanopia (no blue cones)#0099AD0.153
Achromatopsia (no color)#7E7E7E0.204

Harmonies

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

Complementary

The opposite hue (180°).

  • #127BF6

    #127BF6

    oklch(60% 0.204 256.9)

  • #A97400

    #A97400

    oklch(59.8% 0.125 77)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #127BF6

    #127BF6

    oklch(60% 0.204 256.9)

  • #008DB5

    #008DB5

    oklch(60% 0.115 226.7)

  • #7D63F1

    #7D63F1

    oklch(60% 0.204 287)

Open the analogous palette in the generator

Split complementary

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

  • #127BF6

    #127BF6

    oklch(60% 0.204 256.9)

  • #CC5800

    #CC5800

    oklch(59.9% 0.166 46.8)

  • #8A8400

    #8A8400

    oklch(59.9% 0.128 106.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #127BF6

    #127BF6

    oklch(60% 0.204 256.9)

  • #DF3652

    #DF3652

    oklch(60% 0.204 17.1)

  • #439700

    #439700

    oklch(60% 0.182 137)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #127BF6

    #127BF6

    oklch(60% 0.204 256.9)

  • #D03C97

    #D03C97

    oklch(60.1% 0.204 347.2)

  • #A97400

    #A97400

    oklch(59.8% 0.125 77)

  • #009770

    #009770

    oklch(60% 0.123 166.7)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #127BF6.

Similar named colors

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

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