#142C40

Closest named color: Oxford Blue (#1B263B). oklch(28.4% 0.048 245.7), rgb(20, 44, 64).

Aa

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

About this color

#142C40 is a dark, muted blue. In OKLCH its lightness is 28%, its chroma 0.048 and its hue 246°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.021 away. White text reads best on it, at 14.34:1.

Hue familyBlues
Lightnessdark (28%)
Chromamuted (0.048)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.46:1
White text14.34:1

Values

HEX#142C40
RGBrgb(20, 44, 64)
HSLhsl(207, 52%, 16%)
OKLCHoklch(28.4% 0.048 245.7)

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 #142C40 14.34:1 AAA Lc -103.9 Preferred for body text
Black text on #142C40 1.46:1 Fails Lc 0.0 Not readable
#142C40 text on white 14.34:1 AAA Lc 101.0 Preferred for body text
#142C40 text on black 1.46: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

    #F1F6FA

    oklch(97.1% 0.008 241.7)

  2. Step 100

    100

    #E1EBF4

    oklch(93.5% 0.016 245.1)

  3. Step 200

    200

    #C9DCED

    oklch(88.6% 0.031 245.1)

  4. Step 300

    300

    #A3C5E3

    oklch(80.9% 0.056 245.2)

  5. Step 400

    400

    #70A6D6

    oklch(70.6% 0.091 246.3)

  6. Step 500

    500

    #478FCB

    oklch(63% 0.116 246.2)

  7. Step 600

    600

    #2379B8

    oklch(55.7% 0.126 245.5)

  8. Step 700

    700

    #14659E

    oklch(49.1% 0.117 245.8)

  9. Step 800

    800

    #155380

    oklch(42.8% 0.096 245.4)

  10. Step 900

    900

    #1A4567

    oklch(37.8% 0.075 245.6)

  11. Step 950

    950 (this color)

    #142C40

    oklch(28.4% 0.048 245.7)

Export this scale for Tailwind in the Tailwind colors tool

#142C40 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)#232C410.020
Deuteranopia (no green cones)#1D28400.017
Tritanopia (no blue cones)#0031330.038
Achromatopsia (no color)#2A2A2A0.048

Harmonies

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

Complementary

The opposite hue (180°).

  • #142C40

    #142C40

    oklch(28.4% 0.048 245.7)

  • #3A250E

    #3A250E

    oklch(28.5% 0.048 66.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #142C40

    #142C40

    oklch(28.4% 0.048 245.7)

  • #043039

    #043039

    oklch(28.6% 0.048 215.2)

  • #232841

    #232841

    oklch(28.5% 0.047 274.5)

Open the analogous palette in the generator

Split complementary

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

  • #142C40

    #142C40

    oklch(28.4% 0.048 245.7)

  • #3E2119

    #3E2119

    oklch(28.4% 0.047 36.3)

  • #312A0B

    #312A0B

    oklch(28.5% 0.048 96.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #142C40

    #142C40

    oklch(28.4% 0.048 245.7)

  • #3E1F26

    #3E1F26

    oklch(28.4% 0.049 6.2)

  • #242E13

    #242E13

    oklch(28.4% 0.047 126)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #142C40

    #142C40

    oklch(28.4% 0.048 245.7)

  • #392033

    #392033

    oklch(28.4% 0.049 336.1)

  • #3A250E

    #3A250E

    oklch(28.5% 0.048 66.2)

  • #143120

    #143120

    oklch(28.5% 0.047 156)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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