#124C8E

Closest named color: Cobalt (#1E488F). oklch(41.9% 0.124 255.1), rgb(18, 76, 142).

Aa

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

About this color

#124C8E is a dark, moderately saturated blue. In OKLCH its lightness is 42%, its chroma 0.124 and its hue 255°. Its hue sits on the cool side of the wheel. The nearest named color is Cobalt (#1E488F), ΔE 0.013 away. White text reads best on it, at 8.57:1.

Hue familyBlues
Lightnessdark (42%)
Chromamoderately saturated (0.124)
Temperaturecool
Nearest nameCobalt (#1E488F)
Black text2.45:1
White text8.57:1

Values

HEX#124C8E
RGBrgb(18, 76, 142)
HSLhsl(212, 78%, 31%)
OKLCHoklch(41.9% 0.124 255.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 #124C8E 8.57:1 AAA Lc -93.5 Preferred for body text
Black text on #124C8E 2.45:1 Fails Lc 15.0 Dividers and decoration only
#124C8E text on white 8.57:1 AAA Lc 89.0 Fine for body text
#124C8E text on black 2.45:1 Fails Lc -13.2 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

    #F1F6FC

    oklch(97.1% 0.01 252.8)

  2. Step 100

    100

    #E1EBF8

    oklch(93.6% 0.021 254.9)

  3. Step 200

    200

    #C8DBF4

    oklch(88.5% 0.04 255.3)

  4. Step 300

    300

    #A2C3EF

    oklch(80.8% 0.072 255.7)

  5. Step 400

    400

    #6EA3E7

    oklch(70.6% 0.115 255.1)

  6. Step 500

    500

    #458AE0

    oklch(63% 0.148 255.2)

  7. Step 600

    600

    #2372CE

    oklch(55.5% 0.161 255.2)

  8. Step 700

    700

    #145FB3

    oklch(49% 0.15 255.3)

  9. Step 800

    800 (this color)

    #124C8E

    oklch(41.9% 0.124 255.1)

  10. Step 900

    900

    #194273

    oklch(37.8% 0.096 254.8)

  11. Step 950

    950

    #102743

    oklch(27% 0.06 254.6)

Export this scale for Tailwind in the Tailwind colors tool

#124C8E 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)#2852910.026
Deuteranopia (no green cones)#09478D0.016
Tritanopia (no blue cones)#005C660.093
Achromatopsia (no color)#4C4C4C0.124

Harmonies

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

Complementary

The opposite hue (180°).

  • #124C8E

    #124C8E

    oklch(41.9% 0.124 255.1)

  • #684500

    #684500

    oklch(42% 0.088 76)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #124C8E

    #124C8E

    oklch(41.9% 0.124 255.1)

  • #00556D

    #00556D

    oklch(41.8% 0.079 225.1)

  • #483F8C

    #483F8C

    oklch(41.9% 0.123 285.1)

Open the analogous palette in the generator

Split complementary

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

  • #124C8E

    #124C8E

    oklch(41.9% 0.124 255.1)

  • #7F3100

    #7F3100

    oklch(41.8% 0.12 44.8)

  • #544F00

    #544F00

    oklch(41.9% 0.089 105.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #124C8E

    #124C8E

    oklch(41.9% 0.124 255.1)

  • #822836

    #822836

    oklch(41.8% 0.123 15.2)

  • #2C5A00

    #2C5A00

    oklch(41.8% 0.122 134.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #124C8E

    #124C8E

    oklch(41.9% 0.124 255.1)

  • #792B5C

    #792B5C

    oklch(42% 0.123 345.1)

  • #684500

    #684500

    oklch(42% 0.088 76)

  • #005B41

    #005B41

    oklch(41.8% 0.087 165.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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