#124FB4

Closest named color: Blue Blue (#2242C7). oklch(45.6% 0.172 260.5), rgb(18, 79, 180).

Aa

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

About this color

#124FB4 is a medium-dark, vivid blue. In OKLCH its lightness is 46%, its chroma 0.172 and its hue 260°. Its hue sits on the cool side of the wheel. The nearest named color is Blue Blue (#2242C7), ΔE 0.042 away. White text reads best on it, at 7.49:1.

Hue familyBlues
Lightnessmedium-dark (46%)
Chromavivid (0.172)
Temperaturecool
Nearest nameBlue Blue (#2242C7)
Black text2.80:1
White text7.49:1

Values

HEX#124FB4
RGBrgb(18, 79, 180)
HSLhsl(217, 82%, 39%)
OKLCHoklch(45.6% 0.172 260.5)

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 #124FB4 7.49:1 AAA Lc -90.2 Preferred for body text
Black text on #124FB4 2.80:1 Fails Lc 18.7 Dividers and decoration only
#124FB4 text on white 7.49:1 AAA Lc 85.3 Fine for body text
#124FB4 text on black 2.80:1 Fails Lc -16.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 800.

  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

    #C4DAFF

    oklch(88.4% 0.057 260.8)

  4. Step 300

    300

    #9DC2FF

    oklch(81% 0.096 260.2)

  5. Step 400

    400

    #679FFF

    oklch(70.7% 0.153 260.6)

  6. Step 500

    500

    #3B83FF

    oklch(63.1% 0.198 260.5)

  7. Step 600

    600

    #0E67F2

    oklch(55.6% 0.223 260.5)

  8. Step 700

    700

    #0055D2

    oklch(49.1% 0.205 260.4)

  9. Step 800

    800 (this color)

    #124FB4

    oklch(45.6% 0.172 260.5)

  10. Step 900

    900

    #103C87

    oklch(37.6% 0.135 260.6)

  11. Step 950

    950

    #0B244F

    oklch(27% 0.085 260.5)

Export this scale for Tailwind in the Tailwind colors tool

#124FB4 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)#005CB70.033
Deuteranopia (no green cones)#004EB20.008
Tritanopia (no blue cones)#0068790.131
Achromatopsia (no color)#5555550.172

Harmonies

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

Complementary

The opposite hue (180°).

  • #124FB4

    #124FB4

    oklch(45.6% 0.172 260.5)

  • #725000

    #725000

    oklch(45.6% 0.094 80.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #124FB4

    #124FB4

    oklch(45.6% 0.172 260.5)

  • #005F80

    #005F80

    oklch(45.5% 0.092 230.8)

  • #5B3CAD

    #5B3CAD

    oklch(45.7% 0.171 290.6)

Open the analogous palette in the generator

Split complementary

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

  • #124FB4

    #124FB4

    oklch(45.6% 0.172 260.5)

  • #893E00

    #893E00

    oklch(45.5% 0.12 50.3)

  • #5A5B00

    #5A5B00

    oklch(45.5% 0.1 110.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #124FB4

    #124FB4

    oklch(45.6% 0.172 260.5)

  • #A1142B

    #A1142B

    oklch(45.7% 0.172 20.4)

  • #196900

    #196900

    oklch(45.5% 0.148 140.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #124FB4

    #124FB4

    oklch(45.6% 0.172 260.5)

  • #961963

    #961963

    oklch(45.5% 0.171 350.5)

  • #725000

    #725000

    oklch(45.6% 0.094 80.3)

  • #006750

    #006750

    oklch(45.7% 0.09 170.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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