#072138

Closest named color: Rich Black (#0D1B2A). oklch(24.2% 0.054 248.6), rgb(7, 33, 56).

Aa

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

About this color

#072138 is a very dark, muted blue. In OKLCH its lightness is 24%, its chroma 0.054 and its hue 249°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.030 away. White text reads best on it, at 16.35:1.

Hue familyBlues
Lightnessvery dark (24%)
Chromamuted (0.054)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.28:1
White text16.35:1

Values

HEX#072138
RGBrgb(7, 33, 56)
HSLhsl(208, 78%, 12%)
OKLCHoklch(24.2% 0.054 248.6)

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 #072138 16.35:1 AAA Lc -105.7 Preferred for body text
Black text on #072138 1.28:1 Fails Lc 0.0 Not readable
#072138 text on white 16.35:1 AAA Lc 103.1 Preferred for body text
#072138 text on black 1.28: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

    #F1F6FB

    oklch(97.1% 0.009 247.9)

  2. Step 100

    100

    #E1EBF6

    oklch(93.6% 0.018 250.6)

  3. Step 200

    200

    #C8DCF0

    oklch(88.6% 0.035 248.2)

  4. Step 300

    300

    #A1C5E9

    oklch(81% 0.064 248.6)

  5. Step 400

    400

    #6CA6DE

    oklch(70.8% 0.103 248.6)

  6. Step 500

    500

    #408ED5

    oklch(63.1% 0.132 248.9)

  7. Step 600

    600

    #1777C2

    oklch(55.6% 0.143 248.6)

  8. Step 700

    700

    #0364A8

    oklch(49.2% 0.133 248.5)

  9. Step 800

    800

    #0C5288

    oklch(42.8% 0.11 248.4)

  10. Step 900

    900

    #15446D

    oklch(37.7% 0.086 248.8)

  11. Step 950

    950 (this color)

    #072138

    oklch(24.2% 0.054 248.6)

Export this scale for Tailwind in the Tailwind colors tool

#072138 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)#1622390.019
Deuteranopia (no green cones)#0F1E380.012
Tritanopia (no blue cones)#0026290.039
Achromatopsia (no color)#2020200.054

Harmonies

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

Complementary

The opposite hue (180°).

  • #072138

    #072138

    oklch(24.2% 0.054 248.6)

  • #301A00

    #301A00

    oklch(24.2% 0.053 67.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #072138

    #072138

    oklch(24.2% 0.054 248.6)

  • #00242D

    #00242D

    oklch(24% 0.043 218.3)

  • #1A1C39

    #1A1C39

    oklch(24.1% 0.055 278.5)

Open the analogous palette in the generator

Split complementary

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

  • #072138

    #072138

    oklch(24.2% 0.054 248.6)

  • #35150B

    #35150B

    oklch(24.2% 0.055 38)

  • #262000

    #262000

    oklch(24.3% 0.05 99.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #072138

    #072138

    oklch(24.2% 0.054 248.6)

  • #35131A

    #35131A

    oklch(24.2% 0.055 9.3)

  • #182405

    #182405

    oklch(24.1% 0.054 127.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #072138

    #072138

    oklch(24.2% 0.054 248.6)

  • #301428

    #301428

    oklch(24.1% 0.055 339.1)

  • #301A00

    #301A00

    oklch(24.2% 0.053 67.9)

  • #012716

    #012716

    oklch(24.1% 0.054 159.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #072138 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.