#1226D9

Closest named color: Ultramarine Blue (#1805DB). oklch(42.8% 0.258 265.8), rgb(18, 38, 217).

Aa

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

About this color

#1226D9 is a dark, vivid blue. In OKLCH its lightness is 43%, its chroma 0.258 and its hue 266°. Its hue sits on the cool side of the wheel. The nearest named color is Ultramarine Blue (#1805DB), ΔE 0.024 away. White text reads best on it, at 9.11:1.

Hue familyBlues
Lightnessdark (43%)
Chromavivid (0.258)
Temperaturecool
Nearest nameUltramarine Blue (#1805DB)
Black text2.30:1
White text9.11:1

Values

HEX#1226D9
RGBrgb(18, 38, 217)
HSLhsl(234, 85%, 46%)
OKLCHoklch(42.8% 0.258 265.8)

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 #1226D9 9.11:1 AAA Lc -93.6 Preferred for body text
Black text on #1226D9 2.30:1 Fails Lc 14.9 Not readable
#1226D9 text on white 9.11:1 AAA Lc 89.1 Fine for body text
#1226D9 text on black 2.30:1 Fails Lc -13.1 Not readable

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 800.

  1. Step 50

    50

    #F1F5FF

    oklch(97% 0.014 268.5)

  2. Step 100

    100

    #E0EAFF

    oklch(93.6% 0.03 265.3)

  3. Step 200

    200

    #C8D9FF

    oklch(88.5% 0.056 266.2)

  4. Step 300

    300

    #A3C0FF

    oklch(80.9% 0.095 265.2)

  5. Step 400

    400

    #739CFF

    oklch(70.7% 0.152 265.7)

  6. Step 500

    500

    #507FFF

    oklch(63.1% 0.197 265.8)

  7. Step 600

    600

    #2F5DFF

    oklch(55.5% 0.245 265.9)

  8. Step 700

    700

    #1935FF

    oklch(49.1% 0.287 265.8)

  9. Step 800

    800 (this color)

    #1226D9

    oklch(42.8% 0.258 265.8)

  10. Step 900

    900

    #102AAA

    oklch(37.7% 0.202 265.8)

  11. Step 950

    950

    #091C63

    oklch(27.1% 0.127 265.8)

Export this scale for Tailwind in the Tailwind colors tool

#1226D9 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)#0052DE0.079
Deuteranopia (no green cones)#003ED60.036
Tritanopia (no blue cones)#0061820.194
Achromatopsia (no color)#4848480.260

Harmonies

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

Complementary

The opposite hue (180°).

  • #1226D9

    #1226D9

    oklch(42.8% 0.258 265.8)

  • #654B00

    #654B00

    oklch(42.9% 0.088 85.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1226D9

    #1226D9

    oklch(42.8% 0.258 265.8)

  • #00567A

    #00567A

    oklch(42.8% 0.091 235.4)

  • #6100BD

    #6100BD

    oklch(42.8% 0.234 295.6)

Open the analogous palette in the generator

Split complementary

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

  • #1226D9

    #1226D9

    oklch(42.8% 0.258 265.8)

  • #793D00

    #793D00

    oklch(42.8% 0.105 56.2)

  • #4D5500

    #4D5500

    oklch(42.8% 0.098 115.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1226D9

    #1226D9

    oklch(42.8% 0.258 265.8)

  • #980012

    #980012

    oklch(42.8% 0.174 25.9)

  • #00611A

    #00611A

    oklch(42.9% 0.132 145.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1226D9

    #1226D9

    oklch(42.8% 0.258 265.8)

  • #910053

    #910053

    oklch(42.8% 0.176 355.6)

  • #654B00

    #654B00

    oklch(42.9% 0.088 85.7)

  • #005D4D

    #005D4D

    oklch(42.7% 0.08 175.6)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #1226D9.

Similar named colors

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

Use #1226D9 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.