#142A42

Closest named color: Oxford Blue (#1B263B). oklch(28% 0.053 252), rgb(20, 42, 66).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (28%)
Chromamuted (0.053)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.43:1
White text14.58:1

Values

HEX#142A42
RGBrgb(20, 42, 66)
HSLhsl(211, 53%, 17%)
OKLCHoklch(28% 0.053 252)

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 #142A42 14.58:1 AAA Lc -104.2 Preferred for body text
Black text on #142A42 1.43:1 Fails Lc 0.0 Not readable
#142A42 text on white 14.58:1 AAA Lc 101.3 Preferred for body text
#142A42 text on black 1.43: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

    #F2F6FB

    oklch(97.2% 0.008 253.9)

  2. Step 100

    100

    #E1EBF6

    oklch(93.6% 0.018 250.6)

  3. Step 200

    200

    #C9DBF0

    oklch(88.4% 0.035 252.3)

  4. Step 300

    300

    #A4C4E9

    oklch(80.9% 0.063 252.3)

  5. Step 400

    400

    #72A4DD

    oklch(70.6% 0.1 252.4)

  6. Step 500

    500

    #4A8DD4

    oklch(63.2% 0.127 251.7)

  7. Step 600

    600

    #2A75C1

    oklch(55.5% 0.139 252.1)

  8. Step 700

    700

    #1C62A7

    oklch(49.1% 0.129 252.1)

  9. Step 800

    800

    #1A5087

    oklch(42.6% 0.107 252.2)

  10. Step 900

    900

    #1C436C

    oklch(37.7% 0.083 251.9)

  11. Step 950

    950 (this color)

    #142A42

    oklch(28% 0.053 252)

Export this scale for Tailwind in the Tailwind colors tool

#142A42 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)#202B430.017
Deuteranopia (no green cones)#1A27420.012
Tritanopia (no blue cones)#0030330.043
Achromatopsia (no color)#2929290.053

Harmonies

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

Complementary

The opposite hue (180°).

  • #142A42

    #142A42

    oklch(28% 0.053 252)

  • #392406

    #392406

    oklch(28% 0.053 71.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #142A42

    #142A42

    oklch(28% 0.053 252)

  • #002E3B

    #002E3B

    oklch(27.9% 0.052 222.4)

  • #252542

    #252542

    oklch(28% 0.053 282.4)

Open the analogous palette in the generator

Split complementary

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

  • #142A42

    #142A42

    oklch(28% 0.053 252)

  • #3E1F13

    #3E1F13

    oklch(27.9% 0.053 41.6)

  • #2E2A05

    #2E2A05

    oklch(28.1% 0.054 103.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #142A42

    #142A42

    oklch(28% 0.053 252)

  • #3F1D22

    #3F1D22

    oklch(28% 0.053 11.8)

  • #1F2E11

    #1F2E11

    oklch(27.9% 0.053 131.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #142A42

    #142A42

    oklch(28% 0.053 252)

  • #3A1E30

    #3A1E30

    oklch(28% 0.052 341.9)

  • #392406

    #392406

    oklch(28% 0.053 71.8)

  • #0A3121

    #0A3121

    oklch(28.1% 0.053 162.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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