#12508F

Closest named color: Dusk Blue (#26538D). oklch(42.9% 0.12 253.2), rgb(18, 80, 143).

Aa

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

About this color

#12508F is a dark, moderately saturated blue. In OKLCH its lightness is 43%, its chroma 0.120 and its hue 253°. Its hue sits on the cool side of the wheel. The nearest named color is Dusk Blue (#26538D), ΔE 0.018 away. White text reads best on it, at 8.17:1.

Hue familyBlues
Lightnessdark (43%)
Chromamoderately saturated (0.120)
Temperaturecool
Nearest nameDusk Blue (#26538D)
Black text2.56:1
White text8.17:1

Values

HEX#12508F
RGBrgb(18, 80, 143)
HSLhsl(210, 78%, 32%)
OKLCHoklch(42.9% 0.12 253.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 #12508F 8.17:1 AAA Lc -92.5 Preferred for body text
Black text on #12508F 2.56:1 Fails Lc 16.2 Dividers and decoration only
#12508F text on white 8.17:1 AAA Lc 87.8 Fine for body text
#12508F text on black 2.56:1 Fails Lc -14.3 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

    #C8DBF3

    oklch(88.5% 0.039 254.3)

  4. Step 300

    300

    #A1C4EE

    oklch(80.9% 0.071 253.2)

  5. Step 400

    400

    #6DA4E5

    oklch(70.7% 0.112 253.4)

  6. Step 500

    500

    #428CDD

    oklch(63.1% 0.143 252.8)

  7. Step 600

    600

    #1E74CB

    oklch(55.6% 0.156 253.1)

  8. Step 700

    700

    #0E61B0

    oklch(49.2% 0.145 253.2)

  9. Step 800

    800 (this color)

    #12508F

    oklch(42.9% 0.12 253.2)

  10. Step 900

    900

    #174272

    oklch(37.6% 0.095 253.7)

  11. Step 950

    950

    #0F2742

    oklch(26.9% 0.059 253.1)

Export this scale for Tailwind in the Tailwind colors tool

#12508F 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)#3055910.030
Deuteranopia (no green cones)#174A8E0.017
Tritanopia (no blue cones)#005F680.089
Achromatopsia (no color)#4F4F4F0.120

Harmonies

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

Complementary

The opposite hue (180°).

  • #12508F

    #12508F

    oklch(42.9% 0.12 253.2)

  • #6D4600

    #6D4600

    oklch(42.8% 0.091 73.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #12508F

    #12508F

    oklch(42.9% 0.12 253.2)

  • #005970

    #005970

    oklch(43.1% 0.08 223.2)

  • #48438E

    #48438E

    oklch(42.8% 0.12 283.1)

Open the analogous palette in the generator

Split complementary

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

  • #12508F

    #12508F

    oklch(42.9% 0.12 253.2)

  • #833409

    #833409

    oklch(43% 0.12 43.6)

  • #595100

    #595100

    oklch(42.9% 0.09 102.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #12508F

    #12508F

    oklch(42.9% 0.12 253.2)

  • #842D3C

    #842D3C

    oklch(42.9% 0.119 13.4)

  • #335D02

    #335D02

    oklch(43.1% 0.121 133.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #12508F

    #12508F

    oklch(42.9% 0.12 253.2)

  • #7A2F60

    #7A2F60

    oklch(42.8% 0.12 343.3)

  • #6D4600

    #6D4600

    oklch(42.8% 0.091 73.1)

  • #005F41

    #005F41

    oklch(43% 0.092 163.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #12508F 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.