#126ED5

Closest named color: Royal Blue (#4169E1). oklch(54.8% 0.177 256), rgb(18, 110, 213).

Aa

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

About this color

#126ED5 is a medium-dark, vivid blue. In OKLCH its lightness is 55%, its chroma 0.177 and its hue 256°. Its hue sits on the cool side of the wheel. The nearest named color is Royal Blue (#4169E1), ΔE 0.037 away. White text reads best on it, at 4.97:1.

Hue familyBlues
Lightnessmedium-dark (55%)
Chromavivid (0.177)
Temperaturecool
Nearest nameRoyal Blue (#4169E1)
Black text4.21:1
White text4.97:1

Values

HEX#126ED5
RGBrgb(18, 110, 213)
HSLhsl(212, 84%, 45%)
OKLCHoklch(54.8% 0.177 256)

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 #126ED5 4.97:1 AA Lc -79.2 Fine for body text
Black text on #126ED5 4.21:1 AA large text Lc 30.3 Non-text elements, placeholder text
#126ED5 text on white 4.97:1 AA Lc 73.8 Content text, not long reading
#126ED5 text on black 4.21:1 AA large text Lc -27.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 600.

  1. Step 50

    50

    #F1F6FD

    oklch(97.1% 0.011 256.7)

  2. Step 100

    100

    #E0EBFA

    oklch(93.6% 0.024 256.1)

  3. Step 200

    200

    #C6DBF7

    oklch(88.5% 0.045 255.6)

  4. Step 300

    300

    #9FC3F4

    oklch(80.8% 0.08 256.2)

  5. Step 400

    400

    #69A3EF

    oklch(70.8% 0.128 255.7)

  6. Step 500

    500

    #3E89E9

    oklch(63% 0.163 256)

  7. Step 600

    600 (this color)

    #126ED5

    oklch(54.8% 0.177 256)

  8. Step 700

    700

    #045EBB

    oklch(49.2% 0.164 255.8)

  9. Step 800

    800

    #0C4D97

    oklch(42.7% 0.136 255.9)

  10. Step 900

    900

    #144178

    oklch(37.7% 0.106 255.7)

  11. Step 950

    950

    #0D2647

    oklch(26.9% 0.069 256.4)

Export this scale for Tailwind in the Tailwind colors tool

#126ED5 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)#2F78D90.033
Deuteranopia (no green cones)#0068D30.018
Tritanopia (no blue cones)#0087970.133
Achromatopsia (no color)#7070700.177

Harmonies

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

Complementary

The opposite hue (180°).

  • #126ED5

    #126ED5

    oklch(54.8% 0.177 256)

  • #976600

    #976600

    oklch(54.8% 0.115 75.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #126ED5

    #126ED5

    oklch(54.8% 0.177 256)

  • #007D9F

    #007D9F

    oklch(54.9% 0.104 225.4)

  • #6C5AD1

    #6C5AD1

    oklch(54.8% 0.176 285.9)

Open the analogous palette in the generator

Split complementary

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

  • #126ED5

    #126ED5

    oklch(54.8% 0.177 256)

  • #B64C00

    #B64C00

    oklch(54.8% 0.154 45.9)

  • #7A7400

    #7A7400

    oklch(54.7% 0.117 106.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #126ED5

    #126ED5

    oklch(54.8% 0.177 256)

  • #C2354C

    #C2354C

    oklch(54.8% 0.177 16.2)

  • #3F8500

    #3F8500

    oklch(54.9% 0.163 136)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #126ED5

    #126ED5

    oklch(54.8% 0.177 256)

  • #B43986

    #B43986

    oklch(54.7% 0.177 346)

  • #976600

    #976600

    oklch(54.8% 0.115 75.9)

  • #008561

    #008561

    oklch(54.7% 0.114 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 #126ED5, closest first.

Similar named colors

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

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