#142F52

Closest named color: Prussian Blue (#1D3557). oklch(30.4% 0.072 255.9), rgb(20, 47, 82).

Aa

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

About this color

#142F52 is a dark, moderately saturated blue. In OKLCH its lightness is 30%, its chroma 0.072 and its hue 256°. Its hue sits on the cool side of the wheel. The nearest named color is Prussian Blue (#1D3557), ΔE 0.024 away. White text reads best on it, at 13.47:1.

Hue familyBlues
Lightnessdark (30%)
Chromamoderately saturated (0.072)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.55:1
White text13.47:1

Values

HEX#142F52
RGBrgb(20, 47, 82)
HSLhsl(214, 61%, 20%)
OKLCHoklch(30.4% 0.072 255.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 #142F52 13.47:1 AAA Lc -102.9 Preferred for body text
Black text on #142F52 1.55:1 Fails Lc 0.0 Not readable
#142F52 text on white 13.47:1 AAA Lc 99.7 Preferred for body text
#142F52 text on black 1.55: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

    #F1F6FD

    oklch(97.1% 0.011 256.7)

  2. Step 100

    100

    #DFEBFB

    oklch(93.6% 0.025 255.6)

  3. Step 200

    200

    #C5DBF9

    oklch(88.5% 0.048 256.2)

  4. Step 300

    300

    #9DC3F7

    oklch(80.8% 0.085 256.3)

  5. Step 400

    400

    #65A2F4

    oklch(70.6% 0.137 256.2)

  6. Step 500

    500

    #3689EF

    oklch(63.2% 0.173 255.6)

  7. Step 600

    600

    #026FDE

    oklch(55.5% 0.189 256.1)

  8. Step 700

    700

    #005DBC

    oklch(49% 0.167 256)

  9. Step 800

    800

    #004C9C

    oklch(42.7% 0.146 256)

  10. Step 900

    900

    #0F407C

    oklch(37.6% 0.114 256.2)

  11. Step 950

    950 (this color)

    #142F52

    oklch(30.4% 0.072 255.9)

Export this scale for Tailwind in the Tailwind colors tool

#142F52 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)#1F32530.017
Deuteranopia (no green cones)#162C510.009
Tritanopia (no blue cones)#00373C0.056
Achromatopsia (no color)#2F2F2F0.072

Harmonies

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

Complementary

The opposite hue (180°).

  • #142F52

    #142F52

    oklch(30.4% 0.072 255.9)

  • #412900

    #412900

    oklch(30.3% 0.064 75)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #142F52

    #142F52

    oklch(30.4% 0.072 255.9)

  • #003445

    #003445

    oklch(30.3% 0.058 226.6)

  • #2C2851

    #2C2851

    oklch(30.3% 0.072 285.7)

Open the analogous palette in the generator

Split complementary

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

  • #142F52

    #142F52

    oklch(30.4% 0.072 255.9)

  • #4B210B

    #4B210B

    oklch(30.3% 0.072 45.7)

  • #333000

    #333000

    oklch(30.3% 0.064 105.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #142F52

    #142F52

    oklch(30.4% 0.072 255.9)

  • #4D1D22

    #4D1D22

    oklch(30.4% 0.073 16.1)

  • #1D370F

    #1D370F

    oklch(30.5% 0.072 136.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #142F52

    #142F52

    oklch(30.4% 0.072 255.9)

  • #471E36

    #471E36

    oklch(30.3% 0.071 346)

  • #412900

    #412900

    oklch(30.3% 0.064 75)

  • #003927

    #003927

    oklch(30.5% 0.064 165.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #142F52 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.