#1D274F

Closest named color: Oxford Blue (#1B263B). oklch(28.7% 0.074 270.6), rgb(29, 39, 79).

Aa

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

About this color

#1D274F is a dark, moderately saturated blue. In OKLCH its lightness is 29%, its chroma 0.074 and its hue 271°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.037 away. White text reads best on it, at 14.42:1.

Hue familyBlues
Lightnessdark (29%)
Chromamoderately saturated (0.074)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.45:1
White text14.42:1

Values

HEX#1D274F
RGBrgb(29, 39, 79)
HSLhsl(228, 46%, 21%)
OKLCHoklch(28.7% 0.074 270.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 #1D274F 14.42:1 AAA Lc -104.0 Preferred for body text
Black text on #1D274F 1.45:1 Fails Lc 0.0 Not readable
#1D274F text on white 14.42:1 AAA Lc 101.1 Preferred for body text
#1D274F text on black 1.45: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

    #F2F5FE

    oklch(97% 0.012 271.3)

  2. Step 100

    100

    #E3E9FC

    oklch(93.5% 0.027 271.9)

  3. Step 200

    200

    #CDD8FA

    oklch(88.5% 0.048 271.2)

  4. Step 300

    300

    #ABBEFA

    oklch(80.9% 0.088 270.8)

  5. Step 400

    400

    #809AF8

    oklch(70.7% 0.141 270.8)

  6. Step 500

    500

    #627EF5

    oklch(63.2% 0.18 270.5)

  7. Step 600

    600

    #4B63E3

    oklch(55.5% 0.195 270.7)

  8. Step 700

    700

    #3D51C6

    oklch(49.1% 0.183 270.7)

  9. Step 800

    800

    #3243A0

    oklch(42.6% 0.151 270.7)

  10. Step 900

    900

    #2B3A7F

    oklch(37.7% 0.118 270.6)

  11. Step 950

    950 (this color)

    #1D274F

    oklch(28.7% 0.074 270.6)

Export this scale for Tailwind in the Tailwind colors tool

#1D274F 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)#142C500.018
Deuteranopia (no green cones)#0D284E0.019
Tritanopia (no blue cones)#0030370.066
Achromatopsia (no color)#2A2A2A0.074

Harmonies

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

Complementary

The opposite hue (180°).

  • #1D274F

    #1D274F

    oklch(28.7% 0.074 270.6)

  • #362900

    #362900

    oklch(28.8% 0.059 90.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1D274F

    #1D274F

    oklch(28.7% 0.074 270.6)

  • #002E48

    #002E48

    oklch(28.7% 0.066 240.4)

  • #312049

    #312049

    oklch(28.6% 0.074 301)

Open the analogous palette in the generator

Split complementary

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

  • #1D274F

    #1D274F

    oklch(28.7% 0.074 270.6)

  • #422100

    #422100

    oklch(28.7% 0.067 60.2)

  • #262F00

    #262F00

    oklch(28.6% 0.068 120.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1D274F

    #1D274F

    oklch(28.7% 0.074 270.6)

  • #491912

    #491912

    oklch(28.7% 0.075 30.6)

  • #043416

    #043416

    oklch(28.6% 0.073 150.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1D274F

    #1D274F

    oklch(28.7% 0.074 270.6)

  • #471829

    #471829

    oklch(28.8% 0.075 0.3)

  • #362900

    #362900

    oklch(28.8% 0.059 90.2)

  • #00332C

    #00332C

    oklch(28.8% 0.052 180.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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