#127AAD

Closest named color: Nice Blue (#107AB0). oklch(55% 0.116 237.7), rgb(18, 122, 173).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (55%)
Chromamoderately saturated (0.116)
Temperaturecool
Nearest nameNice Blue (#107AB0)
Black text4.41:1
White text4.75:1

Values

HEX#127AAD
RGBrgb(18, 122, 173)
HSLhsl(200, 81%, 37%)
OKLCHoklch(55% 0.116 237.7)

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 #127AAD 4.75:1 AA Lc -78.0 Fine for body text
Black text on #127AAD 4.41:1 AA large text Lc 31.5 Non-text elements, placeholder text
#127AAD text on white 4.75:1 AA Lc 72.5 Content text, not long reading
#127AAD text on black 4.41:1 AA large text Lc -29.1 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

    #F1F6FA

    oklch(97.1% 0.008 241.7)

  2. Step 100

    100

    #E1ECF3

    oklch(93.7% 0.015 235.4)

  3. Step 200

    200

    #C8DCEA

    oklch(88.4% 0.029 238.3)

  4. Step 300

    300

    #A2C6DF

    oklch(80.9% 0.052 238.6)

  5. Step 400

    400

    #6DA9CF

    oklch(70.8% 0.084 237.4)

  6. Step 500

    500

    #4192C2

    oklch(63% 0.107 237.9)

  7. Step 600

    600 (this color)

    #127AAD

    oklch(55% 0.116 237.7)

  8. Step 700

    700

    #006896

    oklch(49.1% 0.108 237.6)

  9. Step 800

    800

    #0B557A

    oklch(42.7% 0.09 237.8)

  10. Step 900

    900

    #154662

    oklch(37.6% 0.07 238.1)

  11. Step 950

    950

    #0E2939

    oklch(26.8% 0.044 237.6)

Export this scale for Tailwind in the Tailwind colors tool

#127AAD 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)#617AAF0.064
Deuteranopia (no green cones)#4D6DAC0.051
Tritanopia (no blue cones)#00878C0.074
Achromatopsia (no color)#7373730.117

Harmonies

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

Complementary

The opposite hue (180°).

  • #127AAD

    #127AAD

    oklch(55% 0.116 237.7)

  • #A35E20

    #A35E20

    oklch(55% 0.116 57.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #127AAD

    #127AAD

    oklch(55% 0.116 237.7)

  • #00818E

    #00818E

    oklch(55.1% 0.095 207.2)

  • #546EB6

    #546EB6

    oklch(55.2% 0.117 267.5)

Open the analogous palette in the generator

Split complementary

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

  • #127AAD

    #127AAD

    oklch(55% 0.116 237.7)

  • #AB544B

    #AB544B

    oklch(55.1% 0.116 27.5)

  • #8D6D00

    #8D6D00

    oklch(55.1% 0.113 88.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #127AAD

    #127AAD

    oklch(55% 0.116 237.7)

  • #A65272

    #A65272

    oklch(55.1% 0.116 357.5)

  • #6C7A1B

    #6C7A1B

    oklch(55% 0.116 117.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #127AAD

    #127AAD

    oklch(55% 0.116 237.7)

  • #955794

    #955794

    oklch(55% 0.116 327.6)

  • #A35E20

    #A35E20

    oklch(55% 0.116 57.9)

  • #3B8448

    #3B8448

    oklch(55.1% 0.117 147.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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