#1F2C5C

Closest named color: Marine (#042E60). oklch(31% 0.087 269.4), rgb(31, 44, 92).

Aa

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

About this color

#1F2C5C is a dark, moderately saturated blue. In OKLCH its lightness is 31%, its chroma 0.087 and its hue 269°. Its hue sits on the cool side of the wheel. The nearest named color is Marine (#042E60), ΔE 0.025 away. White text reads best on it, at 13.34:1.

Hue familyBlues
Lightnessdark (31%)
Chromamoderately saturated (0.087)
Temperaturecool
Nearest nameMarine (#042E60)
Black text1.57:1
White text13.34:1

Values

HEX#1F2C5C
RGBrgb(31, 44, 92)
HSLhsl(227, 50%, 24%)
OKLCHoklch(31% 0.087 269.4)

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 #1F2C5C 13.34:1 AAA Lc -102.8 Preferred for body text
Black text on #1F2C5C 1.57:1 Fails Lc 0.0 Not readable
#1F2C5C text on white 13.34:1 AAA Lc 99.6 Preferred for body text
#1F2C5C text on black 1.57:1 Fails Lc 0.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 950.

  1. Step 50

    50

    #F2F5FF

    oklch(97.1% 0.014 272.7)

  2. Step 100

    100

    #E2EAFF

    oklch(93.7% 0.03 269.1)

  3. Step 200

    200

    #CAD8FF

    oklch(88.4% 0.056 269.7)

  4. Step 300

    300

    #A8BEFF

    oklch(80.9% 0.096 269.8)

  5. Step 400

    400

    #7B9AFF

    oklch(70.8% 0.152 269.4)

  6. Step 500

    500

    #5B7CFF

    oklch(63.1% 0.198 269.4)

  7. Step 600

    600

    #425DF7

    oklch(55.6% 0.23 269.5)

  8. Step 700

    700

    #354BD7

    oklch(49.1% 0.214 269.5)

  9. Step 800

    800

    #2B3FAE

    oklch(42.7% 0.177 269.3)

  10. Step 900

    900

    #263789

    oklch(37.6% 0.138 269.6)

  11. Step 950

    950 (this color)

    #1F2C5C

    oklch(31% 0.087 269.4)

Export this scale for Tailwind in the Tailwind colors tool

#1F2C5C 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)#13325E0.020
Deuteranopia (no green cones)#082D5B0.023
Tritanopia (no blue cones)#00373F0.075
Achromatopsia (no color)#2F2F2F0.087

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F2C5C

    #1F2C5C

    oklch(31% 0.087 269.4)

  • #3D2E00

    #3D2E00

    oklch(31% 0.063 89.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F2C5C

    #1F2C5C

    oklch(31% 0.087 269.4)

  • #003450

    #003450

    oklch(31% 0.071 239.8)

  • #372456

    #372456

    oklch(31.1% 0.088 298.7)

Open the analogous palette in the generator

Split complementary

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

  • #1F2C5C

    #1F2C5C

    oklch(31% 0.087 269.4)

  • #4B2500

    #4B2500

    oklch(31% 0.074 58.4)

  • #2C3500

    #2C3500

    oklch(30.9% 0.073 119.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F2C5C

    #1F2C5C

    oklch(31% 0.087 269.4)

  • #541B14

    #541B14

    oklch(31.1% 0.087 29.8)

  • #003C16

    #003C16

    oklch(31.1% 0.087 149.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F2C5C

    #1F2C5C

    oklch(31% 0.087 269.4)

  • #51192F

    #51192F

    oklch(30.9% 0.087 359.2)

  • #3D2E00

    #3D2E00

    oklch(31% 0.063 89.1)

  • #003931

    #003931

    oklch(30.9% 0.056 180)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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