#1F4875

Closest named color: Twilight Blue (#0A437A). oklch(39.6% 0.089 252.8), rgb(31, 72, 117).

Aa

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

About this color

#1F4875 is a dark, moderately saturated blue. In OKLCH its lightness is 40%, its chroma 0.089 and its hue 253°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight Blue (#0A437A), ΔE 0.025 away. White text reads best on it, at 9.36:1.

Hue familyBlues
Lightnessdark (40%)
Chromamoderately saturated (0.089)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text2.24:1
White text9.36:1

Values

HEX#1F4875
RGBrgb(31, 72, 117)
HSLhsl(211, 58%, 29%)
OKLCHoklch(39.6% 0.089 252.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 #1F4875 9.36:1 AAA Lc -95.7 Preferred for body text
Black text on #1F4875 2.24:1 Fails Lc 12.6 Not readable
#1F4875 text on white 9.36:1 AAA Lc 91.4 Preferred for body text
#1F4875 text on black 2.24:1 Fails Lc -11.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 900.

  1. Step 50

    50

    #F1F6FB

    oklch(97.1% 0.009 247.9)

  2. Step 100

    100

    #E1EBF7

    oklch(93.6% 0.019 252.9)

  3. Step 200

    200

    #C8DBF2

    oklch(88.4% 0.038 253.2)

  4. Step 300

    300

    #A2C4EB

    oklch(80.9% 0.066 252.1)

  5. Step 400

    400

    #6FA4E2

    oklch(70.7% 0.107 253.1)

  6. Step 500

    500

    #468CD9

    oklch(63.1% 0.136 252.7)

  7. Step 600

    600

    #2474C7

    oklch(55.5% 0.149 253.1)

  8. Step 700

    700

    #1561AC

    oklch(49% 0.139 253)

  9. Step 800

    800

    #16508B

    oklch(42.8% 0.114 252.7)

  10. Step 900

    900 (this color)

    #1F4875

    oklch(39.6% 0.089 252.8)

  11. Step 950

    950

    #102741

    oklch(26.9% 0.057 253.1)

Export this scale for Tailwind in the Tailwind colors tool

#1F4875 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)#344B770.026
Deuteranopia (no green cones)#2743740.016
Tritanopia (no blue cones)#0053590.069
Achromatopsia (no color)#4646460.089

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F4875

    #1F4875

    oklch(39.6% 0.089 252.8)

  • #623E00

    #623E00

    oklch(39.6% 0.085 72.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F4875

    #1F4875

    oklch(39.6% 0.089 252.8)

  • #004F63

    #004F63

    oklch(39.7% 0.073 222.3)

  • #403F75

    #403F75

    oklch(39.6% 0.09 282.3)

Open the analogous palette in the generator

Split complementary

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

  • #1F4875

    #1F4875

    oklch(39.6% 0.089 252.8)

  • #6D341B

    #6D341B

    oklch(39.6% 0.089 43.1)

  • #4F4800

    #4F4800

    oklch(39.6% 0.083 103.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F4875

    #1F4875

    oklch(39.6% 0.089 252.8)

  • #6E3039

    #6E3039

    oklch(39.6% 0.088 13)

  • #335019

    #335019

    oklch(39.5% 0.089 132.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F4875

    #1F4875

    oklch(39.6% 0.089 252.8)

  • #663153

    #663153

    oklch(39.5% 0.089 342.8)

  • #623E00

    #623E00

    oklch(39.6% 0.085 72.5)

  • #005539

    #005539

    oklch(39.8% 0.086 162.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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