#1F3C7D

Closest named color: Twilight Blue (#0A437A). oklch(37.3% 0.116 263.7), rgb(31, 60, 125).

Aa

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

About this color

#1F3C7D is a dark, moderately saturated blue. In OKLCH its lightness is 37%, its chroma 0.116 and its hue 264°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight Blue (#0A437A), ΔE 0.024 away. White text reads best on it, at 10.49:1.

Hue familyBlues
Lightnessdark (37%)
Chromamoderately saturated (0.116)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text2.00:1
White text10.49:1

Values

HEX#1F3C7D
RGBrgb(31, 60, 125)
HSLhsl(221, 60%, 31%)
OKLCHoklch(37.3% 0.116 263.7)

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 #1F3C7D 10.49:1 AAA Lc -98.0 Preferred for body text
Black text on #1F3C7D 2.00:1 Fails Lc 9.9 Not readable
#1F3C7D text on white 10.49:1 AAA Lc 94.0 Preferred for body text
#1F3C7D text on black 2.00:1 Fails Lc -8.5 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

    #F1F6FE

    oklch(97.2% 0.012 259.8)

  2. Step 100

    100

    #E1EAFB

    oklch(93.5% 0.025 263.3)

  3. Step 200

    200

    #C9DAFA

    oklch(88.6% 0.048 263.1)

  4. Step 300

    300

    #A4C1FA

    oklch(81% 0.087 263.6)

  5. Step 400

    400

    #739EF7

    oklch(70.7% 0.139 263.7)

  6. Step 500

    500

    #4F83F4

    oklch(63.1% 0.178 263.5)

  7. Step 600

    600

    #3569E2

    oklch(55.6% 0.193 263.7)

  8. Step 700

    700

    #2857C5

    oklch(49.2% 0.18 263.6)

  9. Step 800

    800

    #22489F

    oklch(42.8% 0.148 263.6)

  10. Step 900

    900 (this color)

    #1F3C7D

    oklch(37.3% 0.116 263.7)

  11. Step 950

    950

    #13244A

    oklch(26.9% 0.074 264)

Export this scale for Tailwind in the Tailwind colors tool

#1F3C7D 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)#15447F0.023
Deuteranopia (no green cones)#003B7C0.021
Tritanopia (no blue cones)#004B560.092
Achromatopsia (no color)#3F3F3F0.116

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F3C7D

    #1F3C7D

    oklch(37.3% 0.116 263.7)

  • #543C00

    #543C00

    oklch(37.3% 0.077 83.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F3C7D

    #1F3C7D

    oklch(37.3% 0.116 263.7)

  • #004763

    #004763

    oklch(37.4% 0.077 233.1)

  • #453077

    #453077

    oklch(37.3% 0.116 293.6)

Open the analogous palette in the generator

Split complementary

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

  • #1F3C7D

    #1F3C7D

    oklch(37.3% 0.116 263.7)

  • #653000

    #653000

    oklch(37.3% 0.093 54.3)

  • #414500

    #414500

    oklch(37.4% 0.084 113.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F3C7D

    #1F3C7D

    oklch(37.3% 0.116 263.7)

  • #721F21

    #721F21

    oklch(37.4% 0.116 23.5)

  • #084F0E

    #084F0E

    oklch(37.3% 0.116 143.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F3C7D

    #1F3C7D

    oklch(37.3% 0.116 263.7)

  • #6C1F45

    #6C1F45

    oklch(37.4% 0.116 353.8)

  • #543C00

    #543C00

    oklch(37.3% 0.077 83.1)

  • #004D3D

    #004D3D

    oklch(37.5% 0.072 172.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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