#124E9F

Closest named color: Cobalt (#1E488F). oklch(43.7% 0.145 257.9), rgb(18, 78, 159).

Aa

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

About this color

#124E9F is a dark, vivid blue. In OKLCH its lightness is 44%, its chroma 0.145 and its hue 258°. Its hue sits on the cool side of the wheel. The nearest named color is Cobalt (#1E488F), ΔE 0.029 away. White text reads best on it, at 8.02:1.

Hue familyBlues
Lightnessdark (44%)
Chromavivid (0.145)
Temperaturecool
Nearest nameCobalt (#1E488F)
Black text2.61:1
White text8.02:1

Values

HEX#124E9F
RGBrgb(18, 78, 159)
HSLhsl(214, 80%, 35%)
OKLCHoklch(43.7% 0.145 257.9)

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 #124E9F 8.02:1 AAA Lc -92.0 Preferred for body text
Black text on #124E9F 2.61:1 Fails Lc 16.8 Dividers and decoration only
#124E9F text on white 8.02:1 AAA Lc 87.2 Fine for body text
#124E9F text on black 2.61: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

    #F1F6FD

    oklch(97.1% 0.011 256.7)

  2. Step 100

    100

    #E0EBFB

    oklch(93.7% 0.025 257.6)

  3. Step 200

    200

    #C6DBF9

    oklch(88.5% 0.047 257.3)

  4. Step 300

    300

    #9FC3F7

    oklch(81% 0.084 257.5)

  5. Step 400

    400

    #69A1F4

    oklch(70.6% 0.136 258.1)

  6. Step 500

    500

    #3F87F0

    oklch(63.1% 0.174 258.1)

  7. Step 600

    600

    #1A6EDE

    oklch(55.6% 0.188 258)

  8. Step 700

    700

    #0A5BC1

    oklch(49.1% 0.175 258)

  9. Step 800

    800 (this color)

    #124E9F

    oklch(43.7% 0.145 257.9)

  10. Step 900

    900

    #15407C

    oklch(37.8% 0.112 257.7)

  11. Step 950

    950

    #0E2649

    oklch(27.1% 0.072 258)

Export this scale for Tailwind in the Tailwind colors tool

#124E9F 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)#1A57A20.027
Deuteranopia (no green cones)#004A9D0.015
Tritanopia (no blue cones)#00626F0.110
Achromatopsia (no color)#5050500.145

Harmonies

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

Complementary

The opposite hue (180°).

  • #124E9F

    #124E9F

    oklch(43.7% 0.145 257.9)

  • #6D4A00

    #6D4A00

    oklch(43.7% 0.091 77.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #124E9F

    #124E9F

    oklch(43.7% 0.145 257.9)

  • #005A76

    #005A76

    oklch(43.7% 0.085 227.8)

  • #513E9B

    #513E9B

    oklch(43.6% 0.145 288.3)

Open the analogous palette in the generator

Split complementary

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

  • #124E9F

    #124E9F

    oklch(43.7% 0.145 257.9)

  • #843800

    #843800

    oklch(43.7% 0.119 47.9)

  • #575500

    #575500

    oklch(43.7% 0.094 108.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #124E9F

    #124E9F

    oklch(43.7% 0.145 257.9)

  • #902232

    #902232

    oklch(43.6% 0.145 17.8)

  • #256100

    #256100

    oklch(43.5% 0.134 137.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #124E9F

    #124E9F

    oklch(43.7% 0.145 257.9)

  • #86255F

    #86255F

    oklch(43.5% 0.144 348)

  • #6D4A00

    #6D4A00

    oklch(43.7% 0.091 77.7)

  • #006148

    #006148

    oklch(43.7% 0.089 167.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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