#022840

Closest named color: Oxford Blue (#1B263B). oklch(26.5% 0.061 242.1), rgb(2, 40, 64).

Aa

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

About this color

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

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

Values

HEX#022840
RGBrgb(2, 40, 64)
HSLhsl(203, 94%, 13%)
OKLCHoklch(26.5% 0.061 242.1)

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 #022840 15.21:1 AAA Lc -104.6 Preferred for body text
Black text on #022840 1.38:1 Fails Lc 0.0 Not readable
#022840 text on white 15.21:1 AAA Lc 101.8 Preferred for body text
#022840 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

    #DEECF7

    oklch(93.6% 0.021 241.4)

  3. Step 200

    200

    #C3DDF2

    oklch(88.5% 0.04 242.4)

  4. Step 300

    300

    #98C7EC

    oklch(80.9% 0.072 242.5)

  5. Step 400

    400

    #59A9E2

    oklch(70.8% 0.115 241.9)

  6. Step 500

    500

    #0E92DA

    oklch(63.2% 0.147 241.9)

  7. Step 600

    600

    #007AB9

    oklch(55.5% 0.132 242.1)

  8. Step 700

    700

    #00679D

    oklch(49.2% 0.117 242)

  9. Step 800

    800

    #005481

    oklch(42.7% 0.101 241.9)

  10. Step 900

    900

    #00466D

    oklch(37.8% 0.09 242.2)

  11. Step 950

    950 (this color)

    #022840

    oklch(26.5% 0.061 242.1)

Export this scale for Tailwind in the Tailwind colors tool

#022840 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)#1C29410.028
Deuteranopia (no green cones)#1423400.022
Tritanopia (no blue cones)#002E310.040
Achromatopsia (no color)#2626260.061

Harmonies

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

Complementary

The opposite hue (180°).

  • #022840

    #022840

    oklch(26.5% 0.061 242.1)

  • #3A1D00

    #3A1D00

    oklch(26.5% 0.061 61.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #022840

    #022840

    oklch(26.5% 0.061 242.1)

  • #002B32

    #002B32

    oklch(26.5% 0.046 211.3)

  • #1B2243

    #1B2243

    oklch(26.4% 0.062 272.5)

Open the analogous palette in the generator

Split complementary

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

  • #022840

    #022840

    oklch(26.5% 0.061 242.1)

  • #3E1811

    #3E1811

    oklch(26.5% 0.062 32.1)

  • #2F2400

    #2F2400

    oklch(26.6% 0.054 91.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #022840

    #022840

    oklch(26.5% 0.061 242.1)

  • #3C1723

    #3C1723

    oklch(26.5% 0.06 1.6)

  • #202A03

    #202A03

    oklch(26.6% 0.061 123)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #022840

    #022840

    oklch(26.5% 0.061 242.1)

  • #361932

    #361932

    oklch(26.5% 0.06 332.4)

  • #3A1D00

    #3A1D00

    oklch(26.5% 0.061 61.4)

  • #082D16

    #082D16

    oklch(26.4% 0.06 152.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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