#1F2147

Closest named color: Oxford Blue (#1B263B). oklch(26.8% 0.07 278.3), rgb(31, 33, 71).

Aa

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

About this color

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

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

Values

HEX#1F2147
RGBrgb(31, 33, 71)
HSLhsl(237, 39%, 20%)
OKLCHoklch(26.8% 0.07 278.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 #1F2147 15.36:1 AAA Lc -104.9 Preferred for body text
Black text on #1F2147 1.36:1 Fails Lc 0.0 Not readable
#1F2147 text on white 15.36:1 AAA Lc 102.2 Preferred for body text
#1F2147 text on black 1.36: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

    #F3F5FD

    oklch(97.1% 0.011 274.9)

  2. Step 100

    100

    #E6E9FA

    oklch(93.7% 0.023 277.9)

  3. Step 200

    200

    #D2D7F8

    oklch(88.6% 0.046 278.6)

  4. Step 300

    300

    #B4BCF6

    oklch(80.9% 0.082 278.3)

  5. Step 400

    400

    #8E97F1

    oklch(70.7% 0.131 278.1)

  6. Step 500

    500

    #757AEC

    oklch(63% 0.168 278.5)

  7. Step 600

    600

    #5F60DB

    oklch(55.6% 0.184 278.3)

  8. Step 700

    700

    #4F4FBE

    oklch(49.2% 0.17 278.1)

  9. Step 800

    800

    #41419A

    oklch(42.8% 0.142 278.6)

  10. Step 900

    900

    #36387A

    oklch(37.7% 0.11 278.4)

  11. Step 950

    950 (this color)

    #1F2147

    oklch(26.8% 0.07 278.3)

Export this scale for Tailwind in the Tailwind colors tool

#1F2147 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)#1026480.024
Deuteranopia (no green cones)#0C23460.026
Tritanopia (no blue cones)#0F29300.061
Achromatopsia (no color)#2525250.070

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F2147

    #1F2147

    oklch(26.8% 0.07 278.3)

  • #2D2600

    #2D2600

    oklch(26.8% 0.056 98.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F2147

    #1F2147

    oklch(26.8% 0.07 278.3)

  • #022746

    #022746

    oklch(26.7% 0.07 248.8)

  • #301B40

    #301B40

    oklch(26.9% 0.07 308.6)

Open the analogous palette in the generator

Split complementary

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

  • #1F2147

    #1F2147

    oklch(26.8% 0.07 278.3)

  • #382000

    #382000

    oklch(26.9% 0.058 69.5)

  • #1C2C01

    #1C2C01

    oklch(26.9% 0.069 128.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F2147

    #1F2147

    oklch(26.8% 0.07 278.3)

  • #411709

    #411709

    oklch(26.7% 0.07 38.5)

  • #002F1A

    #002F1A

    oklch(26.9% 0.063 158.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F2147

    #1F2147

    oklch(26.8% 0.07 278.3)

  • #41151F

    #41151F

    oklch(26.9% 0.069 9)

  • #2D2600

    #2D2600

    oklch(26.8% 0.056 98.7)

  • #002D2A

    #002D2A

    oklch(26.8% 0.047 187.9)

Open the square palette in the generator

Palettes and gradients that use #1F2147

These curated palettes and gradients contain exactly #1F2147. Open one to see the full color scheme around it.

Palettes

Similar named colors

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

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