#1F4155

Closest named color: Charcoal (#264653). oklch(35.9% 0.053 236.6), rgb(31, 65, 85).

Aa

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

About this color

#1F4155 is a dark, muted blue. In OKLCH its lightness is 36%, its chroma 0.053 and its hue 237°. Its hue sits on the cool side of the wheel. The nearest named color is Charcoal (#264653), ΔE 0.020 away. White text reads best on it, at 10.79:1.

Hue familyBlues
Lightnessdark (36%)
Chromamuted (0.053)
Temperaturecool
Nearest nameCharcoal (#264653)
Black text1.94:1
White text10.79:1

Values

HEX#1F4155
RGBrgb(31, 65, 85)
HSLhsl(202, 47%, 23%)
OKLCHoklch(35.9% 0.053 236.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 #1F4155 10.79:1 AAA Lc -98.8 Preferred for body text
Black text on #1F4155 1.94:1 Fails Lc 9.0 Not readable
#1F4155 text on white 10.79:1 AAA Lc 94.9 Preferred for body text
#1F4155 text on black 1.94:1 Fails Lc -7.7 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

    #E3EBF1

    oklch(93.6% 0.012 239.9)

  3. Step 200

    200

    #CCDCE6

    oklch(88.5% 0.022 235)

  4. Step 300

    300

    #A9C5D7

    oklch(80.8% 0.04 236.2)

  5. Step 400

    400

    #7BA7C3

    oklch(70.7% 0.063 236.7)

  6. Step 500

    500

    #5791B4

    oklch(63.1% 0.081 236.5)

  7. Step 600

    600

    #3A7BA0

    oklch(55.6% 0.088 236.3)

  8. Step 700

    700

    #2C6789

    oklch(49% 0.082 237.1)

  9. Step 800

    800

    #26546F

    oklch(42.6% 0.067 237.1)

  10. Step 900

    900 (this color)

    #1F4155

    oklch(35.9% 0.053 236.6)

  11. Step 950

    950

    #162935

    oklch(27.1% 0.033 237.5)

Export this scale for Tailwind in the Tailwind colors tool

#1F4155 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)#3841560.032
Deuteranopia (no green cones)#303B550.027
Tritanopia (no blue cones)#0046480.038
Achromatopsia (no color)#3D3D3D0.053

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F4155

    #1F4155

    oklch(35.9% 0.053 236.6)

  • #523520

    #523520

    oklch(35.8% 0.053 56)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F4155

    #1F4155

    oklch(35.9% 0.053 236.6)

  • #12454B

    #12454B

    oklch(36% 0.053 206.3)

  • #303C59

    #303C59

    oklch(35.9% 0.053 266.6)

Open the analogous palette in the generator

Split complementary

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

  • #1F4155

    #1F4155

    oklch(35.9% 0.053 236.6)

  • #55322E

    #55322E

    oklch(35.9% 0.052 27)

  • #493B1A

    #493B1A

    oklch(35.9% 0.053 86.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F4155

    #1F4155

    oklch(35.9% 0.053 236.6)

  • #53313D

    #53313D

    oklch(35.9% 0.052 357.4)

  • #3B401F

    #3B401F

    oklch(35.8% 0.052 116.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F4155

    #1F4155

    oklch(35.9% 0.053 236.6)

  • #4C334C

    #4C334C

    oklch(36% 0.054 326.6)

  • #523520

    #523520

    oklch(35.8% 0.053 56)

  • #2A442C

    #2A442C

    oklch(35.8% 0.052 146.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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