#072840

Closest named color: Oxford Blue (#1B263B). oklch(26.7% 0.058 244.8), rgb(7, 40, 64).

Aa

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

About this color

#072840 is a dark, muted blue. In OKLCH its lightness is 27%, its chroma 0.058 and its hue 245°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.022 away. White text reads best on it, at 15.14:1.

Hue familyBlues
Lightnessdark (27%)
Chromamuted (0.058)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.38:1
White text15.14:1

Values

HEX#072840
RGBrgb(7, 40, 64)
HSLhsl(205, 80%, 14%)
OKLCHoklch(26.7% 0.058 244.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 #072840 15.14:1 AAA Lc -104.6 Preferred for body text
Black text on #072840 1.38:1 Fails Lc 0.0 Not readable
#072840 text on white 15.14:1 AAA Lc 101.8 Preferred for body text
#072840 text on black 1.38: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

    #F0F6FB

    oklch(97% 0.009 242.8)

  2. Step 100

    100

    #DFECF7

    oklch(93.7% 0.02 243.4)

  3. Step 200

    200

    #C5DCF1

    oklch(88.4% 0.038 245.8)

  4. Step 300

    300

    #9BC6EB

    oklch(80.9% 0.07 244.8)

  5. Step 400

    400

    #61A7E1

    oklch(70.6% 0.111 245.3)

  6. Step 500

    500

    #2A90D8

    oklch(63.1% 0.141 244.8)

  7. Step 600

    600

    #0079BE

    oklch(55.6% 0.139 244.6)

  8. Step 700

    700

    #0065A1

    oklch(49% 0.124 245.1)

  9. Step 800

    800

    #005385

    oklch(42.7% 0.107 244.8)

  10. Step 900

    900

    #04456F

    oklch(37.7% 0.093 245.1)

  11. Step 950

    950 (this color)

    #072840

    oklch(26.7% 0.058 244.8)

Export this scale for Tailwind in the Tailwind colors tool

#072840 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)#1D29410.025
Deuteranopia (no green cones)#1524400.018
Tritanopia (no blue cones)#002E310.041
Achromatopsia (no color)#2626260.058

Harmonies

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

Complementary

The opposite hue (180°).

  • #072840

    #072840

    oklch(26.7% 0.058 244.8)

  • #391F01

    #391F01

    oklch(26.8% 0.059 65.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #072840

    #072840

    oklch(26.7% 0.058 244.8)

  • #002B34

    #002B34

    oklch(26.6% 0.047 215.7)

  • #1E2342

    #1E2342

    oklch(26.8% 0.058 274.9)

Open the analogous palette in the generator

Split complementary

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

  • #072840

    #072840

    oklch(26.7% 0.058 244.8)

  • #3D1A11

    #3D1A11

    oklch(26.7% 0.058 35.5)

  • #2E2500

    #2E2500

    oklch(26.7% 0.055 95.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #072840

    #072840

    oklch(26.7% 0.058 244.8)

  • #3D1822

    #3D1822

    oklch(26.8% 0.059 4.9)

  • #1F2A06

    #1F2A06

    oklch(26.6% 0.058 124.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #072840

    #072840

    oklch(26.7% 0.058 244.8)

  • #371A31

    #371A31

    oklch(26.8% 0.058 335.3)

  • #391F01

    #391F01

    oklch(26.8% 0.059 65.4)

  • #072E19

    #072E19

    oklch(26.8% 0.058 155.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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