#1F4C6A

Closest named color: Dark Grey Blue (#29465B). oklch(40% 0.071 240.9), rgb(31, 76, 106).

Aa

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

About this color

#1F4C6A is a dark, moderately saturated blue. In OKLCH its lightness is 40%, its chroma 0.071 and its hue 241°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Grey Blue (#29465B), ΔE 0.028 away. White text reads best on it, at 9.12:1.

Hue familyBlues
Lightnessdark (40%)
Chromamoderately saturated (0.071)
Temperaturecool
Nearest nameDark Grey Blue (#29465B)
Black text2.30:1
White text9.12:1

Values

HEX#1F4C6A
RGBrgb(31, 76, 106)
HSLhsl(204, 55%, 27%)
OKLCHoklch(40% 0.071 240.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 #1F4C6A 9.12:1 AAA Lc -95.2 Preferred for body text
Black text on #1F4C6A 2.30:1 Fails Lc 13.2 Not readable
#1F4C6A text on white 9.12:1 AAA Lc 90.8 Preferred for body text
#1F4C6A text on black 2.30:1 Fails Lc -11.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

    #F1F6FA

    oklch(97.1% 0.008 241.7)

  2. Step 100

    100

    #E1EBF3

    oklch(93.5% 0.015 241.8)

  3. Step 200

    200

    #C9DCEB

    oklch(88.5% 0.029 241.6)

  4. Step 300

    300

    #A3C6E0

    oklch(81% 0.053 240.5)

  5. Step 400

    400

    #6FA8D1

    oklch(70.8% 0.085 240.8)

  6. Step 500

    500

    #4591C5

    oklch(63.1% 0.109 241.3)

  7. Step 600

    600

    #1F7AB1

    oklch(55.5% 0.118 241.2)

  8. Step 700

    700

    #0E6798

    oklch(49.1% 0.109 240.7)

  9. Step 800

    800

    #12547C

    oklch(42.7% 0.091 241.4)

  10. Step 900

    900 (this color)

    #1F4C6A

    oklch(40% 0.071 240.9)

  11. Step 950

    950

    #10293A

    oklch(27% 0.044 240.8)

Export this scale for Tailwind in the Tailwind colors tool

#1F4C6A 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)#3E4C6B0.036
Deuteranopia (no green cones)#3445690.029
Tritanopia (no blue cones)#0053560.050
Achromatopsia (no color)#4848480.071

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F4C6A

    #1F4C6A

    oklch(40% 0.071 240.9)

  • #633E1C

    #633E1C

    oklch(40% 0.071 61)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F4C6A

    #1F4C6A

    oklch(40% 0.071 240.9)

  • #00515D

    #00515D

    oklch(39.9% 0.069 211.8)

  • #39456E

    #39456E

    oklch(39.9% 0.071 270.5)

Open the analogous palette in the generator

Split complementary

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

  • #1F4C6A

    #1F4C6A

    oklch(40% 0.071 240.9)

  • #683830

    #683830

    oklch(39.9% 0.07 30.5)

  • #564613

    #564613

    oklch(40% 0.071 91)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F4C6A

    #1F4C6A

    oklch(40% 0.071 240.9)

  • #663645

    #663645

    oklch(39.8% 0.071 0.8)

  • #424D1E

    #424D1E

    oklch(39.9% 0.071 120.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F4C6A

    #1F4C6A

    oklch(40% 0.071 240.9)

  • #5D3959

    #5D3959

    oklch(40% 0.07 330.8)

  • #633E1C

    #633E1C

    oklch(40% 0.071 61)

  • #285233

    #285233

    oklch(39.9% 0.071 150.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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