#126AB5

Closest named color: Mid Blue (#276AB3). oklch(51.7% 0.141 250.7), rgb(18, 106, 181).

Aa

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

About this color

#126AB5 is a medium-dark, vivid blue. In OKLCH its lightness is 52%, its chroma 0.141 and its hue 251°. Its hue sits on the cool side of the wheel. The nearest named color is Mid Blue (#276AB3), ΔE 0.011 away. White text reads best on it, at 5.59:1.

Hue familyBlues
Lightnessmedium-dark (52%)
Chromavivid (0.141)
Temperaturecool
Nearest nameMid Blue (#276AB3)
Black text3.75:1
White text5.59:1

Values

HEX#126AB5
RGBrgb(18, 106, 181)
HSLhsl(208, 82%, 39%)
OKLCHoklch(51.7% 0.141 250.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 #126AB5 5.59:1 AA Lc -82.7 Fine for body text
Black text on #126AB5 3.75:1 AA large text Lc 26.7 Dividers and decoration only
#126AB5 text on white 5.59:1 AA Lc 77.4 Fine for body text
#126AB5 text on black 3.75:1 AA large text Lc -24.4 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 700.

  1. Step 50

    50

    #F1F6FC

    oklch(97.1% 0.01 252.8)

  2. Step 100

    100

    #E0EBF7

    oklch(93.5% 0.02 250.4)

  3. Step 200

    200

    #C7DCF2

    oklch(88.6% 0.038 249.5)

  4. Step 300

    300

    #A0C4EC

    oklch(80.8% 0.069 251.4)

  5. Step 400

    400

    #6BA5E2

    oklch(70.7% 0.109 250.7)

  6. Step 500

    500

    #3F8DDA

    oklch(63.1% 0.139 250.8)

  7. Step 600

    600

    #1576C8

    oklch(55.7% 0.151 250.5)

  8. Step 700

    700 (this color)

    #126AB5

    oklch(51.7% 0.141 250.7)

  9. Step 800

    800

    #0B518C

    oklch(42.8% 0.116 250.5)

  10. Step 900

    900

    #154370

    oklch(37.7% 0.092 251.3)

  11. Step 950

    950

    #0E2841

    oklch(27.1% 0.057 249.9)

Export this scale for Tailwind in the Tailwind colors tool

#126AB5 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)#446FB80.040
Deuteranopia (no green cones)#2861B40.025
Tritanopia (no blue cones)#007C860.103
Achromatopsia (no color)#6868680.141

Harmonies

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

Complementary

The opposite hue (180°).

  • #126AB5

    #126AB5

    oklch(51.7% 0.141 250.7)

  • #905B00

    #905B00

    oklch(51.8% 0.112 70.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #126AB5

    #126AB5

    oklch(51.7% 0.141 250.7)

  • #00748E

    #00748E

    oklch(51.7% 0.095 220.6)

  • #5B5AB6

    #5B5AB6

    oklch(51.6% 0.142 280.7)

Open the analogous palette in the generator

Split complementary

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

  • #126AB5

    #126AB5

    oklch(51.7% 0.141 250.7)

  • #A8451C

    #A8451C

    oklch(51.7% 0.141 40.8)

  • #766900

    #766900

    oklch(51.7% 0.108 100.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #126AB5

    #126AB5

    oklch(51.7% 0.141 250.7)

  • #A83E54

    #A83E54

    oklch(51.7% 0.14 10.8)

  • #4B7700

    #4B7700

    oklch(51.7% 0.14 130.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #126AB5

    #126AB5

    oklch(51.7% 0.141 250.7)

  • #9B4280

    #9B4280

    oklch(51.7% 0.14 340.8)

  • #905B00

    #905B00

    oklch(51.8% 0.112 70.6)

  • #007C51

    #007C51

    oklch(51.8% 0.116 160.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #126AB5 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.