#1F4058

Closest named color: Dark Blue Grey (#1F3B4D). oklch(35.8% 0.057 242.2), rgb(31, 64, 88).

Aa

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

About this color

#1F4058 is a dark, muted blue. In OKLCH its lightness is 36%, its chroma 0.057 and its hue 242°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Blue Grey (#1F3B4D), ΔE 0.022 away. White text reads best on it, at 10.86:1.

Hue familyBlues
Lightnessdark (36%)
Chromamuted (0.057)
Temperaturecool
Nearest nameDark Blue Grey (#1F3B4D)
Black text1.93:1
White text10.86:1

Values

HEX#1F4058
RGBrgb(31, 64, 88)
HSLhsl(205, 48%, 23%)
OKLCHoklch(35.8% 0.057 242.2)

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 #1F4058 10.86:1 AAA Lc -98.9 Preferred for body text
Black text on #1F4058 1.93:1 Fails Lc 8.9 Not readable
#1F4058 text on white 10.86:1 AAA Lc 95.0 Preferred for body text
#1F4058 text on black 1.93:1 Fails Lc -7.6 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

    #F2F6F9

    oklch(97.1% 0.006 239.8)

  2. Step 100

    100

    #E3EBF2

    oklch(93.6% 0.013 244.3)

  3. Step 200

    200

    #CCDBE8

    oklch(88.4% 0.024 244.2)

  4. Step 300

    300

    #A9C5DA

    oklch(80.9% 0.042 240.5)

  5. Step 400

    400

    #7BA6C8

    oklch(70.7% 0.068 242.7)

  6. Step 500

    500

    #5790BA

    oklch(63.1% 0.087 241.9)

  7. Step 600

    600

    #3B79A6

    oklch(55.5% 0.095 242.6)

  8. Step 700

    700

    #2C668E

    oklch(49% 0.088 241.8)

  9. Step 800

    800

    #265374

    oklch(42.6% 0.074 243)

  10. Step 900

    900 (this color)

    #1F4058

    oklch(35.8% 0.057 242.2)

  11. Step 950

    950

    #162937

    oklch(27.2% 0.036 241.7)

Export this scale for Tailwind in the Tailwind colors tool

#1F4058 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)#3540590.028
Deuteranopia (no green cones)#2E3A580.025
Tritanopia (no blue cones)#0046480.044
Achromatopsia (no color)#3D3D3D0.057

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F4058

    #1F4058

    oklch(35.8% 0.057 242.2)

  • #52351B

    #52351B

    oklch(35.7% 0.057 61.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F4058

    #1F4058

    oklch(35.8% 0.057 242.2)

  • #0C444E

    #0C444E

    oklch(35.7% 0.057 212.7)

  • #323B5B

    #323B5B

    oklch(35.9% 0.057 271.3)

Open the analogous palette in the generator

Split complementary

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

  • #1F4058

    #1F4058

    oklch(35.8% 0.057 242.2)

  • #573129

    #573129

    oklch(35.9% 0.058 32.7)

  • #473C16

    #473C16

    oklch(35.9% 0.057 93.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F4058

    #1F4058

    oklch(35.8% 0.057 242.2)

  • #552F3A

    #552F3A

    oklch(35.7% 0.057 1.8)

  • #37411E

    #37411E

    oklch(35.7% 0.056 122.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F4058

    #1F4058

    oklch(35.8% 0.057 242.2)

  • #4E314A

    #4E314A

    oklch(35.8% 0.057 331.7)

  • #52351B

    #52351B

    oklch(35.7% 0.057 61.2)

  • #24452E

    #24452E

    oklch(35.8% 0.056 152.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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