#126DF7

Closest named color: Cerulean Blue (#056EEE). oklch(57.2% 0.221 260), rgb(18, 109, 247).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (57%)
Chromavivid (0.221)
Temperaturecool
Nearest nameCerulean Blue (#056EEE)
Black text4.55:1
White text4.60:1

Values

HEX#126DF7
RGBrgb(18, 109, 247)
HSLhsl(216, 93%, 52%)
OKLCHoklch(57.2% 0.221 260)

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 #126DF7 4.60:1 AA Lc -76.6 Fine for body text
Black text on #126DF7 4.55:1 AA Lc 32.9 Non-text elements, placeholder text
#126DF7 text on white 4.60:1 AA Lc 71.2 Content text, not long reading
#126DF7 text on black 4.55:1 AA Lc -30.5 Non-text elements, placeholder text

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

    #F0F6FF

    oklch(97.1% 0.014 258.3)

  2. Step 100

    100

    #DFEBFE

    oklch(93.7% 0.029 259.6)

  3. Step 200

    200

    #C4DAFE

    oklch(88.4% 0.055 260.3)

  4. Step 300

    300

    #9CC2FF

    oklch(80.9% 0.096 259.7)

  5. Step 400

    400

    #669FFF

    oklch(70.7% 0.154 260.3)

  6. Step 500

    500

    #3883FF

    oklch(63% 0.199 260)

  7. Step 600

    600 (this color)

    #126DF7

    oklch(57.2% 0.221 260)

  8. Step 700

    700

    #0056CF

    oklch(49.1% 0.2 260)

  9. Step 800

    800

    #0347AA

    oklch(42.8% 0.17 259.9)

  10. Step 900

    900

    #0F3D86

    oklch(37.7% 0.132 259.8)

  11. Step 950

    950

    #0B244F

    oklch(27% 0.085 260.5)

Export this scale for Tailwind in the Tailwind colors tool

#126DF7 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)#007FFC0.044
Deuteranopia (no green cones)#006CF40.007
Tritanopia (no blue cones)#0090A70.169
Achromatopsia (no color)#7575750.222

Harmonies

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

Complementary

The opposite hue (180°).

  • #126DF7

    #126DF7

    oklch(57.2% 0.221 260)

  • #9C6F00

    #9C6F00

    oklch(57.3% 0.118 80.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #126DF7

    #126DF7

    oklch(57.2% 0.221 260)

  • #0083AE

    #0083AE

    oklch(57.1% 0.114 230.3)

  • #7C52EE

    #7C52EE

    oklch(57.2% 0.222 289.9)

Open the analogous palette in the generator

Split complementary

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

  • #126DF7

    #126DF7

    oklch(57.2% 0.221 260)

  • #BB5700

    #BB5700

    oklch(57.2% 0.151 50.2)

  • #7D7D00

    #7D7D00

    oklch(57.1% 0.124 109.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #126DF7

    #126DF7

    oklch(57.2% 0.221 260)

  • #DC153D

    #DC153D

    oklch(57.2% 0.222 19.9)

  • #2A9000

    #2A9000

    oklch(57.2% 0.184 140)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #126DF7

    #126DF7

    oklch(57.2% 0.221 260)

  • #CE208A

    #CE208A

    oklch(57.2% 0.222 350)

  • #9C6F00

    #9C6F00

    oklch(57.3% 0.118 80.4)

  • #008D6E

    #008D6E

    oklch(57.2% 0.113 170.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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