#1F253A

Closest named color: Oxford Blue (#1B263B). oklch(26.9% 0.04 271.3), rgb(31, 37, 58).

Aa

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

About this color

#1F253A is a dark, muted blue. In OKLCH its lightness is 27%, its chroma 0.040 and its hue 271°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.007 away. White text reads best on it, at 15.17:1.

Hue familyBlues
Lightnessdark (27%)
Chromamuted (0.040)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.38:1
White text15.17:1

Values

HEX#1F253A
RGBrgb(31, 37, 58)
HSLhsl(227, 30%, 17%)
OKLCHoklch(26.9% 0.04 271.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 #1F253A 15.17:1 AAA Lc -104.8 Preferred for body text
Black text on #1F253A 1.38:1 Fails Lc 0.0 Not readable
#1F253A text on white 15.17:1 AAA Lc 102.0 Preferred for body text
#1F253A text on black 1.38: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

    #F4F5FA

    oklch(97.1% 0.007 277.2)

  2. Step 100

    100

    #E6EAF3

    oklch(93.7% 0.013 266.7)

  3. Step 200

    200

    #D2D9EB

    oklch(88.5% 0.026 268.8)

  4. Step 300

    300

    #B5C0E0

    oklch(81% 0.047 270.4)

  5. Step 400

    400

    #8F9ED1

    oklch(70.6% 0.077 271.6)

  6. Step 500

    500

    #7486C5

    oklch(63.2% 0.097 271.2)

  7. Step 600

    600

    #5D6FB1

    oklch(55.7% 0.105 271.1)

  8. Step 700

    700

    #4D5C98

    oklch(49% 0.098 271.8)

  9. Step 800

    800

    #3F4C7C

    oklch(42.8% 0.081 271.1)

  10. Step 900

    900

    #353F63

    oklch(37.6% 0.063 271.3)

  11. Step 950

    950 (this color)

    #1F253A

    oklch(26.9% 0.04 271.3)

Export this scale for Tailwind in the Tailwind colors tool

#1F253A 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)#1E273B0.007
Deuteranopia (no green cones)#1C253A0.005
Tritanopia (no blue cones)#16292D0.035
Achromatopsia (no color)#2626260.040

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F253A

    #1F253A

    oklch(26.9% 0.04 271.3)

  • #2D250D

    #2D250D

    oklch(26.7% 0.04 91.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F253A

    #1F253A

    oklch(26.9% 0.04 271.3)

  • #132938

    #132938

    oklch(27% 0.04 240.2)

  • #2A2137

    #2A2137

    oklch(26.9% 0.042 302.5)

Open the analogous palette in the generator

Split complementary

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

  • #1F253A

    #1F253A

    oklch(26.9% 0.04 271.3)

  • #342111

    #342111

    oklch(26.7% 0.04 60)

  • #232912

    #232912

    oklch(26.8% 0.04 121.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F253A

    #1F253A

    oklch(26.9% 0.04 271.3)

  • #371F1A

    #371F1A

    oklch(26.9% 0.039 32.5)

  • #172C1C

    #172C1C

    oklch(27% 0.04 150.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F253A

    #1F253A

    oklch(26.9% 0.04 271.3)

  • #361E25

    #361E25

    oklch(26.9% 0.039 1.2)

  • #2D250D

    #2D250D

    oklch(26.7% 0.04 91.1)

  • #0A2D27

    #0A2D27

    oklch(27% 0.041 179.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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