#1F193F

Closest named color: Oxford Blue (#1B263B). oklch(24.4% 0.07 287.3), rgb(31, 25, 63).

Aa

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

About this color

#1F193F is a very dark, muted purple. In OKLCH its lightness is 24%, its chroma 0.070 and its hue 287°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.044 away. White text reads best on it, at 16.54:1.

Hue familyPurples
Lightnessvery dark (24%)
Chromamuted (0.070)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.26:1
White text16.54:1

Values

HEX#1F193F
RGBrgb(31, 25, 63)
HSLhsl(249, 43%, 17%)
OKLCHoklch(24.4% 0.07 287.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 #1F193F 16.54:1 AAA Lc -105.8 Preferred for body text
Black text on #1F193F 1.26:1 Fails Lc 0.0 Not readable
#1F193F text on white 16.54:1 AAA Lc 103.4 Preferred for body text
#1F193F text on black 1.26: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

    #F5F4FD

    oklch(97% 0.012 291.3)

  2. Step 100

    100

    #E8E8FA

    oklch(93.6% 0.024 285.9)

  3. Step 200

    200

    #D6D5F7

    oklch(88.4% 0.047 286.8)

  4. Step 300

    300

    #BDB9F4

    oklch(81% 0.083 287.5)

  5. Step 400

    400

    #9C92EE

    oklch(70.6% 0.132 287.5)

  6. Step 500

    500

    #8674E9

    oklch(63.1% 0.17 287.6)

  7. Step 600

    600

    #715AD7

    oklch(55.7% 0.184 287.3)

  8. Step 700

    700

    #5F49BA

    oklch(49.1% 0.17 287.4)

  9. Step 800

    800

    #4D3D97

    oklch(42.8% 0.141 287)

  10. Step 900

    900

    #403578

    oklch(37.8% 0.11 287.5)

  11. Step 950

    950 (this color)

    #1F193F

    oklch(24.4% 0.07 287.3)

Export this scale for Tailwind in the Tailwind colors tool

#1F193F 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)#0720400.037
Deuteranopia (no green cones)#071E3E0.036
Tritanopia (no blue cones)#1521290.058
Achromatopsia (no color)#1F1F1F0.070

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F193F

    #1F193F

    oklch(24.4% 0.07 287.3)

  • #232200

    #232200

    oklch(24.5% 0.053 108.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F193F

    #1F193F

    oklch(24.4% 0.07 287.3)

  • #071F41

    #071F41

    oklch(24.3% 0.071 257.7)

  • #2D1336

    #2D1336

    oklch(24.3% 0.071 316.7)

Open the analogous palette in the generator

Split complementary

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

  • #1F193F

    #1F193F

    oklch(24.4% 0.07 287.3)

  • #2D1C00

    #2D1C00

    oklch(24.2% 0.051 77.2)

  • #0D2702

    #0D2702

    oklch(24.3% 0.07 137.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F193F

    #1F193F

    oklch(24.4% 0.07 287.3)

  • #391300

    #391300

    oklch(24.4% 0.068 46.5)

  • #00271B

    #00271B

    oklch(24.2% 0.049 167.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F193F

    #1F193F

    oklch(24.4% 0.07 287.3)

  • #3B0E14

    #3B0E14

    oklch(24.4% 0.071 16.4)

  • #232200

    #232200

    oklch(24.5% 0.053 108.1)

  • #002627

    #002627

    oklch(24.4% 0.041 197.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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