#1D1F3F

Closest named color: Oxford Blue (#1B263B). oklch(25.6% 0.06 278.6), rgb(29, 31, 63).

Aa

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

About this color

#1D1F3F is a dark, muted blue. In OKLCH its lightness is 26%, its chroma 0.060 and its hue 279°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.026 away. White text reads best on it, at 15.90:1.

Hue familyBlues
Lightnessdark (26%)
Chromamuted (0.060)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.32:1
White text15.90:1

Values

HEX#1D1F3F
RGBrgb(29, 31, 63)
HSLhsl(236, 37%, 18%)
OKLCHoklch(25.6% 0.06 278.6)

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 #1D1F3F 15.90:1 AAA Lc -105.4 Preferred for body text
Black text on #1D1F3F 1.32:1 Fails Lc 0.0 Not readable
#1D1F3F text on white 15.90:1 AAA Lc 102.8 Preferred for body text
#1D1F3F text on black 1.32: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

    #F4F5FC

    oklch(97.1% 0.009 279.7)

  2. Step 100

    100

    #E6E9F8

    oklch(93.6% 0.02 276.9)

  3. Step 200

    200

    #D3D7F3

    oklch(88.5% 0.039 279.1)

  4. Step 300

    300

    #B6BDEE

    oklch(81% 0.07 278.4)

  5. Step 400

    400

    #9199E6

    oklch(70.7% 0.113 278.6)

  6. Step 500

    500

    #777EDF

    oklch(63.2% 0.144 278.3)

  7. Step 600

    600

    #6165CC

    oklch(55.6% 0.156 278.3)

  8. Step 700

    700

    #5153B1

    oklch(49.1% 0.146 278.6)

  9. Step 800

    800

    #42448F

    oklch(42.6% 0.121 278.8)

  10. Step 900

    900

    #373A72

    oklch(37.6% 0.094 278.5)

  11. Step 950

    950 (this color)

    #1D1F3F

    oklch(25.6% 0.06 278.6)

Export this scale for Tailwind in the Tailwind colors tool

#1D1F3F 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)#1223400.019
Deuteranopia (no green cones)#0F213E0.021
Tritanopia (no blue cones)#11262B0.054
Achromatopsia (no color)#2222220.060

Harmonies

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

Complementary

The opposite hue (180°).

  • #1D1F3F

    #1D1F3F

    oklch(25.6% 0.06 278.6)

  • #2A2300

    #2A2300

    oklch(25.6% 0.053 98)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1D1F3F

    #1D1F3F

    oklch(25.6% 0.06 278.6)

  • #07243E

    #07243E

    oklch(25.4% 0.06 249.3)

  • #2B1A39

    #2B1A39

    oklch(25.6% 0.06 308)

Open the analogous palette in the generator

Split complementary

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

  • #1D1F3F

    #1D1F3F

    oklch(25.6% 0.06 278.6)

  • #341D00

    #341D00

    oklch(25.6% 0.056 68.8)

  • #1A2805

    #1A2805

    oklch(25.5% 0.059 128.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1D1F3F

    #1D1F3F

    oklch(25.6% 0.06 278.6)

  • #3A170C

    #3A170C

    oklch(25.5% 0.059 38)

  • #002B18

    #002B18

    oklch(25.5% 0.059 158.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1D1F3F

    #1D1F3F

    oklch(25.6% 0.06 278.6)

  • #3A151D

    #3A151D

    oklch(25.5% 0.059 8.7)

  • #2A2300

    #2A2300

    oklch(25.6% 0.053 98)

  • #002A27

    #002A27

    oklch(25.7% 0.045 187.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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