#126FC2

Closest named color: Mid Blue (#276AB3). oklch(53.7% 0.152 251.8), rgb(18, 111, 194).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (54%)
Chromavivid (0.152)
Temperaturecool
Nearest nameMid Blue (#276AB3)
Black text4.07:1
White text5.14:1

Values

HEX#126FC2
RGBrgb(18, 111, 194)
HSLhsl(208, 83%, 42%)
OKLCHoklch(53.7% 0.152 251.8)

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 #126FC2 5.14:1 AA Lc -80.3 Fine for body text
Black text on #126FC2 4.07:1 AA large text Lc 29.2 Dividers and decoration only
#126FC2 text on white 5.14:1 AA Lc 74.9 Content text, not long reading
#126FC2 text on black 4.07:1 AA large text Lc -26.8 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

    #F1F6FC

    oklch(97.1% 0.01 252.8)

  2. Step 100

    100

    #E1EBF7

    oklch(93.6% 0.019 252.9)

  3. Step 200

    200

    #C8DBF2

    oklch(88.4% 0.038 253.2)

  4. Step 300

    300

    #A1C4EC

    oklch(80.9% 0.068 252)

  5. Step 400

    400

    #6CA5E3

    oklch(70.8% 0.109 251.5)

  6. Step 500

    500

    #428CDB

    oklch(63% 0.14 252.3)

  7. Step 600

    600 (this color)

    #126FC2

    oklch(53.7% 0.152 251.8)

  8. Step 700

    700

    #0A62AD

    oklch(49.2% 0.141 251.6)

  9. Step 800

    800

    #0F508C

    oklch(42.7% 0.117 251.7)

  10. Step 900

    900

    #164370

    oklch(37.7% 0.091 251.6)

  11. Step 950

    950

    #0F2742

    oklch(26.9% 0.059 253.1)

Export this scale for Tailwind in the Tailwind colors tool

#126FC2 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)#4475C50.040
Deuteranopia (no green cones)#2266C00.024
Tritanopia (no blue cones)#00838F0.111
Achromatopsia (no color)#6D6D6D0.152

Harmonies

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

Complementary

The opposite hue (180°).

  • #126FC2

    #126FC2

    oklch(53.7% 0.152 251.8)

  • #966100

    #966100

    oklch(53.7% 0.115 72.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #126FC2

    #126FC2

    oklch(53.7% 0.152 251.8)

  • #007A97

    #007A97

    oklch(53.7% 0.099 222.1)

  • #625EC2

    #625EC2

    oklch(53.7% 0.152 281.8)

Open the analogous palette in the generator

Split complementary

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

  • #126FC2

    #126FC2

    oklch(53.7% 0.152 251.8)

  • #B34714

    #B34714

    oklch(53.7% 0.152 41.7)

  • #7B6F00

    #7B6F00

    oklch(53.6% 0.112 101.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #126FC2

    #126FC2

    oklch(53.7% 0.152 251.8)

  • #B43F56

    #B43F56

    oklch(53.8% 0.152 12.1)

  • #4C7E00

    #4C7E00

    oklch(53.7% 0.148 131.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #126FC2

    #126FC2

    oklch(53.7% 0.152 251.8)

  • #A64386

    #A64386

    oklch(53.7% 0.152 342.1)

  • #966100

    #966100

    oklch(53.7% 0.115 72.3)

  • #008258

    #008258

    oklch(53.6% 0.118 162)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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