#1F253F

Closest named color: Oxford Blue (#1B263B). oklch(27.2% 0.049 272.9), rgb(31, 37, 63).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (27%)
Chromamuted (0.049)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.39:1
White text15.05:1

Values

HEX#1F253F
RGBrgb(31, 37, 63)
HSLhsl(229, 34%, 18%)
OKLCHoklch(27.2% 0.049 272.9)

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 #1F253F 15.05:1 AAA Lc -104.7 Preferred for body text
Black text on #1F253F 1.39:1 Fails Lc 0.0 Not readable
#1F253F text on white 15.05:1 AAA Lc 101.9 Preferred for body text
#1F253F text on black 1.39: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

    #F3F5FB

    oklch(97% 0.008 271.3)

  2. Step 100

    100

    #E6E9F6

    oklch(93.6% 0.018 275.6)

  3. Step 200

    200

    #D2D8EF

    oklch(88.5% 0.032 274.1)

  4. Step 300

    300

    #B4BFE7

    oklch(81% 0.058 273)

  5. Step 400

    400

    #8D9DDB

    oklch(70.7% 0.093 272.7)

  6. Step 500

    500

    #7283D1

    oklch(63% 0.119 273.2)

  7. Step 600

    600

    #5B6CBE

    oklch(55.7% 0.128 272.8)

  8. Step 700

    700

    #4B59A4

    oklch(49% 0.121 273.2)

  9. Step 800

    800

    #3D4985

    oklch(42.6% 0.1 272.9)

  10. Step 900

    900

    #343E6B

    oklch(37.8% 0.078 272.7)

  11. Step 950

    950 (this color)

    #1F253F

    oklch(27.2% 0.049 272.9)

Export this scale for Tailwind in the Tailwind colors tool

#1F253F 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)#1C28400.010
Deuteranopia (no green cones)#19253E0.009
Tritanopia (no blue cones)#142A2F0.042
Achromatopsia (no color)#2626260.049

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F253F

    #1F253F

    oklch(27.2% 0.049 272.9)

  • #2F2606

    #2F2606

    oklch(27.2% 0.049 93)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F253F

    #1F253F

    oklch(27.2% 0.049 272.9)

  • #0E293D

    #0E293D

    oklch(27.1% 0.05 243.6)

  • #2C213B

    #2C213B

    oklch(27.3% 0.049 302.8)

Open the analogous palette in the generator

Split complementary

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

  • #1F253F

    #1F253F

    oklch(27.2% 0.049 272.9)

  • #38210A

    #38210A

    oklch(27.2% 0.05 62.8)

  • #222B0E

    #222B0E

    oklch(27.3% 0.049 124)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F253F

    #1F253F

    oklch(27.2% 0.049 272.9)

  • #3C1D17

    #3C1D17

    oklch(27.2% 0.05 32)

  • #122E1B

    #122E1B

    oklch(27.3% 0.049 152.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F253F

    #1F253F

    oklch(27.2% 0.049 272.9)

  • #3B1C25

    #3B1C25

    oklch(27.3% 0.05 2.4)

  • #2F2606

    #2F2606

    oklch(27.2% 0.049 93)

  • #002F29

    #002F29

    oklch(27.4% 0.049 181.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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