#126ACD

Closest named color: Mid Blue (#276AB3). oklch(53.3% 0.172 255.9), rgb(18, 106, 205).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (53%)
Chromavivid (0.172)
Temperaturecool
Nearest nameMid Blue (#276AB3)
Black text3.96:1
White text5.29:1

Values

HEX#126ACD
RGBrgb(18, 106, 205)
HSLhsl(212, 84%, 44%)
OKLCHoklch(53.3% 0.172 255.9)

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 #126ACD 5.29:1 AA Lc -81.0 Fine for body text
Black text on #126ACD 3.96:1 AA large text Lc 28.4 Dividers and decoration only
#126ACD text on white 5.29:1 AA Lc 75.7 Fine for body text
#126ACD text on black 3.96:1 AA large text Lc -26.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

    #F1F6FD

    oklch(97.1% 0.011 256.7)

  2. Step 100

    100

    #E0EBF9

    oklch(93.6% 0.022 254.4)

  3. Step 200

    200

    #C7DBF6

    oklch(88.5% 0.043 255.9)

  4. Step 300

    300

    #A0C3F3

    oklch(80.9% 0.078 256.4)

  5. Step 400

    400

    #6BA3EC

    oklch(70.7% 0.123 255.5)

  6. Step 500

    500

    #4189E7

    oklch(63% 0.159 256.2)

  7. Step 600

    600 (this color)

    #126ACD

    oklch(53.3% 0.172 255.9)

  8. Step 700

    700

    #0D5EB8

    oklch(49.1% 0.159 255.9)

  9. Step 800

    800

    #104D95

    oklch(42.6% 0.132 256)

  10. Step 900

    900

    #164177

    oklch(37.7% 0.104 256)

  11. Step 950

    950

    #0E2746

    oklch(27.1% 0.066 255.2)

Export this scale for Tailwind in the Tailwind colors tool

#126ACD 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)#2E74D10.033
Deuteranopia (no green cones)#0064CB0.018
Tritanopia (no blue cones)#0082910.129
Achromatopsia (no color)#6B6B6B0.172

Harmonies

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

Complementary

The opposite hue (180°).

  • #126ACD

    #126ACD

    oklch(53.3% 0.172 255.9)

  • #916200

    #916200

    oklch(53.3% 0.112 76.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #126ACD

    #126ACD

    oklch(53.3% 0.172 255.9)

  • #00789A

    #00789A

    oklch(53.4% 0.102 226.3)

  • #6856CA

    #6856CA

    oklch(53.3% 0.173 286)

Open the analogous palette in the generator

Split complementary

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

  • #126ACD

    #126ACD

    oklch(53.3% 0.172 255.9)

  • #B04900

    #B04900

    oklch(53.4% 0.151 45.8)

  • #767000

    #767000

    oklch(53.3% 0.114 105.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #126ACD

    #126ACD

    oklch(53.3% 0.172 255.9)

  • #BB334A

    #BB334A

    oklch(53.4% 0.172 15.8)

  • #3D8000

    #3D8000

    oklch(53.4% 0.159 135.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #126ACD

    #126ACD

    oklch(53.3% 0.172 255.9)

  • #AE3781

    #AE3781

    oklch(53.3% 0.172 346.3)

  • #916200

    #916200

    oklch(53.3% 0.112 76.1)

  • #00815E

    #00815E

    oklch(53.5% 0.111 165.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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