#142A4E

Closest named color: Marine (#042E60). oklch(28.8% 0.072 259.8), rgb(20, 42, 78).

Aa

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

About this color

#142A4E is a dark, moderately saturated blue. In OKLCH its lightness is 29%, its chroma 0.072 and its hue 260°. Its hue sits on the cool side of the wheel. The nearest named color is Marine (#042E60), ΔE 0.034 away. White text reads best on it, at 14.27:1.

Hue familyBlues
Lightnessdark (29%)
Chromamoderately saturated (0.072)
Temperaturecool
Nearest nameMarine (#042E60)
Black text1.47:1
White text14.27:1

Values

HEX#142A4E
RGBrgb(20, 42, 78)
HSLhsl(217, 59%, 19%)
OKLCHoklch(28.8% 0.072 259.8)

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 #142A4E 14.27:1 AAA Lc -103.8 Preferred for body text
Black text on #142A4E 1.47:1 Fails Lc 0.0 Not readable
#142A4E text on white 14.27:1 AAA Lc 100.8 Preferred for body text
#142A4E text on black 1.47: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

    #E0EBFB

    oklch(93.7% 0.025 257.6)

  3. Step 200

    200

    #C7DAF9

    oklch(88.4% 0.048 260.2)

  4. Step 300

    300

    #A0C2F8

    oklch(80.9% 0.085 259.5)

  5. Step 400

    400

    #6DA0F5

    oklch(70.7% 0.137 260.2)

  6. Step 500

    500

    #4586F1

    oklch(63.2% 0.174 259.9)

  7. Step 600

    600

    #256DDF

    oklch(55.7% 0.188 259.7)

  8. Step 700

    700

    #175AC2

    oklch(49.1% 0.176 259.7)

  9. Step 800

    800

    #164A9D

    oklch(42.7% 0.146 259.8)

  10. Step 900

    900

    #193F7D

    oklch(37.8% 0.114 259.8)

  11. Step 950

    950 (this color)

    #142A4E

    oklch(28.8% 0.072 259.8)

Export this scale for Tailwind in the Tailwind colors tool

#142A4E 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)#192D4F0.012
Deuteranopia (no green cones)#10284D0.008
Tritanopia (no blue cones)#0032380.057
Achromatopsia (no color)#2A2A2A0.072

Harmonies

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

Complementary

The opposite hue (180°).

  • #142A4E

    #142A4E

    oklch(28.8% 0.072 259.8)

  • #3A2700

    #3A2700

    oklch(28.8% 0.06 80.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #142A4E

    #142A4E

    oklch(28.8% 0.072 259.8)

  • #003042

    #003042

    oklch(28.9% 0.057 229.7)

  • #2B234C

    #2B234C

    oklch(28.8% 0.073 290)

Open the analogous palette in the generator

Split complementary

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

  • #142A4E

    #142A4E

    oklch(28.8% 0.072 259.8)

  • #461E03

    #461E03

    oklch(28.8% 0.072 50.2)

  • #2D2D00

    #2D2D00

    oklch(28.8% 0.063 109.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #142A4E

    #142A4E

    oklch(28.8% 0.072 259.8)

  • #48191C

    #48191C

    oklch(28.7% 0.072 19)

  • #15330E

    #15330E

    oklch(28.8% 0.071 140)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #142A4E

    #142A4E

    oklch(28.8% 0.072 259.8)

  • #441A30

    #441A30

    oklch(28.9% 0.071 349.8)

  • #3A2700

    #3A2700

    oklch(28.8% 0.06 80.5)

  • #003426

    #003426

    oklch(28.9% 0.058 169)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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