#124AAD

Closest named color: Sapphire (#2138AB). oklch(43.9% 0.168 261.1), rgb(18, 74, 173).

Aa

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

About this color

#124AAD is a dark, vivid blue. In OKLCH its lightness is 44%, its chroma 0.168 and its hue 261°. Its hue sits on the cool side of the wheel. The nearest named color is Sapphire (#2138AB), ΔE 0.041 away. White text reads best on it, at 8.05:1.

Hue familyBlues
Lightnessdark (44%)
Chromavivid (0.168)
Temperaturecool
Nearest nameSapphire (#2138AB)
Black text2.60:1
White text8.05:1

Values

HEX#124AAD
RGBrgb(18, 74, 173)
HSLhsl(218, 81%, 37%)
OKLCHoklch(43.9% 0.168 261.1)

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 #124AAD 8.05:1 AAA Lc -91.9 Preferred for body text
Black text on #124AAD 2.60:1 Fails Lc 16.8 Dividers and decoration only
#124AAD text on white 8.05:1 AAA Lc 87.2 Fine for body text
#124AAD text on black 2.60:1 Fails Lc -14.9 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

    #F1F6FF

    oklch(97.2% 0.013 262.4)

  2. Step 100

    100

    #DFEBFE

    oklch(93.7% 0.029 259.6)

  3. Step 200

    200

    #C5DAFE

    oklch(88.4% 0.055 261.2)

  4. Step 300

    300

    #9EC1FF

    oklch(80.8% 0.096 261.6)

  5. Step 400

    400

    #689FFF

    oklch(70.7% 0.153 260.8)

  6. Step 500

    500

    #3E82FF

    oklch(63% 0.199 261.3)

  7. Step 600

    600

    #1967F0

    oklch(55.5% 0.219 261.1)

  8. Step 700

    700

    #0A55D1

    oklch(49.2% 0.203 261)

  9. Step 800

    800 (this color)

    #124AAD

    oklch(43.9% 0.168 261.1)

  10. Step 900

    900

    #143C86

    oklch(37.6% 0.132 261.4)

  11. Step 950

    950

    #0D244E

    oklch(27% 0.083 261.2)

Export this scale for Tailwind in the Tailwind colors tool

#124AAD 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)#0057B00.033
Deuteranopia (no green cones)#004AAB0.008
Tritanopia (no blue cones)#0063740.128
Achromatopsia (no color)#5050500.169

Harmonies

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

Complementary

The opposite hue (180°).

  • #124AAD

    #124AAD

    oklch(43.9% 0.168 261.1)

  • #6C4C00

    #6C4C00

    oklch(44% 0.091 80.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #124AAD

    #124AAD

    oklch(43.9% 0.168 261.1)

  • #005A7A

    #005A7A

    oklch(43.9% 0.089 231.3)

  • #5737A6

    #5737A6

    oklch(44% 0.169 291.1)

Open the analogous palette in the generator

Split complementary

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

  • #124AAD

    #124AAD

    oklch(43.9% 0.168 261.1)

  • #823B00

    #823B00

    oklch(43.9% 0.115 50.7)

  • #555700

    #555700

    oklch(44% 0.097 111.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #124AAD

    #124AAD

    oklch(43.9% 0.168 261.1)

  • #9A0E26

    #9A0E26

    oklch(43.9% 0.169 20.9)

  • #126400

    #126400

    oklch(43.9% 0.145 141.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #124AAD

    #124AAD

    oklch(43.9% 0.168 261.1)

  • #90145D

    #90145D

    oklch(43.9% 0.168 351.2)

  • #6C4C00

    #6C4C00

    oklch(44% 0.091 80.8)

  • #00614C

    #00614C

    oklch(43.9% 0.086 171.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #124AAD 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.