#124AAC

Closest named color: Sapphire (#2138AB). oklch(43.8% 0.167 261), rgb(18, 74, 172).

Aa

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

About this color

#124AAC is a dark, vivid blue. In OKLCH its lightness is 44%, its chroma 0.167 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.07:1.

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

Values

HEX#124AAC
RGBrgb(18, 74, 172)
HSLhsl(218, 81%, 37%)
OKLCHoklch(43.8% 0.167 261)

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 #124AAC 8.07:1 AAA Lc -92.0 Preferred for body text
Black text on #124AAC 2.60:1 Fails Lc 16.7 Dividers and decoration only
#124AAC text on white 8.07:1 AAA Lc 87.3 Fine for body text
#124AAC text on black 2.60:1 Fails Lc -14.8 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

    #DFEBFD

    oklch(93.6% 0.028 258.4)

  3. Step 200

    200

    #C5DAFE

    oklch(88.4% 0.055 261.2)

  4. Step 300

    300

    #9EC2FF

    oklch(81% 0.095 260.8)

  5. Step 400

    400

    #689FFF

    oklch(70.7% 0.153 260.8)

  6. Step 500

    500

    #3D83FF

    oklch(63.2% 0.198 260.8)

  7. Step 600

    600

    #1968EF

    oklch(55.7% 0.216 260.9)

  8. Step 700

    700

    #0B55D0

    oklch(49.1% 0.202 261)

  9. Step 800

    800 (this color)

    #124AAC

    oklch(43.8% 0.167 261)

  10. Step 900

    900

    #143D85

    oklch(37.8% 0.129 260.8)

  11. Step 950

    950

    #0D244E

    oklch(27% 0.083 261.2)

Export this scale for Tailwind in the Tailwind colors tool

#124AAC 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)#0057AF0.033
Deuteranopia (no green cones)#0049AA0.009
Tritanopia (no blue cones)#0063730.129
Achromatopsia (no color)#5050500.167

Harmonies

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

Complementary

The opposite hue (180°).

  • #124AAC

    #124AAC

    oklch(43.8% 0.167 261)

  • #6B4C00

    #6B4C00

    oklch(43.9% 0.09 81.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #124AAC

    #124AAC

    oklch(43.8% 0.167 261)

  • #005A7A

    #005A7A

    oklch(43.9% 0.089 231.3)

  • #5637A5

    #5637A5

    oklch(43.8% 0.168 290.8)

Open the analogous palette in the generator

Split complementary

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

  • #124AAC

    #124AAC

    oklch(43.8% 0.167 261)

  • #823B00

    #823B00

    oklch(43.9% 0.115 50.7)

  • #555600

    #555600

    oklch(43.8% 0.096 110.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #124AAC

    #124AAC

    oklch(43.8% 0.167 261)

  • #991026

    #991026

    oklch(43.8% 0.167 21)

  • #136400

    #136400

    oklch(43.9% 0.144 141)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #124AAC

    #124AAC

    oklch(43.8% 0.167 261)

  • #8F155D

    #8F155D

    oklch(43.8% 0.167 350.9)

  • #6B4C00

    #6B4C00

    oklch(43.9% 0.09 81.6)

  • #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 #124AAC, closest first.

Similar named colors

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

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