#126AEC

Closest named color: Cerulean Blue (#056EEE). oklch(55.7% 0.211 259.7), rgb(18, 106, 236).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (56%)
Chromavivid (0.211)
Temperaturecool
Nearest nameCerulean Blue (#056EEE)
Black text4.29:1
White text4.88:1

Values

HEX#126AEC
RGBrgb(18, 106, 236)
HSLhsl(216, 86%, 50%)
OKLCHoklch(55.7% 0.211 259.7)

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 #126AEC 4.88:1 AA Lc -78.5 Fine for body text
Black text on #126AEC 4.29:1 AA large text Lc 31.0 Non-text elements, placeholder text
#126AEC text on white 4.88:1 AA Lc 73.0 Content text, not long reading
#126AEC text on black 4.29:1 AA large text Lc -28.7 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

    #F0F6FE

    oklch(97.1% 0.012 255.5)

  2. Step 100

    100

    #DFEBFD

    oklch(93.6% 0.028 258.4)

  3. Step 200

    200

    #C5DBFD

    oklch(88.6% 0.053 259)

  4. Step 300

    300

    #9CC2FE

    oklch(80.9% 0.095 259.4)

  5. Step 400

    400

    #65A0FE

    oklch(70.8% 0.152 259.3)

  6. Step 500

    500

    #3984FC

    oklch(63.1% 0.194 259.6)

  7. Step 600

    600 (this color)

    #126AEC

    oklch(55.7% 0.211 259.7)

  8. Step 700

    700

    #0157CD

    oklch(49.1% 0.196 259.7)

  9. Step 800

    800

    #0848A6

    oklch(42.7% 0.163 259.7)

  10. Step 900

    900

    #123E83

    oklch(37.8% 0.126 259.5)

  11. Step 950

    950

    #0C254D

    oklch(27.1% 0.08 259.5)

Export this scale for Tailwind in the Tailwind colors tool

#126AEC 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)#007BF00.042
Deuteranopia (no green cones)#0068EA0.008
Tritanopia (no blue cones)#008BA10.160
Achromatopsia (no color)#7171710.211

Harmonies

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

Complementary

The opposite hue (180°).

  • #126AEC

    #126AEC

    oklch(55.7% 0.211 259.7)

  • #976A00

    #976A00

    oklch(55.7% 0.116 79.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #126AEC

    #126AEC

    oklch(55.7% 0.211 259.7)

  • #007FA7

    #007FA7

    oklch(55.8% 0.11 229.1)

  • #7751E4

    #7751E4

    oklch(55.8% 0.211 289.7)

Open the analogous palette in the generator

Split complementary

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

  • #126AEC

    #126AEC

    oklch(55.7% 0.211 259.7)

  • #B55300

    #B55300

    oklch(55.7% 0.148 49.7)

  • #797900

    #797900

    oklch(55.8% 0.122 109.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #126AEC

    #126AEC

    oklch(55.7% 0.211 259.7)

  • #D31B3D

    #D31B3D

    oklch(55.7% 0.211 19.6)

  • #2B8B00

    #2B8B00

    oklch(55.9% 0.179 139.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #126AEC

    #126AEC

    oklch(55.7% 0.211 259.7)

  • #C52385

    #C52385

    oklch(55.7% 0.211 349.8)

  • #976A00

    #976A00

    oklch(55.7% 0.116 79.3)

  • #008869

    #008869

    oklch(55.7% 0.111 169.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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