#126BB8

Closest named color: Mid Blue (#276AB3). oklch(52.1% 0.144 251), rgb(18, 107, 184).

Aa

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

About this color

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

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

Values

HEX#126BB8
RGBrgb(18, 107, 184)
HSLhsl(208, 82%, 40%)
OKLCHoklch(52.1% 0.144 251)

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 #126BB8 5.49:1 AA Lc -82.2 Fine for body text
Black text on #126BB8 3.82:1 AA large text Lc 27.2 Dividers and decoration only
#126BB8 text on white 5.49:1 AA Lc 76.9 Fine for body text
#126BB8 text on black 3.82:1 AA large text Lc -24.9 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

    #A0C4ED

    oklch(80.8% 0.07 252)

  5. Step 400

    400

    #6AA5E4

    oklch(70.7% 0.112 251.1)

  6. Step 500

    500

    #3E8DDC

    oklch(63.2% 0.142 251.1)

  7. Step 600

    600

    #1375C9

    oklch(55.5% 0.154 251.1)

  8. Step 700

    700 (this color)

    #126BB8

    oklch(52.1% 0.144 251)

  9. Step 800

    800

    #09508D

    oklch(42.6% 0.119 251.2)

  10. Step 900

    900

    #144371

    oklch(37.7% 0.093 251.4)

  11. Step 950

    950

    #0D2842

    oklch(27.1% 0.059 250.2)

Export this scale for Tailwind in the Tailwind colors tool

#126BB8 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)#4471BB0.041
Deuteranopia (no green cones)#2662B60.024
Tritanopia (no blue cones)#007E880.106
Achromatopsia (no color)#6969690.144

Harmonies

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

Complementary

The opposite hue (180°).

  • #126BB8

    #126BB8

    oklch(52.1% 0.144 251)

  • #915C00

    #915C00

    oklch(52.1% 0.112 70.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #126BB8

    #126BB8

    oklch(52.1% 0.144 251)

  • #007590

    #007590

    oklch(52.1% 0.096 221.3)

  • #5D5BB9

    #5D5BB9

    oklch(52.1% 0.144 281.1)

Open the analogous palette in the generator

Split complementary

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

  • #126BB8

    #126BB8

    oklch(52.1% 0.144 251)

  • #AA451A

    #AA451A

    oklch(52% 0.143 41)

  • #776A00

    #776A00

    oklch(52% 0.109 100.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #126BB8

    #126BB8

    oklch(52.1% 0.144 251)

  • #AB3E54

    #AB3E54

    oklch(52.1% 0.143 11.4)

  • #4B7900

    #4B7900

    oklch(52.2% 0.143 131)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #126BB8

    #126BB8

    oklch(52.1% 0.144 251)

  • #9D4281

    #9D4281

    oklch(52.1% 0.143 341.1)

  • #915C00

    #915C00

    oklch(52.1% 0.112 70.8)

  • #007D53

    #007D53

    oklch(52.1% 0.116 161.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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