#1A254D

Closest named color: Oxford Blue (#1B263B). oklch(27.9% 0.075 269.5), rgb(26, 37, 77).

Aa

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

About this color

#1A254D is a dark, moderately saturated blue. In OKLCH its lightness is 28%, its chroma 0.075 and its hue 269°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.035 away. White text reads best on it, at 14.83:1.

Hue familyBlues
Lightnessdark (28%)
Chromamoderately saturated (0.075)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.41:1
White text14.83:1

Values

HEX#1A254D
RGBrgb(26, 37, 77)
HSLhsl(227, 50%, 20%)
OKLCHoklch(27.9% 0.075 269.5)

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 #1A254D 14.83:1 AAA Lc -104.4 Preferred for body text
Black text on #1A254D 1.41:1 Fails Lc 0.0 Not readable
#1A254D text on white 14.83:1 AAA Lc 101.5 Preferred for body text
#1A254D text on black 1.41:1 Fails Lc 0.0 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 950.

  1. Step 50

    50

    #F2F5FE

    oklch(97% 0.012 271.3)

  2. Step 100

    100

    #E3EAFC

    oklch(93.7% 0.025 268.8)

  3. Step 200

    200

    #CCD8FB

    oklch(88.4% 0.05 270.4)

  4. Step 300

    300

    #AABFFB

    oklch(81% 0.088 269.4)

  5. Step 400

    400

    #7D9BF9

    oklch(70.8% 0.142 269.2)

  6. Step 500

    500

    #5F7EF6

    oklch(63.1% 0.182 269.7)

  7. Step 600

    600

    #4864E5

    oklch(55.7% 0.198 269.6)

  8. Step 700

    700

    #3A52C7

    oklch(49.2% 0.184 269.5)

  9. Step 800

    800

    #2F44A1

    oklch(42.7% 0.152 269.3)

  10. Step 900

    900

    #293A7F

    oklch(37.6% 0.118 269.5)

  11. Step 950

    950 (this color)

    #1A254D

    oklch(27.9% 0.075 269.5)

Export this scale for Tailwind in the Tailwind colors tool

#1A254D 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)#122A4E0.017
Deuteranopia (no green cones)#09254C0.019
Tritanopia (no blue cones)#002E350.065
Achromatopsia (no color)#2828280.075

Harmonies

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

Complementary

The opposite hue (180°).

  • #1A254D

    #1A254D

    oklch(27.9% 0.075 269.5)

  • #342700

    #342700

    oklch(28% 0.057 89.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1A254D

    #1A254D

    oklch(27.9% 0.075 269.5)

  • #002C44

    #002C44

    oklch(27.9% 0.063 239.2)

  • #2E1E48

    #2E1E48

    oklch(27.8% 0.076 299)

Open the analogous palette in the generator

Split complementary

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

  • #1A254D

    #1A254D

    oklch(27.9% 0.075 269.5)

  • #3F1F00

    #3F1F00

    oklch(27.8% 0.065 59.8)

  • #252D00

    #252D00

    oklch(27.9% 0.066 119.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1A254D

    #1A254D

    oklch(27.9% 0.075 269.5)

  • #471711

    #471711

    oklch(28% 0.075 29.7)

  • #023212

    #023212

    oklch(27.8% 0.075 149.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1A254D

    #1A254D

    oklch(27.9% 0.075 269.5)

  • #441527

    #441527

    oklch(27.7% 0.075 359.4)

  • #342700

    #342700

    oklch(28% 0.057 89.5)

  • #003029

    #003029

    oklch(27.7% 0.05 180)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #1A254D 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.