#127AA2

Closest named color: Nice Blue (#107AB0). oklch(54.5% 0.105 231.2), rgb(18, 122, 162).

Aa

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

About this color

#127AA2 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 54%, its chroma 0.105 and its hue 231°. Its hue sits on the cool side of the wheel. The nearest named color is Nice Blue (#107AB0), ΔE 0.022 away. White text reads best on it, at 4.84:1.

Hue familyBlues
Lightnessmedium-dark (54%)
Chromamoderately saturated (0.105)
Temperaturecool
Nearest nameNice Blue (#107AB0)
Black text4.33:1
White text4.84:1

Values

HEX#127AA2
RGBrgb(18, 122, 162)
HSLhsl(197, 80%, 35%)
OKLCHoklch(54.5% 0.105 231.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 #127AA2 4.84:1 AA Lc -78.6 Fine for body text
Black text on #127AA2 4.33:1 AA large text Lc 30.9 Non-text elements, placeholder text
#127AA2 text on white 4.84:1 AA Lc 73.1 Content text, not long reading
#127AA2 text on black 4.33:1 AA large text Lc -28.5 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

    #F1F6F9

    oklch(97% 0.007 233.6)

  2. Step 100

    100

    #E1ECF1

    oklch(93.6% 0.014 226.6)

  3. Step 200

    200

    #C9DDE8

    oklch(88.6% 0.026 231.7)

  4. Step 300

    300

    #A2C7DA

    oklch(80.9% 0.048 230.4)

  5. Step 400

    400

    #6EAAC8

    oklch(70.8% 0.076 231)

  6. Step 500

    500

    #4294BA

    oklch(63.2% 0.097 231.2)

  7. Step 600

    600 (this color)

    #127AA2

    oklch(54.5% 0.105 231.2)

  8. Step 700

    700

    #046A8E

    oklch(49.2% 0.098 230.9)

  9. Step 800

    800

    #0D5673

    oklch(42.6% 0.081 231.3)

  10. Step 900

    900

    #16475D

    oklch(37.6% 0.064 231.5)

  11. Step 950

    950

    #0F2A36

    oklch(27% 0.04 229.8)

Export this scale for Tailwind in the Tailwind colors tool

#127AA2 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)#6679A40.071
Deuteranopia (no green cones)#536CA10.058
Tritanopia (no blue cones)#0085880.061
Achromatopsia (no color)#7171710.105

Harmonies

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

Complementary

The opposite hue (180°).

  • #127AA2

    #127AA2

    oklch(54.5% 0.105 231.2)

  • #A05C31

    #A05C31

    oklch(54.4% 0.106 51.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #127AA2

    #127AA2

    oklch(54.5% 0.105 231.2)

  • #008086

    #008086

    oklch(54.5% 0.093 200.6)

  • #4C6FAD

    #4C6FAD

    oklch(54.4% 0.106 261.2)

Open the analogous palette in the generator

Split complementary

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

  • #127AA2

    #127AA2

    oklch(54.5% 0.105 231.2)

  • #A55555

    #A55555

    oklch(54.6% 0.106 21.1)

  • #8F6914

    #8F6914

    oklch(54.6% 0.106 81.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #127AA2

    #127AA2

    oklch(54.5% 0.105 231.2)

  • #9D5477

    #9D5477

    oklch(54.3% 0.105 351.1)

  • #737520

    #737520

    oklch(54.4% 0.105 110.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #127AA2

    #127AA2

    oklch(54.5% 0.105 231.2)

  • #8C5A95

    #8C5A95

    oklch(54.4% 0.106 321.3)

  • #A05C31

    #A05C31

    oklch(54.4% 0.106 51.1)

  • #4B7F43

    #4B7F43

    oklch(54.4% 0.106 141.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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