#1F263E

Closest named color: Oxford Blue (#1B263B). oklch(27.4% 0.046 270.8), rgb(31, 38, 62).

Aa

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

About this color

#1F263E is a dark, muted blue. In OKLCH its lightness is 27%, its chroma 0.046 and its hue 271°. 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 14.94:1.

Hue familyBlues
Lightnessdark (27%)
Chromamuted (0.046)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.40:1
White text14.94:1

Values

HEX#1F263E
RGBrgb(31, 38, 62)
HSLhsl(226, 33%, 18%)
OKLCHoklch(27.4% 0.046 270.8)

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 #1F263E 14.94:1 AAA Lc -104.6 Preferred for body text
Black text on #1F263E 1.40:1 Fails Lc 0.0 Not readable
#1F263E text on white 14.94:1 AAA Lc 101.8 Preferred for body text
#1F263E text on black 1.40: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

    #F3F5FA

    oklch(97% 0.007 268.5)

  2. Step 100

    100

    #E6EAF5

    oklch(93.7% 0.015 270)

  3. Step 200

    200

    #D1D9EE

    oklch(88.6% 0.03 269.1)

  4. Step 300

    300

    #B3BFE5

    oklch(80.8% 0.055 271.4)

  5. Step 400

    400

    #8C9ED7

    oklch(70.7% 0.086 270.6)

  6. Step 500

    500

    #7085CD

    oklch(63.1% 0.111 270.6)

  7. Step 600

    600

    #596EBA

    oklch(55.7% 0.121 270.5)

  8. Step 700

    700

    #495BA0

    oklch(49% 0.113 270.8)

  9. Step 800

    800

    #3C4B82

    oklch(42.8% 0.093 270.6)

  10. Step 900

    900

    #333F68

    oklch(37.7% 0.072 270.3)

  11. Step 950

    950 (this color)

    #1F263E

    oklch(27.4% 0.046 270.8)

Export this scale for Tailwind in the Tailwind colors tool

#1F263E 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)#1D283F0.007
Deuteranopia (no green cones)#1B263D0.007
Tritanopia (no blue cones)#142B2F0.041
Achromatopsia (no color)#2727270.046

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F263E

    #1F263E

    oklch(27.4% 0.046 270.8)

  • #302609

    #302609

    oklch(27.3% 0.046 89.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F263E

    #1F263E

    oklch(27.4% 0.046 270.8)

  • #102A3C

    #102A3C

    oklch(27.4% 0.046 241.4)

  • #2B223A

    #2B223A

    oklch(27.4% 0.045 300.7)

Open the analogous palette in the generator

Split complementary

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

  • #1F263E

    #1F263E

    oklch(27.4% 0.046 270.8)

  • #38220E

    #38220E

    oklch(27.5% 0.046 61.2)

  • #242B10

    #242B10

    oklch(27.5% 0.046 121.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F263E

    #1F263E

    oklch(27.4% 0.046 270.8)

  • #3B1E19

    #3B1E19

    oklch(27.3% 0.047 30.7)

  • #152E1C

    #152E1C

    oklch(27.5% 0.046 151.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F263E

    #1F263E

    oklch(27.4% 0.046 270.8)

  • #3A1D26

    #3A1D26

    oklch(27.4% 0.047 0.8)

  • #302609

    #302609

    oklch(27.3% 0.046 89.8)

  • #052F29

    #052F29

    oklch(27.6% 0.046 181)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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