#072838

Closest named color: Oxford Blue (#1B263B). oklch(26.2% 0.048 234), rgb(7, 40, 56).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (26%)
Chromamuted (0.048)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.36:1
White text15.33:1

Values

HEX#072838
RGBrgb(7, 40, 56)
HSLhsl(200, 78%, 12%)
OKLCHoklch(26.2% 0.048 234)

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 #072838 15.33:1 AAA Lc -104.8 Preferred for body text
Black text on #072838 1.36:1 Fails Lc 0.0 Not readable
#072838 text on white 15.33:1 AAA Lc 102.1 Preferred for body text
#072838 text on black 1.36: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

    #E0ECF3

    oklch(93.6% 0.016 233)

  3. Step 200

    200

    #C6DDEB

    oklch(88.5% 0.031 234.5)

  4. Step 300

    300

    #9DC7E0

    oklch(80.8% 0.057 234.5)

  5. Step 400

    400

    #64AAD0

    oklch(70.7% 0.09 233.8)

  6. Step 500

    500

    #2F94C4

    oklch(63.1% 0.115 233.9)

  7. Step 600

    600

    #007DAD

    oklch(55.6% 0.117 234.3)

  8. Step 700

    700

    #006992

    oklch(49.1% 0.103 234.3)

  9. Step 800

    800

    #005678

    oklch(42.7% 0.089 233.9)

  10. Step 900

    900

    #074763

    oklch(37.6% 0.075 234.3)

  11. Step 950

    950 (this color)

    #072838

    oklch(26.2% 0.048 234)

Export this scale for Tailwind in the Tailwind colors tool

#072838 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)#2028390.030
Deuteranopia (no green cones)#1A23380.025
Tritanopia (no blue cones)#002C2D0.030
Achromatopsia (no color)#2525250.048

Harmonies

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

Complementary

The opposite hue (180°).

  • #072838

    #072838

    oklch(26.2% 0.048 234)

  • #361E0C

    #361E0C

    oklch(26.3% 0.047 55.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #072838

    #072838

    oklch(26.2% 0.048 234)

  • #002B2E

    #002B2E

    oklch(26.3% 0.045 202)

  • #19243C

    #19243C

    oklch(26.3% 0.048 264.6)

Open the analogous palette in the generator

Split complementary

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

  • #072838

    #072838

    oklch(26.2% 0.048 234)

  • #381B19

    #381B19

    oklch(26.2% 0.046 24.9)

  • #2F2205

    #2F2205

    oklch(26.1% 0.047 84.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #072838

    #072838

    oklch(26.2% 0.048 234)

  • #361A26

    #361A26

    oklch(26.1% 0.048 353.8)

  • #242709

    #242709

    oklch(26.2% 0.047 114.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #072838

    #072838

    oklch(26.2% 0.048 234)

  • #301C32

    #301C32

    oklch(26.2% 0.049 323.6)

  • #361E0C

    #361E0C

    oklch(26.3% 0.047 55.7)

  • #152A15

    #152A15

    oklch(26.1% 0.047 144.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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