#126CE2

Closest named color: Cerulean Blue (#056EEE). oklch(55.3% 0.196 258.2), rgb(18, 108, 226).

Aa

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

About this color

#126CE2 is a medium-dark, vivid blue. In OKLCH its lightness is 55%, its chroma 0.196 and its hue 258°. Its hue sits on the cool side of the wheel. The nearest named color is Cerulean Blue (#056EEE), ΔE 0.019 away. White text reads best on it, at 4.91:1.

Hue familyBlues
Lightnessmedium-dark (55%)
Chromavivid (0.196)
Temperaturecool
Nearest nameCerulean Blue (#056EEE)
Black text4.26:1
White text4.91:1

Values

HEX#126CE2
RGBrgb(18, 108, 226)
HSLhsl(214, 85%, 48%)
OKLCHoklch(55.3% 0.196 258.2)

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 #126CE2 4.91:1 AA Lc -78.8 Fine for body text
Black text on #126CE2 4.26:1 AA large text Lc 30.8 Non-text elements, placeholder text
#126CE2 text on white 4.91:1 AA Lc 73.3 Content text, not long reading
#126CE2 text on black 4.26:1 AA large text Lc -28.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 600.

  1. Step 50

    50

    #F1F6FE

    oklch(97.2% 0.012 259.8)

  2. Step 100

    100

    #E0EBFB

    oklch(93.7% 0.025 257.6)

  3. Step 200

    200

    #C6DBFA

    oklch(88.6% 0.048 258)

  4. Step 300

    300

    #9EC3FA

    oklch(81% 0.088 258.1)

  5. Step 400

    400

    #67A1F7

    oklch(70.7% 0.141 258.1)

  6. Step 500

    500

    #3B86F4

    oklch(63% 0.181 258.3)

  7. Step 600

    600 (this color)

    #126CE2

    oklch(55.3% 0.196 258.2)

  8. Step 700

    700

    #025AC5

    oklch(49.1% 0.182 258.2)

  9. Step 800

    800

    #0A4A9F

    oklch(42.6% 0.151 258.3)

  10. Step 900

    900

    #133F7F

    oklch(37.7% 0.119 258.5)

  11. Step 950

    950

    #0D264A

    oklch(27.1% 0.074 257.9)

Export this scale for Tailwind in the Tailwind colors tool

#126CE2 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)#0A7AE60.036
Deuteranopia (no green cones)#0068E00.012
Tritanopia (no blue cones)#00899D0.147
Achromatopsia (no color)#7070700.196

Harmonies

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

Complementary

The opposite hue (180°).

  • #126CE2

    #126CE2

    oklch(55.3% 0.196 258.2)

  • #976900

    #976900

    oklch(55.4% 0.115 78.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #126CE2

    #126CE2

    oklch(55.3% 0.196 258.2)

  • #007EA4

    #007EA4

    oklch(55.4% 0.108 228)

  • #7255DC

    #7255DC

    oklch(55.3% 0.197 288.1)

Open the analogous palette in the generator

Split complementary

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

  • #126CE2

    #126CE2

    oklch(55.3% 0.196 258.2)

  • #B55000

    #B55000

    oklch(55.2% 0.15 48.1)

  • #7A7700

    #7A7700

    oklch(55.4% 0.119 108)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #126CE2

    #126CE2

    oklch(55.3% 0.196 258.2)

  • #CC2944

    #CC2944

    oklch(55.4% 0.197 18.3)

  • #348800

    #348800

    oklch(55.3% 0.172 138.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #126CE2

    #126CE2

    oklch(55.3% 0.196 258.2)

  • #BE2F86

    #BE2F86

    oklch(55.4% 0.196 348.2)

  • #976900

    #976900

    oklch(55.4% 0.115 78.5)

  • #008766

    #008766

    oklch(55.4% 0.112 168.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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