#1F2339

Closest named color: Oxford Blue (#1B263B). oklch(26.3% 0.042 275.3), rgb(31, 35, 57).

Aa

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

About this color

#1F2339 is a dark, muted blue. In OKLCH its lightness is 26%, its chroma 0.042 and its hue 275°. 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.46:1.

Hue familyBlues
Lightnessdark (26%)
Chromamuted (0.042)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.35:1
White text15.46:1

Values

HEX#1F2339
RGBrgb(31, 35, 57)
HSLhsl(231, 30%, 17%)
OKLCHoklch(26.3% 0.042 275.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 #1F2339 15.46:1 AAA Lc -105.1 Preferred for body text
Black text on #1F2339 1.35:1 Fails Lc 0.0 Not readable
#1F2339 text on white 15.46:1 AAA Lc 102.4 Preferred for body text
#1F2339 text on black 1.35: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

    #E7E9F4

    oklch(93.6% 0.015 277.8)

  3. Step 200

    200

    #D4D8EC

    oklch(88.5% 0.028 276.8)

  4. Step 300

    300

    #B7BFE1

    oklch(81% 0.049 274.8)

  5. Step 400

    400

    #929DD2

    oklch(70.7% 0.079 275.1)

  6. Step 500

    500

    #7884C6

    oklch(63.1% 0.1 275.3)

  7. Step 600

    600

    #616DB3

    oklch(55.6% 0.109 274.9)

  8. Step 700

    700

    #515B9A

    oklch(49.2% 0.101 275.2)

  9. Step 800

    800

    #424A7D

    oklch(42.7% 0.085 275.5)

  10. Step 900

    900

    #383E64

    oklch(37.7% 0.065 276)

  11. Step 950

    950 (this color)

    #1F2339

    oklch(26.3% 0.042 275.3)

Export this scale for Tailwind in the Tailwind colors tool

#1F2339 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)#1C253A0.008
Deuteranopia (no green cones)#1A23380.008
Tritanopia (no blue cones)#17272B0.036
Achromatopsia (no color)#2424240.042

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F2339

    #1F2339

    oklch(26.3% 0.042 275.3)

  • #2B250B

    #2B250B

    oklch(26.5% 0.042 96.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F2339

    #1F2339

    oklch(26.3% 0.042 275.3)

  • #122738

    #122738

    oklch(26.4% 0.042 244.8)

  • #2A1F35

    #2A1F35

    oklch(26.3% 0.043 306.6)

Open the analogous palette in the generator

Split complementary

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

  • #1F2339

    #1F2339

    oklch(26.3% 0.042 275.3)

  • #33200D

    #33200D

    oklch(26.3% 0.042 64.1)

  • #202811

    #202811

    oklch(26.2% 0.041 124.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F2339

    #1F2339

    oklch(26.3% 0.042 275.3)

  • #361D17

    #361D17

    oklch(26.3% 0.041 34.3)

  • #132B1C

    #132B1C

    oklch(26.4% 0.042 154.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F2339

    #1F2339

    oklch(26.3% 0.042 275.3)

  • #361C22

    #361C22

    oklch(26.4% 0.042 5.4)

  • #2B250B

    #2B250B

    oklch(26.5% 0.042 96.4)

  • #062B28

    #062B28

    oklch(26.3% 0.041 187.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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