#1F2637

Closest named color: Oxford Blue (#1B263B). oklch(27% 0.033 266.9), rgb(31, 38, 55).

Aa

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

About this color

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

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

Values

HEX#1F2637
RGBrgb(31, 38, 55)
HSLhsl(223, 28%, 17%)
OKLCHoklch(27% 0.033 266.9)

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 #1F2637 15.10:1 AAA Lc -104.7 Preferred for body text
Black text on #1F2637 1.39:1 Fails Lc 0.0 Not readable
#1F2637 text on white 15.10:1 AAA Lc 102.0 Preferred for body text
#1F2637 text on black 1.39: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

    #F4F5F9

    oklch(97.1% 0.005 275)

  2. Step 100

    100

    #E6EAF2

    oklch(93.6% 0.012 264.5)

  3. Step 200

    200

    #D2D9E8

    oklch(88.4% 0.022 265.8)

  4. Step 300

    300

    #B5C0DB

    oklch(80.8% 0.04 267.9)

  5. Step 400

    400

    #8FA0C9

    oklch(70.7% 0.063 267.2)

  6. Step 500

    500

    #7388BB

    oklch(63% 0.081 266.9)

  7. Step 600

    600

    #5C71A7

    oklch(55.5% 0.088 267.3)

  8. Step 700

    700

    #4C5F8F

    oklch(49.1% 0.081 267)

  9. Step 800

    800

    #3E4E74

    oklch(42.8% 0.067 266.2)

  10. Step 900

    900

    #35415E

    oklch(37.8% 0.052 266.7)

  11. Step 950

    950 (this color)

    #1F2637

    oklch(27% 0.033 266.9)

Export this scale for Tailwind in the Tailwind colors tool

#1F2637 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)#2027380.004
Deuteranopia (no green cones)#1E25370.004
Tritanopia (no blue cones)#18292C0.029
Achromatopsia (no color)#2626260.033

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F2637

    #1F2637

    oklch(27% 0.033 266.9)

  • #2D2513

    #2D2513

    oklch(26.8% 0.032 86.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F2637

    #1F2637

    oklch(27% 0.033 266.9)

  • #162935

    #162935

    oklch(27.1% 0.033 237.5)

  • #282335

    #282335

    oklch(27% 0.034 296.8)

Open the analogous palette in the generator

Split complementary

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

  • #1F2637

    #1F2637

    oklch(27% 0.033 266.9)

  • #332216

    #332216

    oklch(26.9% 0.033 56)

  • #252915

    #252915

    oklch(27.1% 0.035 118)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F2637

    #1F2637

    oklch(27% 0.033 266.9)

  • #35201E

    #35201E

    oklch(27% 0.033 25.5)

  • #1B2B1D

    #1B2B1D

    oklch(27% 0.034 147.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F2637

    #1F2637

    oklch(27% 0.033 266.9)

  • #342027

    #342027

    oklch(27.2% 0.033 356.9)

  • #2D2513

    #2D2513

    oklch(26.8% 0.032 86.3)

  • #132C26

    #132C26

    oklch(27.1% 0.033 176.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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