#1A1F4C

Closest named color: Oxford Blue (#1B263B). oklch(26.4% 0.082 274.5), rgb(26, 31, 76).

Aa

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

About this color

#1A1F4C is a dark, moderately saturated blue. In OKLCH its lightness is 26%, its chroma 0.082 and its hue 274°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.042 away. White text reads best on it, at 15.62:1.

Hue familyBlues
Lightnessdark (26%)
Chromamoderately saturated (0.082)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.34:1
White text15.62:1

Values

HEX#1A1F4C
RGBrgb(26, 31, 76)
HSLhsl(234, 49%, 20%)
OKLCHoklch(26.4% 0.082 274.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 #1A1F4C 15.62:1 AAA Lc -105.1 Preferred for body text
Black text on #1A1F4C 1.34:1 Fails Lc 0.0 Not readable
#1A1F4C text on white 15.62:1 AAA Lc 102.4 Preferred for body text
#1A1F4C text on black 1.34: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

    #F3F5FF

    oklch(97.2% 0.013 277.1)

  2. Step 100

    100

    #E4E9FD

    oklch(93.6% 0.028 274.7)

  3. Step 200

    200

    #CED7FE

    oklch(88.5% 0.055 275)

  4. Step 300

    300

    #AEBCFF

    oklch(80.9% 0.096 274.9)

  5. Step 400

    400

    #8597FF

    oklch(70.8% 0.153 274.4)

  6. Step 500

    500

    #6978FF

    oklch(63.1% 0.199 274.4)

  7. Step 600

    600

    #545CEF

    oklch(55.7% 0.217 274.5)

  8. Step 700

    700

    #454AD0

    oklch(49.1% 0.202 274.5)

  9. Step 800

    800

    #383EA8

    oklch(42.7% 0.167 274.4)

  10. Step 900

    900

    #2F3685

    oklch(37.6% 0.131 274.4)

  11. Step 950

    950 (this color)

    #1A1F4C

    oklch(26.4% 0.082 274.5)

Export this scale for Tailwind in the Tailwind colors tool

#1A1F4C 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)#04264E0.029
Deuteranopia (no green cones)#00214B0.029
Tritanopia (no blue cones)#0029320.070
Achromatopsia (no color)#2323230.083

Harmonies

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

Complementary

The opposite hue (180°).

  • #1A1F4C

    #1A1F4C

    oklch(26.4% 0.082 274.5)

  • #2D2400

    #2D2400

    oklch(26.3% 0.054 94.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1A1F4C

    #1A1F4C

    oklch(26.4% 0.082 274.5)

  • #002742

    #002742

    oklch(26.3% 0.066 244.5)

  • #2E1844

    #2E1844

    oklch(26.4% 0.081 304.5)

Open the analogous palette in the generator

Split complementary

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

  • #1A1F4C

    #1A1F4C

    oklch(26.4% 0.082 274.5)

  • #381E00

    #381E00

    oklch(26.4% 0.059 65.6)

  • #1E2A00

    #1E2A00

    oklch(26.4% 0.066 124.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1A1F4C

    #1A1F4C

    oklch(26.4% 0.082 274.5)

  • #441105

    #441105

    oklch(26.3% 0.081 35)

  • #002E16

    #002E16

    oklch(26.4% 0.066 154.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1A1F4C

    #1A1F4C

    oklch(26.4% 0.082 274.5)

  • #430E20

    #430E20

    oklch(26.3% 0.082 4.2)

  • #2D2400

    #2D2400

    oklch(26.3% 0.054 94.9)

  • #002C28

    #002C28

    oklch(26.4% 0.046 185.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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