#124F8A

Closest named color: Light Navy (#155084). oklch(42.3% 0.115 252.2), rgb(18, 79, 138).

Aa

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

About this color

#124F8A is a dark, moderately saturated blue. In OKLCH its lightness is 42%, its chroma 0.115 and its hue 252°. Its hue sits on the cool side of the wheel. The nearest named color is Light Navy (#155084), ΔE 0.011 away. White text reads best on it, at 8.36:1.

Hue familyBlues
Lightnessdark (42%)
Chromamoderately saturated (0.115)
Temperaturecool
Nearest nameLight Navy (#155084)
Black text2.51:1
White text8.36:1

Values

HEX#124F8A
RGBrgb(18, 79, 138)
HSLhsl(210, 77%, 31%)
OKLCHoklch(42.3% 0.115 252.2)

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 #124F8A 8.36:1 AAA Lc -93.0 Preferred for body text
Black text on #124F8A 2.51:1 Fails Lc 15.6 Dividers and decoration only
#124F8A text on white 8.36:1 AAA Lc 88.4 Fine for body text
#124F8A text on black 2.51:1 Fails Lc -13.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

    #F1F6FB

    oklch(97.1% 0.009 247.9)

  2. Step 100

    100

    #E1EBF7

    oklch(93.6% 0.019 252.9)

  3. Step 200

    200

    #C8DBF2

    oklch(88.4% 0.038 253.2)

  4. Step 300

    300

    #A2C4EB

    oklch(80.9% 0.066 252.1)

  5. Step 400

    400

    #6EA4E2

    oklch(70.6% 0.108 252.7)

  6. Step 500

    500

    #448CD9

    oklch(63% 0.137 252.2)

  7. Step 600

    600

    #2175C7

    oklch(55.7% 0.149 252.2)

  8. Step 700

    700

    #1262AC

    oklch(49.2% 0.138 252.1)

  9. Step 800

    800 (this color)

    #124F8A

    oklch(42.3% 0.115 252.2)

  10. Step 900

    900

    #18436F

    oklch(37.7% 0.089 251.8)

  11. Step 950

    950

    #102741

    oklch(26.9% 0.057 253.1)

Export this scale for Tailwind in the Tailwind colors tool

#124F8A 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)#31538C0.030
Deuteranopia (no green cones)#1C49890.017
Tritanopia (no blue cones)#005D650.085
Achromatopsia (no color)#4E4E4E0.115

Harmonies

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

Complementary

The opposite hue (180°).

  • #124F8A

    #124F8A

    oklch(42.3% 0.115 252.2)

  • #6C4400

    #6C4400

    oklch(42.3% 0.091 71.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #124F8A

    #124F8A

    oklch(42.3% 0.115 252.2)

  • #00576D

    #00576D

    oklch(42.4% 0.079 222.6)

  • #46438A

    #46438A

    oklch(42.4% 0.115 282.2)

Open the analogous palette in the generator

Split complementary

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

  • #124F8A

    #124F8A

    oklch(42.3% 0.115 252.2)

  • #7F3310

    #7F3310

    oklch(42.2% 0.115 42.1)

  • #584F00

    #584F00

    oklch(42.3% 0.089 101.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #124F8A

    #124F8A

    oklch(42.3% 0.115 252.2)

  • #802D3D

    #802D3D

    oklch(42.3% 0.115 11.8)

  • #355A05

    #355A05

    oklch(42.3% 0.114 132)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #124F8A

    #124F8A

    oklch(42.3% 0.115 252.2)

  • #76305F

    #76305F

    oklch(42.3% 0.114 342.1)

  • #6C4400

    #6C4400

    oklch(42.3% 0.091 71.6)

  • #005D3E

    #005D3E

    oklch(42.3% 0.093 162.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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