#124286

Closest named color: Twilight Blue (#0A437A). oklch(38.9% 0.125 258.3), rgb(18, 66, 134).

Aa

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

About this color

#124286 is a dark, moderately saturated blue. In OKLCH its lightness is 39%, its chroma 0.125 and its hue 258°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight Blue (#0A437A), ΔE 0.022 away. White text reads best on it, at 9.77:1.

Hue familyBlues
Lightnessdark (39%)
Chromamoderately saturated (0.125)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text2.14:1
White text9.77:1

Values

HEX#124286
RGBrgb(18, 66, 134)
HSLhsl(215, 76%, 30%)
OKLCHoklch(38.9% 0.125 258.3)

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 #124286 9.77:1 AAA Lc -96.4 Preferred for body text
Black text on #124286 2.14:1 Fails Lc 11.8 Not readable
#124286 text on white 9.77:1 AAA Lc 92.2 Preferred for body text
#124286 text on black 2.14:1 Fails Lc -10.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 900.

  1. Step 50

    50

    #F0F6FE

    oklch(97.1% 0.012 255.5)

  2. Step 100

    100

    #DFEBFC

    oklch(93.6% 0.026 257)

  3. Step 200

    200

    #C4DBFC

    oklch(88.5% 0.052 257.4)

  4. Step 300

    300

    #9BC3FD

    oklch(81% 0.093 257.6)

  5. Step 400

    400

    #63A1FD

    oklch(70.8% 0.15 258.1)

  6. Step 500

    500

    #3485FA

    oklch(63% 0.192 258.3)

  7. Step 600

    600

    #006BE9

    oklch(55.5% 0.208 258.3)

  8. Step 700

    700

    #005AC6

    oklch(49.1% 0.184 258.2)

  9. Step 800

    800

    #0049A4

    oklch(42.7% 0.16 258.3)

  10. Step 900

    900 (this color)

    #124286

    oklch(38.9% 0.125 258.3)

  11. Step 950

    950

    #0A254C

    oklch(26.9% 0.079 258.2)

Export this scale for Tailwind in the Tailwind colors tool

#124286 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)#1949880.022
Deuteranopia (no green cones)#003F850.014
Tritanopia (no blue cones)#00525D0.095
Achromatopsia (no color)#4444440.125

Harmonies

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

Complementary

The opposite hue (180°).

  • #124286

    #124286

    oklch(38.9% 0.125 258.3)

  • #5C3E00

    #5C3E00

    oklch(38.8% 0.081 77.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #124286

    #124286

    oklch(38.9% 0.125 258.3)

  • #004C65

    #004C65

    oklch(38.9% 0.076 228.6)

  • #443582

    #443582

    oklch(38.9% 0.124 288.2)

Open the analogous palette in the generator

Split complementary

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

  • #124286

    #124286

    oklch(38.9% 0.125 258.3)

  • #702F00

    #702F00

    oklch(39% 0.106 48.3)

  • #494800

    #494800

    oklch(39% 0.084 108.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #124286

    #124286

    oklch(38.9% 0.125 258.3)

  • #7A1E2A

    #7A1E2A

    oklch(39% 0.126 18.2)

  • #1D5300

    #1D5300

    oklch(39% 0.121 138.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #124286

    #124286

    oklch(38.9% 0.125 258.3)

  • #722050

    #722050

    oklch(39% 0.126 348.5)

  • #5C3E00

    #5C3E00

    oklch(38.8% 0.081 77.9)

  • #00523D

    #00523D

    oklch(39% 0.079 168.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #124286 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.