#1F2045

Closest named color: Oxford Blue (#1B263B). oklch(26.4% 0.068 279.5), rgb(31, 32, 69).

Aa

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

About this color

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

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

Values

HEX#1F2045
RGBrgb(31, 32, 69)
HSLhsl(238, 38%, 20%)
OKLCHoklch(26.4% 0.068 279.5)

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 #1F2045 15.54:1 AAA Lc -105.1 Preferred for body text
Black text on #1F2045 1.35:1 Fails Lc 0.0 Not readable
#1F2045 text on white 15.54:1 AAA Lc 102.4 Preferred for body text
#1F2045 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

    #F4F5FD

    oklch(97.2% 0.011 280.5)

  2. Step 100

    100

    #E6E9FA

    oklch(93.7% 0.023 277.9)

  3. Step 200

    200

    #D2D7F7

    oklch(88.5% 0.044 278.4)

  4. Step 300

    300

    #B5BCF4

    oklch(80.9% 0.079 278.9)

  5. Step 400

    400

    #9197EF

    oklch(70.8% 0.128 279.6)

  6. Step 500

    500

    #777AEA

    oklch(63.1% 0.165 279.4)

  7. Step 600

    600

    #6260D8

    oklch(55.6% 0.179 279.6)

  8. Step 700

    700

    #524FBB

    oklch(49.2% 0.165 279.7)

  9. Step 800

    800

    #424197

    oklch(42.6% 0.137 279.4)

  10. Step 900

    900

    #383879

    oklch(37.7% 0.108 279.9)

  11. Step 950

    950 (this color)

    #1F2045

    oklch(26.4% 0.068 279.5)

Export this scale for Tailwind in the Tailwind colors tool

#1F2045 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)#1025460.024
Deuteranopia (no green cones)#0D22440.025
Tritanopia (no blue cones)#11282F0.059
Achromatopsia (no color)#2424240.068

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F2045

    #1F2045

    oklch(26.4% 0.068 279.5)

  • #2C2500

    #2C2500

    oklch(26.4% 0.055 98.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F2045

    #1F2045

    oklch(26.4% 0.068 279.5)

  • #042644

    #042644

    oklch(26.3% 0.068 249.6)

  • #2F1A3D

    #2F1A3D

    oklch(26.4% 0.068 310.2)

Open the analogous palette in the generator

Split complementary

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

  • #1F2045

    #1F2045

    oklch(26.4% 0.068 279.5)

  • #371F00

    #371F00

    oklch(26.5% 0.058 68.8)

  • #1A2B02

    #1A2B02

    oklch(26.4% 0.068 129.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F2045

    #1F2045

    oklch(26.4% 0.068 279.5)

  • #3F1708

    #3F1708

    oklch(26.3% 0.067 40.1)

  • #002E1A

    #002E1A

    oklch(26.5% 0.061 158.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F2045

    #1F2045

    oklch(26.4% 0.068 279.5)

  • #3F141E

    #3F141E

    oklch(26.3% 0.068 8.7)

  • #2C2500

    #2C2500

    oklch(26.4% 0.055 98.5)

  • #002C2A

    #002C2A

    oklch(26.5% 0.046 190.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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